From a227b7e0fa0e0fbedaaf95ccae9a6772200b3b12 Mon Sep 17 00:00:00 2001 From: Christian Faulhammer Date: Wed, 3 Jan 2007 10:37:37 +0000 Subject: [PATCH] version bump, added mikmod support via mikmod USE flac; support for flac 1.1.3 Package-Manager: portage-2.1.1-r2 --- media-sound/cmus/ChangeLog | 9 ++- media-sound/cmus/Manifest | 22 ++++--- media-sound/cmus/cmus-2.1.0.ebuild | 78 ++++++++++++++++++++++++ media-sound/cmus/files/digest-cmus-2.1.0 | 3 + 4 files changed, 103 insertions(+), 9 deletions(-) create mode 100644 media-sound/cmus/cmus-2.1.0.ebuild create mode 100644 media-sound/cmus/files/digest-cmus-2.1.0 diff --git a/media-sound/cmus/ChangeLog b/media-sound/cmus/ChangeLog index 55d80f95168c..cbd1cdb93555 100644 --- a/media-sound/cmus/ChangeLog +++ b/media-sound/cmus/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/cmus -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/cmus/ChangeLog,v 1.2 2006/12/11 07:28:02 opfer Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/cmus/ChangeLog,v 1.3 2007/01/03 10:37:37 opfer Exp $ + +*cmus-2.1.0 (03 Jan 2007) + + 03 Jan 2007; Christian Faulhammer +cmus-2.1.0.ebuild: + version bump, added mikmod support via mikmod USE flac; support for flac 1.1.3 11 Dec 2006; Christian Faulhammer cmus-2.0.4.ebuild: corrected flac dependency diff --git a/media-sound/cmus/Manifest b/media-sound/cmus/Manifest index 14dd20e624a6..20e821bbbd6c 100644 --- a/media-sound/cmus/Manifest +++ b/media-sound/cmus/Manifest @@ -2,14 +2,19 @@ Hash: SHA1 DIST cmus-2.0.4.tar.bz2 138595 RMD160 4198d9dbe33abd8fc0008b92a8238035a976254c SHA1 efc1e2c2c19485bed67add4234e93001e741dcd1 SHA256 c3eafe6bbce9c8c57ebc54f4fc0709a5e4c797a7a2289ef394c19f9fbbd22bfa +DIST cmus-2.1.0.tar.bz2 146956 RMD160 f359c8929dd616855aedbe2c4d1d2e252a8946ca SHA1 961d4bd1446c9499aeaac5a280761e5d98ca514f SHA256 fe47e258918526b9e1b2cd7081d73654af8c326f0f3b0fabe450b805b78423c0 EBUILD cmus-2.0.4.ebuild 2014 RMD160 18bce8058f8bd714b13a888caca7b368bcc2741d SHA1 5990bbd6af1250c7983f62ca83410bcb786b2090 SHA256 4dd843011db1b09f495f8a72223f73324a95b17d464f0e6ebc24893a62208839 MD5 5b300d90211d05a045db2e8f4fd62db9 cmus-2.0.4.ebuild 2014 RMD160 18bce8058f8bd714b13a888caca7b368bcc2741d cmus-2.0.4.ebuild 2014 SHA256 4dd843011db1b09f495f8a72223f73324a95b17d464f0e6ebc24893a62208839 cmus-2.0.4.ebuild 2014 -MISC ChangeLog 612 RMD160 b3fc96e7f13368537025d6031144d26b19ef1105 SHA1 3b37a5210fc05f5b58367daea7f1c016978dcc5d SHA256 04bf21d33dc229e25205568218e609f5d56b4e6a362dbe08bcfd2d5988da58de -MD5 01846ae89ddf9a6521a30453feb25cb1 ChangeLog 612 -RMD160 b3fc96e7f13368537025d6031144d26b19ef1105 ChangeLog 612 -SHA256 04bf21d33dc229e25205568218e609f5d56b4e6a362dbe08bcfd2d5988da58de ChangeLog 612 +EBUILD cmus-2.1.0.ebuild 2238 RMD160 488c826c7f0d981b00b87870ef6081f1bac9d903 SHA1 58cdb063085a613ecf2cee330d9e9d9a8e9a05b7 SHA256 42beae82d5501c90239c78d7e02a7ec828bc6ebd31b6a884f6fb1a889de155a4 +MD5 bf3067ad724426a12d8ebebc55e778fe cmus-2.1.0.ebuild 2238 +RMD160 488c826c7f0d981b00b87870ef6081f1bac9d903 cmus-2.1.0.ebuild 2238 +SHA256 42beae82d5501c90239c78d7e02a7ec828bc6ebd31b6a884f6fb1a889de155a4 cmus-2.1.0.ebuild 2238 +MISC ChangeLog 796 RMD160 765025ce9e69ba1bf9fbbd0fb6ee291e9b15cdd8 SHA1 9bbad8075757499441453a9b79207a9df6a874a0 SHA256 988cbfe7bbadbb3df8a17f791ae2d11203cd7ddad7ee2aebc1c9eb46fcb1629c +MD5 6e23a830017fdf10ab29adbe9150c50a ChangeLog 796 +RMD160 765025ce9e69ba1bf9fbbd0fb6ee291e9b15cdd8 ChangeLog 796 +SHA256 988cbfe7bbadbb3df8a17f791ae2d11203cd7ddad7ee2aebc1c9eb46fcb1629c ChangeLog 796 MISC metadata.xml 266 RMD160 ec474d4b2edebeccd738705e8717ecdb4aaca347 SHA1 2eb26e89e18770b3cc373ab290938a2aea6bce97 SHA256 2d1e8e22e242d00cd34f662e4d04d2e7d488951bd1e84fe3132d2b1ebd1b71d2 MD5 f2e99271e391d686f969c3d65ac24562 metadata.xml 266 RMD160 ec474d4b2edebeccd738705e8717ecdb4aaca347 metadata.xml 266 @@ -17,10 +22,13 @@ SHA256 2d1e8e22e242d00cd34f662e4d04d2e7d488951bd1e84fe3132d2b1ebd1b71d2 metadata MD5 f14653f78cbd578dc8ccd85bfb639803 files/digest-cmus-2.0.4 235 RMD160 a9b2b012f962c09b411274ae15a9ee42c1d36a1a files/digest-cmus-2.0.4 235 SHA256 7b524e663a19d0cc1df239af55b064f1c15aced0e15c838ffc94d1bb66e87612 files/digest-cmus-2.0.4 235 +MD5 09c6a71861ec01bf051528e96b76651b files/digest-cmus-2.1.0 235 +RMD160 a55cde314c80603ebb98468fbd26542662ba5203 files/digest-cmus-2.1.0 235 +SHA256 c40feb869833f7706be4e6c528e121c6b18fddeb0d275c0ad9695d8714f8a3a2 files/digest-cmus-2.1.0 235 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) -iD8DBQFFfQiNNQqtfCuFneMRAglFAJ0UMnfuybKaF8jFVEU+T8VUCFkp9ACcCU9q -6kVncsncHY/p4AplCOq5HbA= -=z42G +iD8DBQFFm4d6NQqtfCuFneMRAvZcAJ9cVehFAKmp9qyQLKqddank1r0ATQCdGcrb ++pefs6LqLsl3TcY+rkUIf5E= +=OdfL -----END PGP SIGNATURE----- diff --git a/media-sound/cmus/cmus-2.1.0.ebuild b/media-sound/cmus/cmus-2.1.0.ebuild new file mode 100644 index 000000000000..db068801f9e1 --- /dev/null +++ b/media-sound/cmus/cmus-2.1.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/cmus/cmus-2.1.0.ebuild,v 1.1 2007/01/03 10:37:37 opfer Exp $ + +inherit eutils + +DESCRIPTION="A ncurses based music player with plugin support for many formats" +HOMEPAGE="http://onion.dynserv.net/~timo/cmus.html" +SRC_URI="http://onion.dynserv.net/~timo/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="alsa ao arts debug flac mad mikmod modplug mp3 musepack oss vorbis" + +DEPEND="sys-libs/ncurses + alsa? ( >=media-libs/alsa-lib-1.0.11 ) + ao? ( media-libs/libao ) + arts? ( kde-base/arts ) + flac? ( media-libs/flac ) + mad? ( >=media-libs/libmad-0.14 ) + mikmod? ( media-libs/libmikmod ) + modplug? ( >=media-libs/libmodplug-0.7 ) + mp3? ( >=media-libs/libmad-0.14 ) + musepack? ( >=media-libs/libmpcdec-1.2 ) + vorbis? ( >=media-libs/libvorbis-1.0 )" +# aac? ( >=media-libs/faad-2.5 ) # after licensing issues have been settled +# mp4? ( media-libs/libmp4v2 +# >=media-libs/faad-2.5 ) +RDEPEND="${DEPEND}" + +pkg_setup() { + if ! built_with_use sys-libs/ncurses unicode + then + ewarn + ewarn "\t sys-libs/ncurses compiled without the unicode USE flag." + ewarn "\t Please recompile sys-libs/ncurses with USE=unicode and emerge" + ewarn "\t cmus again if you experience any problems with UTF-8 or" + ewarn "\t wide characters." + ewarn + epause + fi +} + +my_config() { + local value + use ${1} && value=y || value=n + myconf="${myconf} ${2}=${value}" +} + +src_compile() { + local debuglevel myconf + + use debug && debuglevel=2 || debuglevel=1 + + myconf="CONFIG_SUN=n CONFIG_AAC=n CONFIG_MP4=n" + my_config ao CONFIG_AO + my_config alsa CONFIG_ALSA + my_config arts CONFIG_ARTS + my_config flac CONFIG_FLAC + my_config mad CONFIG_MAD + my_config mikmod CONFIG_MIKMOD + my_config mp3 CONFIG_MAD + my_config modplug CONFIG_MODPLUG + my_config musepack CONFIG_MPC + my_config oss CONFIG_OSS + my_config vorbis CONFIG_VORBIS + + # econf doesn't work, because configure wants "prefix" without dashes + ./configure prefix=/usr ${myconf} DEBUG=$debuglevel || die "configure failed" + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS README +} diff --git a/media-sound/cmus/files/digest-cmus-2.1.0 b/media-sound/cmus/files/digest-cmus-2.1.0 new file mode 100644 index 000000000000..98c2b516ef2b --- /dev/null +++ b/media-sound/cmus/files/digest-cmus-2.1.0 @@ -0,0 +1,3 @@ +MD5 11ca53a05442ee073b6e790e957b1433 cmus-2.1.0.tar.bz2 146956 +RMD160 f359c8929dd616855aedbe2c4d1d2e252a8946ca cmus-2.1.0.tar.bz2 146956 +SHA256 fe47e258918526b9e1b2cd7081d73654af8c326f0f3b0fabe450b805b78423c0 cmus-2.1.0.tar.bz2 146956 -- 2.26.2