summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Østergaard <kloeri@gentoo.org>2004-02-16 03:29:48 +0000
committerBryan Østergaard <kloeri@gentoo.org>2004-02-16 03:29:48 +0000
commitdc1c661da90dcc5f51274d8dfd0fd45e5dce1503 (patch)
tree9c71b433b55c4444e7fd60d51d2f71c2ceff4d57 /media-libs/musicbrainz
parentAdding metadata.xml. (Manifest recommit) (diff)
downloadgentoo-2-dc1c661da90dcc5f51274d8dfd0fd45e5dce1503.tar.gz
gentoo-2-dc1c661da90dcc5f51274d8dfd0fd45e5dce1503.tar.bz2
gentoo-2-dc1c661da90dcc5f51274d8dfd0fd45e5dce1503.zip
Add python USE flag. Closes bug #27634.
Diffstat (limited to 'media-libs/musicbrainz')
-rw-r--r--media-libs/musicbrainz/ChangeLog7
-rw-r--r--media-libs/musicbrainz/files/digest-musicbrainz-2.0.2-r21
-rw-r--r--media-libs/musicbrainz/musicbrainz-2.0.2-r2.ebuild40
3 files changed, 47 insertions, 1 deletions
diff --git a/media-libs/musicbrainz/ChangeLog b/media-libs/musicbrainz/ChangeLog
index cc4db2065037..5d09561a5962 100644
--- a/media-libs/musicbrainz/ChangeLog
+++ b/media-libs/musicbrainz/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/musicbrainz
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/musicbrainz/ChangeLog,v 1.18 2004/02/15 16:51:28 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/musicbrainz/ChangeLog,v 1.19 2004/02/16 03:29:48 kloeri Exp $
+
+*musicbrainz-2.0.2-r2 (16 Feb 2004)
+
+ 16 Feb 2004; <kloeri@gentoo.org> musicbrainz-2.0.2-r2.ebuild:
+ Add python USE flag. Closes bug #27634.
15 Feb 2004; Jason Wever <weeve@gentoo.org> musicbrainz-2.0.1.ebuild:
Marked stable on sparc.
diff --git a/media-libs/musicbrainz/files/digest-musicbrainz-2.0.2-r2 b/media-libs/musicbrainz/files/digest-musicbrainz-2.0.2-r2
new file mode 100644
index 000000000000..0ef26ee20040
--- /dev/null
+++ b/media-libs/musicbrainz/files/digest-musicbrainz-2.0.2-r2
@@ -0,0 +1 @@
+MD5 28226090a5bf5bc844634e1d4faf6334 libmusicbrainz-2.0.2.tar.gz 583123
diff --git a/media-libs/musicbrainz/musicbrainz-2.0.2-r2.ebuild b/media-libs/musicbrainz/musicbrainz-2.0.2-r2.ebuild
new file mode 100644
index 000000000000..dc51577e89d9
--- /dev/null
+++ b/media-libs/musicbrainz/musicbrainz-2.0.2-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/musicbrainz/musicbrainz-2.0.2-r2.ebuild,v 1.1 2004/02/16 03:29:48 kloeri Exp $
+
+inherit libtool distutils
+
+DESCRIPTION="Client library to access metadata of mp3/vorbis/CD media"
+HOMEPAGE="http://www.musicbrainz.org/"
+SRC_URI="ftp://ftp.musicbrainz.org/pub/musicbrainz/lib${P}.tar.gz"
+
+IUSE="python"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+
+RDEPEND="virtual/glibc
+ dev-libs/expat"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/lib${P}
+
+src_compile() {
+ econf --enable-cpp-headers || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+
+ dodoc AUTHORS ChangeLog INSTALL README TODO docs/mb_howto.txt
+
+ if [ `use python` ] ; then
+ cd ${S}/python
+ distutils_src_install
+
+ dodir /usr/share/doc/${PF}/python/examples/
+ cp -r ${S}/python/examples ${D}/usr/share/doc/${PF}/python
+ fi
+}