summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2004-08-19 21:38:25 +0000
committerChris White <chriswhite@gentoo.org>2004-08-19 21:38:25 +0000
commit87dfef3dc330ec43989e76547318ee0590e2005b (patch)
tree74c6419f0e0f791c36adaa08d81549ba32f4ef94 /media-sound/tagtool
parentRemoved old version (Manifest recommit) (diff)
downloadgentoo-2-87dfef3dc330ec43989e76547318ee0590e2005b.tar.gz
gentoo-2-87dfef3dc330ec43989e76547318ee0590e2005b.tar.bz2
gentoo-2-87dfef3dc330ec43989e76547318ee0590e2005b.zip
Adding tagtool to the tree. Closes Bug #59423.
Diffstat (limited to 'media-sound/tagtool')
-rw-r--r--media-sound/tagtool/ChangeLog8
-rw-r--r--media-sound/tagtool/Manifest2
-rw-r--r--media-sound/tagtool/files/digest-tagtool-0.92
-rw-r--r--media-sound/tagtool/metadata.xml8
-rw-r--r--media-sound/tagtool/tagtool-0.9.ebuild60
5 files changed, 80 insertions, 0 deletions
diff --git a/media-sound/tagtool/ChangeLog b/media-sound/tagtool/ChangeLog
new file mode 100644
index 000000000000..924eb564dcf8
--- /dev/null
+++ b/media-sound/tagtool/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for media-sound/tagtool
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/tagtool/ChangeLog,v 1.1 2004/08/19 21:38:25 chriswhite Exp $
+
+ 20 Aug 2004; Chris White <chriswhite@gentoo.org> +metadata.xml:
+ Initial import into the tree. Thanks to Justin <yoosty69@netzero.net> for
+ reporting. Closes Bug #59423.
+
diff --git a/media-sound/tagtool/Manifest b/media-sound/tagtool/Manifest
new file mode 100644
index 000000000000..eb21d194d654
--- /dev/null
+++ b/media-sound/tagtool/Manifest
@@ -0,0 +1,2 @@
+MD5 d9172fbafaa6a7a357f02b563b39c4cd tagtool-0.9.ebuild 1321
+MD5 35a84c84089c22bafe01a69838d49679 files/digest-tagtool-0.9 141
diff --git a/media-sound/tagtool/files/digest-tagtool-0.9 b/media-sound/tagtool/files/digest-tagtool-0.9
new file mode 100644
index 000000000000..4ca4c42413d7
--- /dev/null
+++ b/media-sound/tagtool/files/digest-tagtool-0.9
@@ -0,0 +1,2 @@
+MD5 440005d355a015cdf2db5f4e3c69bb54 tagtool-0.9.tar.gz 208261
+MD5 54548adf384b3824bf650ed21c2c77d7 tagtool-0.9-configure.patch.tar.bz2 7930
diff --git a/media-sound/tagtool/metadata.xml b/media-sound/tagtool/metadata.xml
new file mode 100644
index 000000000000..ec6a427b666f
--- /dev/null
+++ b/media-sound/tagtool/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sound</herd>
+<maintainer>
+ <email>chriswhite@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/media-sound/tagtool/tagtool-0.9.ebuild b/media-sound/tagtool/tagtool-0.9.ebuild
new file mode 100644
index 000000000000..fd083bb13711
--- /dev/null
+++ b/media-sound/tagtool/tagtool-0.9.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/tagtool/tagtool-0.9.ebuild,v 1.1 2004/08/19 21:38:25 chriswhite Exp $
+
+inherit eutils
+
+IUSE="oggvorbis mp3"
+
+DESCRIPTION="Audio Tag Tool Ogg/Mp3 Tagger"
+HOMEPAGE="http://pwp.netcabo.pt/paol/tagtool/"
+SRC_URI="http://pwp.netcabo.pt/paol/tagtool/${P}.tar.gz
+ mirror://gentoo/tagtool-0.9-configure.patch.tar.bz2"
+
+RDEPEND=">=x11-libs/gtk+-2.4.0-r1
+ >=gnome-base/libglade-2.4.0
+ mp3? ( >=media-libs/id3lib-3.8.3-r2 )
+ oggvorbis? ( >=media-libs/libvorbis-1.0.1 )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_compile() {
+ cd ${S}
+
+ local myconf
+ myconf=""
+ myconf="${myconf} $(use_enable mp3)"
+ myconf="${myconf} $(use_enable oggvorbis vorbis)"
+
+ #add some configure logic to prevent a dying ebuild
+ if use !mp3 && use !oggvorbis
+ then
+ ewarn "Vorbis or mp3 must be selected."
+ ewarn "Defaulting to mp3, please cancel this emerge"
+ ewarn "if you do not want mp3 support."
+ myconf="--enable-mp3"
+ fi
+
+ #fix the strange upstream configure logic
+ epatch ${DISTDIR}/${P}-configure.patch.tar.bz2
+
+ econf \
+ ${myconf} || die "econf failed"
+ emake || die
+}
+
+src_install() {
+ make install \
+ DESTDIR=${D} \
+ sysdir=${D}/usr/share/applets/Multimedia \
+ GNOME_SYSCONFDIR=${D}/etc \
+ || die
+
+ dodoc ChangeLog NEWS README TODO THANKS
+}