summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2006-11-08 08:34:32 +0000
committerChristian Faulhammer <opfer@gentoo.org>2006-11-08 08:34:32 +0000
commit352e0861dc3deda049d998d8ec07b2f314d15626 (patch)
tree9ff203ad763440758ae96f191ae7c6607fb4af4e /media-sound
parentadd local USE flags for media-sound/cmus (diff)
downloadgentoo-2-352e0861dc3deda049d998d8ec07b2f314d15626.tar.gz
gentoo-2-352e0861dc3deda049d998d8ec07b2f314d15626.tar.bz2
gentoo-2-352e0861dc3deda049d998d8ec07b2f314d15626.zip
initial import. A nice console player with support for many formats via plugins. See bug #88025, thanks to Timo Hirvonen <tihirvon@ee.oulu.fi> and Nikolai Weibull <now@bitwi.se>.
(Portage version: 2.1.1-r1)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/cmus/ChangeLog12
-rw-r--r--media-sound/cmus/Manifest16
-rw-r--r--media-sound/cmus/cmus-2.0.4.ebuild73
-rw-r--r--media-sound/cmus/files/digest-cmus-2.0.43
-rw-r--r--media-sound/cmus/metadata.xml9
5 files changed, 113 insertions, 0 deletions
diff --git a/media-sound/cmus/ChangeLog b/media-sound/cmus/ChangeLog
new file mode 100644
index 000000000000..c3bc72759f70
--- /dev/null
+++ b/media-sound/cmus/ChangeLog
@@ -0,0 +1,12 @@
+# 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.1 2006/11/08 08:34:32 opfer Exp $
+
+*cmus-2.0.4 (08 Nov 2006)
+
+ 08 Nov 2006; Christian Faulhammer <opfer@gentoo.org> +metadata.xml,
+ +cmus-2.0.4.ebuild:
+ initial import. A nice console player with support for many formats via
+ plugins. See bug #88025, thanks to Timo Hirvonen <tihirvon@ee.oulu.fi> and
+ Nikolai Weibull <now@bitwi.se>.
+
diff --git a/media-sound/cmus/Manifest b/media-sound/cmus/Manifest
new file mode 100644
index 000000000000..27cc462b956a
--- /dev/null
+++ b/media-sound/cmus/Manifest
@@ -0,0 +1,16 @@
+DIST cmus-2.0.4.tar.bz2 138595 RMD160 4198d9dbe33abd8fc0008b92a8238035a976254c SHA1 efc1e2c2c19485bed67add4234e93001e741dcd1 SHA256 c3eafe6bbce9c8c57ebc54f4fc0709a5e4c797a7a2289ef394c19f9fbbd22bfa
+EBUILD cmus-2.0.4.ebuild 1920 RMD160 9d16a56959f5de9c048b14fdbe8855a3412f2073 SHA1 cca445284ba8cbca1e885c494c55fe041ad27320 SHA256 5e9fcf1fcdbee1a7609c0f473c140b8624508b5a5b620833c48b15fa91b17a7b
+MD5 891585c644d6755b723f3d14d202f662 cmus-2.0.4.ebuild 1920
+RMD160 9d16a56959f5de9c048b14fdbe8855a3412f2073 cmus-2.0.4.ebuild 1920
+SHA256 5e9fcf1fcdbee1a7609c0f473c140b8624508b5a5b620833c48b15fa91b17a7b cmus-2.0.4.ebuild 1920
+MISC ChangeLog 422 RMD160 05c32ede1bd285579aa1a566552d9a3d68649cda SHA1 beafd3279b850007c07977f53442dc61335b9a5e SHA256 0b0241c9ca4872a23d5e30f9dfd23907194c36c11bdfcd04591491c79b89006c
+MD5 14402859dc0e35b7089bea1e86e018d1 ChangeLog 422
+RMD160 05c32ede1bd285579aa1a566552d9a3d68649cda ChangeLog 422
+SHA256 0b0241c9ca4872a23d5e30f9dfd23907194c36c11bdfcd04591491c79b89006c ChangeLog 422
+MISC metadata.xml 266 RMD160 ec474d4b2edebeccd738705e8717ecdb4aaca347 SHA1 2eb26e89e18770b3cc373ab290938a2aea6bce97 SHA256 2d1e8e22e242d00cd34f662e4d04d2e7d488951bd1e84fe3132d2b1ebd1b71d2
+MD5 f2e99271e391d686f969c3d65ac24562 metadata.xml 266
+RMD160 ec474d4b2edebeccd738705e8717ecdb4aaca347 metadata.xml 266
+SHA256 2d1e8e22e242d00cd34f662e4d04d2e7d488951bd1e84fe3132d2b1ebd1b71d2 metadata.xml 266
+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
diff --git a/media-sound/cmus/cmus-2.0.4.ebuild b/media-sound/cmus/cmus-2.0.4.ebuild
new file mode 100644
index 000000000000..04bb9766fc5c
--- /dev/null
+++ b/media-sound/cmus/cmus-2.0.4.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cmus/cmus-2.0.4.ebuild,v 1.1 2006/11/08 08:34:32 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 modplug mp3 musepack oss vorbis"
+
+DEPEND="sys-libs/ncurses
+ flac? ( >=media-libs/flac-1.1.2 )
+ mad? ( >=media-libs/libmad-0.14 )
+ modplug? ( >=media-libs/libmodplug-0.7 )
+ mp3? ( >=media-libs/libmad-0.14 )
+ musepack? ( >=media-libs/libmpcdec-1.2 )
+ vorbis? ( >=media-libs/libvorbis-1.0 )
+ alsa? ( >=media-libs/alsa-lib-1.0.11 )
+ ao? ( media-libs/libao )
+ arts? ( kde-base/arts )"
+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"
+ my_config ao CONFIG_AO
+ my_config alsa CONFIG_ALSA
+ my_config arts CONFIG_ARTS
+ my_config flac CONFIG_FLAC
+ my_config oss CONFIG_OSS
+ my_config mp3 CONFIG_MAD
+ my_config mad CONFIG_MAD
+ my_config modplug CONFIG_MODPLUG
+ my_config musepack CONFIG_MPC
+ 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.0.4 b/media-sound/cmus/files/digest-cmus-2.0.4
new file mode 100644
index 000000000000..e4792afe7768
--- /dev/null
+++ b/media-sound/cmus/files/digest-cmus-2.0.4
@@ -0,0 +1,3 @@
+MD5 14e965f672ae0e69042399efeb1bea07 cmus-2.0.4.tar.bz2 138595
+RMD160 4198d9dbe33abd8fc0008b92a8238035a976254c cmus-2.0.4.tar.bz2 138595
+SHA256 c3eafe6bbce9c8c57ebc54f4fc0709a5e4c797a7a2289ef394c19f9fbbd22bfa cmus-2.0.4.tar.bz2 138595
diff --git a/media-sound/cmus/metadata.xml b/media-sound/cmus/metadata.xml
new file mode 100644
index 000000000000..ce2fe7f80844
--- /dev/null
+++ b/media-sound/cmus/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>opfer@gentoo.org</email>
+ <name>Christian Faulhammer</name>
+ </maintainer>
+ <herd>no-herd</herd>
+</pkgmetadata> \ No newline at end of file