diff options
author | Nick Hadaway <raker@gentoo.org> | 2003-07-17 21:12:09 +0000 |
---|---|---|
committer | Nick Hadaway <raker@gentoo.org> | 2003-07-17 21:12:09 +0000 |
commit | b0f5c1d9df117a449547c2236b43d2d27b7194fc (patch) | |
tree | d867d22a726fb51da9475d23cb5f1270f1b4a5dd /media-sound/mpg321 | |
parent | more cleanups; example file addition (diff) | |
download | gentoo-2-b0f5c1d9df117a449547c2236b43d2d27b7194fc.tar.gz gentoo-2-b0f5c1d9df117a449547c2236b43d2d27b7194fc.tar.bz2 gentoo-2-b0f5c1d9df117a449547c2236b43d2d27b7194fc.zip |
Now supports media-libs/{libmad,libid3tag}
Diffstat (limited to 'media-sound/mpg321')
-rw-r--r-- | media-sound/mpg321/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/mpg321/Manifest | 6 | ||||
-rw-r--r-- | media-sound/mpg321/files/digest-mpg321-0.2.10-r2 | 1 | ||||
-rw-r--r-- | media-sound/mpg321/mpg321-0.2.10-r2.ebuild | 53 |
4 files changed, 64 insertions, 3 deletions
diff --git a/media-sound/mpg321/ChangeLog b/media-sound/mpg321/ChangeLog index 773d57ca69f3..96ed0737e2af 100644 --- a/media-sound/mpg321/ChangeLog +++ b/media-sound/mpg321/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/mpg321 # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg321/ChangeLog,v 1.6 2003/02/12 07:32:00 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg321/ChangeLog,v 1.7 2003/07/17 21:12:09 raker Exp $ + +*mpg321-0.2.10-r2 (17 Jul 2003) + + 17 Jul 2003; Nick Hadaway <raker@gentoo.org> mpg321-0.2.10-r2.ebuild: + Changed mad depend to media-libs/{libmad,libid3tag} *mpg321-0.2.10-r1 (27 May 2002) diff --git a/media-sound/mpg321/Manifest b/media-sound/mpg321/Manifest index 4ee428d77008..fa00d7b91275 100644 --- a/media-sound/mpg321/Manifest +++ b/media-sound/mpg321/Manifest @@ -1,4 +1,6 @@ -MD5 edb9281fcf41a4a1307ae2b11c7f780c ChangeLog 1367 +MD5 1a63b749c914413823046fad5da95571 mpg321-0.2.10-r2.ebuild 1160 +MD5 2e166a1273b91d0ac708f327759b7167 ChangeLog 1527 MD5 348074827eed76c800f9e816adca20fb mpg321-0.2.10-r1.ebuild 1125 -MD5 7f4e867ab9a86c4f3618228fdccc48f4 files/digest-mpg321-0.2.10-r1 65 MD5 f69e111b891dc01d56fb394621897e0d files/mpg321-0.1.5-ao.diff 7909 +MD5 7f4e867ab9a86c4f3618228fdccc48f4 files/digest-mpg321-0.2.10-r1 65 +MD5 7f4e867ab9a86c4f3618228fdccc48f4 files/digest-mpg321-0.2.10-r2 65 diff --git a/media-sound/mpg321/files/digest-mpg321-0.2.10-r2 b/media-sound/mpg321/files/digest-mpg321-0.2.10-r2 new file mode 100644 index 000000000000..7332a87bdc5f --- /dev/null +++ b/media-sound/mpg321/files/digest-mpg321-0.2.10-r2 @@ -0,0 +1 @@ +MD5 bb403b35c2d25655d55f0f616b8f47bb mpg321-0.2.10.tar.gz 113449 diff --git a/media-sound/mpg321/mpg321-0.2.10-r2.ebuild b/media-sound/mpg321/mpg321-0.2.10-r2.ebuild new file mode 100644 index 000000000000..5596dce2aba7 --- /dev/null +++ b/media-sound/mpg321/mpg321-0.2.10-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg321/mpg321-0.2.10-r2.ebuild,v 1.1 2003/07/17 21:12:09 raker Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Free MP3 player, drop-in replacement for mpg123" +SRC_URI="http://unc.dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://sourceforge.net/projects/mpg321/" + +DEPEND=">=media-libs/libmad-0.15.0b + >=media-libs/libid3tag-0.15.0b + >=media-libs/libao-0.8.0" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc" + +MPG123="false" + +pkg_setup() { + + # test if mpg123 owns the /usr/bin/mpg123 file. If it does, then do not + # create a symlink. If it is already a symlink or does not exist, then + # we create it + if [ -f /usr/bin/mpg123 ] + then + if [ -L /usr/bin/mpg123 ] + then + MPEG123="false" + else + MPEG123="true" + fi + else + MPEG123="false" + fi +} + +src_compile() { + local myconf + if [ ${MPEG123} = "true" ] + then + myconf="--disable-mpg123-symlink" + else + myconf="--enable-mpg123-symlink" + fi + einfo ${myconf} + econf ${myconf} || die + emake || die +} + +src_install () { + einstall || die +} |