summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2009-11-05 10:50:19 +0000
committerJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2009-11-05 10:50:19 +0000
commit2a1a1a3a3bb59406fbde55b6f64cc984283d1597 (patch)
treeae51f0f3324b155e9598239c08654707c024c94d
parentFix bad pdepend (diff)
downloadgentoo-2-2a1a1a3a3bb59406fbde55b6f64cc984283d1597.tar.gz
gentoo-2-2a1a1a3a3bb59406fbde55b6f64cc984283d1597.tar.bz2
gentoo-2-2a1a1a3a3bb59406fbde55b6f64cc984283d1597.zip
Bumped taglib to the 1.6.1 release.
Made asf/mp4 support optional. (Portage version: 2.2_rc48/cvs/Linux x86_64)
-rw-r--r--media-libs/taglib/ChangeLog9
-rw-r--r--media-libs/taglib/metadata.xml3
-rw-r--r--media-libs/taglib/taglib-1.6.1.ebuild59
3 files changed, 70 insertions, 1 deletions
diff --git a/media-libs/taglib/ChangeLog b/media-libs/taglib/ChangeLog
index aa38d549be39..a9e774415082 100644
--- a/media-libs/taglib/ChangeLog
+++ b/media-libs/taglib/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/taglib
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/taglib/ChangeLog,v 1.74 2009/11/03 18:01:52 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/taglib/ChangeLog,v 1.75 2009/11/05 10:50:19 jmbsvicetto Exp $
+
+*taglib-1.6.1 (05 Nov 2009)
+
+ 05 Nov 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ +taglib-1.6.1.ebuild, metadata.xml:
+ Bumped taglib to the 1.6.1 release.
+ Made asf/mp4 support optional.
03 Nov 2009; Raúl Porcel <armin76@gentoo.org> taglib-1.6.ebuild:
alpha/arm/ia64/sh/sparc stable wrt #290487
diff --git a/media-libs/taglib/metadata.xml b/media-libs/taglib/metadata.xml
index 8d1e86a9cefb..43d0e971f8ee 100644
--- a/media-libs/taglib/metadata.xml
+++ b/media-libs/taglib/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>kde</herd>
+<use>
+ <flag name="asf">Provide support for Microsoft's 'advanced systems format' media container.</flag>
+</use>
</pkgmetadata>
diff --git a/media-libs/taglib/taglib-1.6.1.ebuild b/media-libs/taglib/taglib-1.6.1.ebuild
new file mode 100644
index 000000000000..d0e442246b41
--- /dev/null
+++ b/media-libs/taglib/taglib-1.6.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/taglib/taglib-1.6.1.ebuild,v 1.1 2009/11/05 10:50:19 jmbsvicetto Exp $
+
+EAPI=2
+inherit base
+
+DESCRIPTION="A library for reading and editing audio meta data"
+HOMEPAGE="http://developer.kde.org/~wheeler/taglib.html"
+SRC_URI="http://developer.kde.org/~wheeler/files/src/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+SLOT="0"
+IUSE="+asf debug examples +mp4 static-libs test"
+
+DEPEND="
+ dev-util/pkgconfig
+ test? ( dev-util/cppunit )
+"
+RDEPEND=""
+
+src_configure() {
+ econf \
+ $(use_enable asf) \
+ $(use_enable debug) \
+ $(use_enable mp4) \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ base_src_compile
+
+ if use examples; then
+ emake examples || die "emake examples failed"
+ fi
+}
+
+src_install() {
+ base_src_install
+
+ dodoc AUTHORS NEWS || die "dodoc failed"
+ dohtml doc/* || die "dohtml failed"
+
+ if use examples; then
+ cd examples && emake DESTDIR="${D}" install || die "emake examples install failed"
+ fi
+}
+
+pkg_postinst() {
+ if ! use asf; then
+ elog "You've chosen to disable the asf use flag, thus taglib won't include"
+ elog "support for Microsoft's 'advanced systems format' media container"
+ fi
+ if ! use mp4; then
+ elog "You've chosen to disable the mp4 use flag, thus taglib won't include"
+ elog "support for the MPEG-4 part 14 / MP4 media container"
+ fi
+}