summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-05 22:33:15 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-05 22:33:15 +0000
commit9142f31ca5647c087c726405bea8dabde0d9914b (patch)
tree487d91d46adce8b423f1de68e438e96bebf22076 /media-sound/cmus
parentPort 2.6 ebuild to SUPPORT_PYTHON_ABIS. Use EAPI 2. Add missing setuptools (diff)
downloadhistorical-9142f31ca5647c087c726405bea8dabde0d9914b.tar.gz
historical-9142f31ca5647c087c726405bea8dabde0d9914b.tar.bz2
historical-9142f31ca5647c087c726405bea8dabde0d9914b.zip
Version bump wrt #307809, thanks to Luca Postregna for reporting.
Package-Manager: portage-2.2_rc63/cvs/Linux x86_64
Diffstat (limited to 'media-sound/cmus')
-rw-r--r--media-sound/cmus/ChangeLog9
-rw-r--r--media-sound/cmus/Manifest4
-rw-r--r--media-sound/cmus/cmus-2.3.0.ebuild89
3 files changed, 99 insertions, 3 deletions
diff --git a/media-sound/cmus/ChangeLog b/media-sound/cmus/ChangeLog
index 2c3e82c3481e..82b130a7eca1 100644
--- a/media-sound/cmus/ChangeLog
+++ b/media-sound/cmus/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/cmus
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/cmus/ChangeLog,v 1.31 2009/12/04 10:32:54 ssuominen Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cmus/ChangeLog,v 1.32 2010/03/05 22:33:15 ssuominen Exp $
+
+*cmus-2.3.0 (05 Mar 2010)
+
+ 05 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> +cmus-2.3.0.ebuild:
+ Version bump wrt #307809, thanks to Luca Postregna for reporting.
04 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> cmus-2.2.0-r2.ebuild,
-files/cmus-2.2.0-libmpcdecsv7.patch:
diff --git a/media-sound/cmus/Manifest b/media-sound/cmus/Manifest
index 925e07241b26..aaefa9940d17 100644
--- a/media-sound/cmus/Manifest
+++ b/media-sound/cmus/Manifest
@@ -1,6 +1,8 @@
AUX cmus-2.2.0-new-ffmpeg.patch 395 RMD160 dc96f1b0f7cd44d16ca8cfda6f5ec9ceb8f62a8b SHA1 d4cb8d41e374cdd06c57172567afac9c13436a55 SHA256 613ff226ed5eaf74ad0314cb7032bc64221b7588bd16d831fbcd709a701a8ca5
AUX cmus-2.2.0-symlink_attack.patch 458 RMD160 996b40375989082ea1fa49dcb11ef0f5b0f1eab8 SHA1 17146ed5b903f2aa31dd463c662695a5b9f9a76a SHA256 3cd685ccf3f9dd4005fa611aa29c950d11a93af37ba7df3d26beb4cf46fe5f75
DIST cmus-2.2.0.tar.bz2 155448 RMD160 1287666c16332ad34222461e29d8355ef607e7b5 SHA1 a6472633ac55660eb3aec5d2ae0296da86903bb2 SHA256 f18ffafc7161a383ddc79b34cc16a5a38f675454c49799dac5d172bf22d12005
+DIST cmus-v2.3.0.tar.bz2 166633 RMD160 08020ac9f48f341d4f76df5afa646721f92c2516 SHA1 e4685336501efe16b41410bcaf33eab9412aa45b SHA256 5decc322cd44f86c06473c4c71423dec03156df9bdd8241ef7d484adf3ff64ee
EBUILD cmus-2.2.0-r2.ebuild 2514 RMD160 83b80f786bd084ff26591acc5832a7e8368dd016 SHA1 54d4abdb51e883bf5ff1fb7d09e5763cc15d9e56 SHA256 96b22bae0f58cc7c05d80366ab76c7c5aaf37af7ee42e4c19afc40d14058a08f
-MISC ChangeLog 5052 RMD160 4ba1742b17c065a8ac38a804a135ab244bedc9d7 SHA1 2434ce419364bcbbf5fdc5a8197e236c7088df13 SHA256 8fcea432cec212c935dea425a83e4943c05a0e8c9bc61f9749282dd7758d444e
+EBUILD cmus-2.3.0.ebuild 2443 RMD160 46b939aea1098a74cea99d2b504c505664f52ca4 SHA1 37d3505031da2e958b91349c54c305ee321bb43d SHA256 c3872fb506fcf3045cf6a3d803368b54b5cafc50312f5673e96ae6a1307581c3
+MISC ChangeLog 5222 RMD160 9ed08792b2ff0582b5e2e885dbbde2eca63d851d SHA1 cffea0a217bfd486261e5d29e695d039cefca45f SHA256 a9debf4ddf9a2e968dc02de4a9587afdbc6e666cab6b1ebfc14e6f8f505a461a
MISC metadata.xml 393 RMD160 c267194299466d8685e762e14ad84e41a48accc6 SHA1 3b0b7bdc883c25319b866d768b80027032ec2cdd SHA256 c23322916957a25e9d0e817556ceca1aab4d87cfb7f972e264d391e46d9c504e
diff --git a/media-sound/cmus/cmus-2.3.0.ebuild b/media-sound/cmus/cmus-2.3.0.ebuild
new file mode 100644
index 000000000000..96723996b312
--- /dev/null
+++ b/media-sound/cmus/cmus-2.3.0.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cmus/cmus-2.3.0.ebuild,v 1.1 2010/03/05 22:33:15 ssuominen Exp $
+
+EAPI=2
+inherit eutils multilib
+
+MY_P=${PN}-v${PV}
+
+DESCRIPTION="A ncurses based music player with plugin support for many formats"
+HOMEPAGE="http://cmus.sourceforge.net/"
+SRC_URI="mirror://sourceforge/cmus/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="aac alsa ao debug examples flac mad mikmod modplug mp4 musepack oss
+pidgin pulseaudio unicode vorbis wavpack wma zsh-completion"
+
+DEPEND="sys-libs/ncurses[unicode?]
+ aac? ( media-libs/faad2 )
+ alsa? ( >=media-libs/alsa-lib-1.0.11 )
+ ao? ( media-libs/libao )
+ flac? ( media-libs/flac )
+ mad? ( >=media-libs/libmad-0.14 )
+ mikmod? ( media-libs/libmikmod )
+ modplug? ( >=media-libs/libmodplug-0.7 )
+ mp4? ( >=media-libs/libmp4v2-1.9 )
+ musepack? ( >=media-sound/musepack-tools-444 )
+ pulseaudio? ( media-sound/pulseaudio )
+ vorbis? ( >=media-libs/libvorbis-1.0 )
+ wavpack? ( media-sound/wavpack )
+ wma? ( >=media-video/ffmpeg-0.4.9_p20080326 )"
+RDEPEND="${DEPEND}
+ zsh-completion? ( app-shells/zsh )
+ pidgin? ( net-im/pidgin
+ dev-python/dbus-python )"
+
+S=${WORKDIR}/${MY_P}
+
+my_config() {
+ local value
+ use ${1} && value=y || value=n
+ myconf="${myconf} ${2}=${value}"
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.2.0-symlink_attack.patch
+}
+
+src_configure() {
+ local debuglevel=1 myconf="CONFIG_ARTS=n CONFIG_SUN=n"
+
+ use debug && debuglevel=2
+
+ my_config flac CONFIG_FLAC
+ my_config mad CONFIG_MAD
+ my_config modplug CONFIG_MODPLUG
+ my_config mikmod CONFIG_MIKMOD
+ my_config musepack CONFIG_MPC
+ my_config vorbis CONFIG_VORBIS
+ my_config wavpack CONFIG_WAVPACK
+ my_config mp4 CONFIG_MP4
+ my_config aac CONFIG_AAC
+ my_config wma CONFIG_FFMPEG
+ my_config pulseaudio CONFIG_PULSE
+ my_config alsa CONFIG_ALSA
+ my_config ao CONFIG_AO
+ my_config oss CONFIG_OSS
+
+ ./configure prefix=/usr ${myconf} exampledir=/usr/share/doc/${PF}/examples \
+ libdir=/usr/$(get_libdir) DEBUG=${debuglevel} || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS README TODO
+
+ use examples || rm -rf "${D}"/usr/share/doc/${PF}/examples
+
+ if use zsh-completion; then
+ insinto /usr/share/zsh/site-functions
+ doins contrib/_cmus || die
+ fi
+
+ if use pidgin; then
+ newbin contrib/cmus-updatepidgin.py cmus-updatepidgin || die
+ fi
+}