diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2011-02-27 15:20:37 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2011-02-27 15:20:37 +0000 |
commit | 48555b646a9db8f427bd8a04492b17c790c6bf54 (patch) | |
tree | 55a4271b83a8d0b992a0bf3d5f70c19b504218d7 /media-sound | |
parent | Pin libunique dependency to slot 1. (diff) | |
download | gentoo-2-48555b646a9db8f427bd8a04492b17c790c6bf54.tar.gz gentoo-2-48555b646a9db8f427bd8a04492b17c790c6bf54.tar.bz2 gentoo-2-48555b646a9db8f427bd8a04492b17c790c6bf54.zip |
version bump, fixes bug 356667 by radhermit
(Portage version: 2.1.9.40/cvs/Linux i686)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/cmus/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/cmus/cmus-2.3.4.ebuild | 85 |
2 files changed, 92 insertions, 2 deletions
diff --git a/media-sound/cmus/ChangeLog b/media-sound/cmus/ChangeLog index b814a90d6b17..d934d5e083e6 100644 --- a/media-sound/cmus/ChangeLog +++ b/media-sound/cmus/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/cmus -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/cmus/ChangeLog,v 1.39 2010/10/12 10:33:08 fauli Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/cmus/ChangeLog,v 1.40 2011/02/27 15:20:37 fauli Exp $ + +*cmus-2.3.4 (27 Feb 2011) + + 27 Feb 2011; Christian Faulhammer <fauli@gentoo.org> +cmus-2.3.4.ebuild: + version bump, fixes bug 356667 by radhermit 12 Oct 2010; Christian Faulhammer <fauli@gentoo.org> metadata.xml: remove zsh-completion USE flag description as it is the same as the global diff --git a/media-sound/cmus/cmus-2.3.4.ebuild b/media-sound/cmus/cmus-2.3.4.ebuild new file mode 100644 index 000000000000..6f0c207915eb --- /dev/null +++ b/media-sound/cmus/cmus-2.3.4.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/cmus/cmus-2.3.4.ebuild,v 1.1 2011/02/27 15:20:37 fauli Exp $ + +EAPI=2 +inherit 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_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 +} |