diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-01-05 22:34:26 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-01-05 22:34:26 +0000 |
commit | a8dadb81c1654b81c588abe5f15491f8c85a088a (patch) | |
tree | 6f923f5c99bd63ed7d95b90e713befe7496c7fbc /media-sound/mp3info | |
parent | Version bump. Bug #158505. Thanks Ali Polatel (diff) | |
download | gentoo-2-a8dadb81c1654b81c588abe5f15491f8c85a088a.tar.gz gentoo-2-a8dadb81c1654b81c588abe5f15491f8c85a088a.tar.bz2 gentoo-2-a8dadb81c1654b81c588abe5f15491f8c85a088a.zip |
Version bump, bug #159817
(Portage version: 2.1.2_rc4-r6)
Diffstat (limited to 'media-sound/mp3info')
-rw-r--r-- | media-sound/mp3info/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/mp3info/files/digest-mp3info-0.8.5a | 3 | ||||
-rw-r--r-- | media-sound/mp3info/files/mp3info-0.8.5a-ldflags.patch | 15 | ||||
-rw-r--r-- | media-sound/mp3info/mp3info-0.8.5a.ebuild | 40 |
4 files changed, 65 insertions, 1 deletions
diff --git a/media-sound/mp3info/ChangeLog b/media-sound/mp3info/ChangeLog index 3d1de285d971..92ecacea6072 100644 --- a/media-sound/mp3info/ChangeLog +++ b/media-sound/mp3info/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/mp3info # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3info/ChangeLog,v 1.17 2007/01/04 16:25:48 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3info/ChangeLog,v 1.18 2007/01/05 22:34:26 aballier Exp $ + +*mp3info-0.8.5a (05 Jan 2007) + + 05 Jan 2007; Alexis Ballier <aballier@gentoo.org> + +files/mp3info-0.8.5a-ldflags.patch, +mp3info-0.8.5a.ebuild: + Version bump, bug #159817 04 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> mp3info-0.8.4-r2.ebuild: diff --git a/media-sound/mp3info/files/digest-mp3info-0.8.5a b/media-sound/mp3info/files/digest-mp3info-0.8.5a new file mode 100644 index 000000000000..a9690c7fa726 --- /dev/null +++ b/media-sound/mp3info/files/digest-mp3info-0.8.5a @@ -0,0 +1,3 @@ +MD5 cb7b619a10a40aaac2113b87bb2b2ea2 mp3info-0.8.5a.tgz 127482 +RMD160 898b566d9ba2f352949d061d991d92f2c8996ec3 mp3info-0.8.5a.tgz 127482 +SHA256 0438ac68e9f04947fb14ca5573d27c62454cb9db3a93b7f1d2c226cd3e0b4e10 mp3info-0.8.5a.tgz 127482 diff --git a/media-sound/mp3info/files/mp3info-0.8.5a-ldflags.patch b/media-sound/mp3info/files/mp3info-0.8.5a-ldflags.patch new file mode 100644 index 000000000000..40276235b842 --- /dev/null +++ b/media-sound/mp3info/files/mp3info-0.8.5a-ldflags.patch @@ -0,0 +1,15 @@ +--- Makefile.old 2007-01-05 23:21:33.000000000 +0100 ++++ Makefile 2007-01-05 23:22:02.000000000 +0100 +@@ -52,10 +52,10 @@ + doc: mp3info.txt + + mp3info: $(OBJS) +- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) + + gmp3info: $(XSRC) $(XOBJ) +- $(CC) $(XSRC) $(CFLAGS) -o $@ $(XOBJ) `pkg-config --cflags --libs gtk+-2.0` ++ $(CC) $(XSRC) $(CFLAGS) $(LDFLAGS) -o $@ $(XOBJ) `pkg-config --cflags --libs gtk+-2.0` + + mp3info.txt: mp3info.1 + groff -t -e -mandoc -Tascii mp3info.1 | col -bx > mp3info.txt diff --git a/media-sound/mp3info/mp3info-0.8.5a.ebuild b/media-sound/mp3info/mp3info-0.8.5a.ebuild new file mode 100644 index 000000000000..d4ef7dbd255f --- /dev/null +++ b/media-sound/mp3info/mp3info-0.8.5a.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3info/mp3info-0.8.5a.ebuild,v 1.1 2007/01/05 22:34:26 aballier Exp $ + +inherit eutils toolchain-funcs + +IUSE="gtk" + +DESCRIPTION="An MP3 technical info viewer and ID3 1.x tag editor" +SRC_URI="http://ibiblio.org/pub/linux/apps/sound/mp3-utils/${PN}/${P}.tgz" +HOMEPAGE="http://ibiblio.org/mp3info/" + +RDEPEND="gtk? ( >=x11-libs/gtk+-2.6.10 ) + sys-libs/ncurses" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~ppc-macos ~ppc64 ~sparc ~x86" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch "${FILESDIR}/${P}-ldflags.patch" +} + +src_compile() { + emake mp3info CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die + if use gtk; then + emake gmp3info CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "gtk mp3info failed" + fi +} + +src_install() { + dobin mp3info + use gtk && dobin gmp3info + + dodoc ChangeLog README + doman mp3info.1 +} |