summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-05-03 17:33:56 +0000
committerJustin Lecher <jlec@gentoo.org>2013-05-03 17:33:56 +0000
commitb87d3fd1e83d9f36b5f7cbe1bd59deef7e87494b (patch)
tree3d4e538e143ad35154621e948a85d183a728e5bb /media-libs/id3lib
parentgnome-base/orbit: Fix usage of srcdir with tests for atuomake-1.13 compatibil... (diff)
downloadgentoo-2-b87d3fd1e83d9f36b5f7cbe1bd59deef7e87494b.tar.gz
gentoo-2-b87d3fd1e83d9f36b5f7cbe1bd59deef7e87494b.tar.bz2
gentoo-2-b87d3fd1e83d9f36b5f7cbe1bd59deef7e87494b.zip
media-libs/id3lib: Fix obsolete macros to work with automake-1.13, #467704; bumped to EAPI=5 and autotools-utils.eclass
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'media-libs/id3lib')
-rw-r--r--media-libs/id3lib/ChangeLog11
-rw-r--r--media-libs/id3lib/id3lib-3.8.3-r9.ebuild58
-rw-r--r--media-libs/id3lib/metadata.xml2
3 files changed, 68 insertions, 3 deletions
diff --git a/media-libs/id3lib/ChangeLog b/media-libs/id3lib/ChangeLog
index eb9fc066eb34..f3015355a688 100644
--- a/media-libs/id3lib/ChangeLog
+++ b/media-libs/id3lib/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/id3lib
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/id3lib/ChangeLog,v 1.80 2012/03/22 12:33:36 ssuominen Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/id3lib/ChangeLog,v 1.81 2013/05/03 17:33:56 jlec Exp $
+
+*id3lib-3.8.3-r9 (03 May 2013)
+
+ 03 May 2013; Justin Lecher <jlec@gentoo.org> +id3lib-3.8.3-r9.ebuild,
+ metadata.xml:
+ Fix obsolete macros to work with automake-1.13, #467704; bumped to EAPI=5 and
+ autotools-utils.eclass
22 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> id3lib-3.8.3-r8.ebuild:
USE="static-libs" and remove libid3.la when it's disabled.
diff --git a/media-libs/id3lib/id3lib-3.8.3-r9.ebuild b/media-libs/id3lib/id3lib-3.8.3-r9.ebuild
new file mode 100644
index 000000000000..324b62d1760a
--- /dev/null
+++ b/media-libs/id3lib/id3lib-3.8.3-r9.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/id3lib/id3lib-3.8.3-r9.ebuild,v 1.1 2013/05/03 17:33:56 jlec Exp $
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils
+
+DESCRIPTION="Id3 library for C/C++"
+HOMEPAGE="http://id3lib.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P/_}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
+IUSE="doc static-libs"
+
+RDEPEND="sys-libs/zlib"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+RESTRICT="test"
+
+S=${WORKDIR}/${P/_}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-zlib.patch
+ "${FILESDIR}"/${P}-test_io.patch
+ "${FILESDIR}"/${P}-autoconf259.patch
+ "${FILESDIR}"/${P}-doxyinput.patch
+ "${FILESDIR}"/${P}-unicode16.patch
+ "${FILESDIR}"/${P}-gcc-4.3.patch
+ "${FILESDIR}"/${P}-missing_nullpointer_check.patch
+ "${FILESDIR}"/${P}-security.patch
+ )
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+src_prepare() {
+ sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' {,zlib/}configure.in || die
+ AT_M4DIR="${S}/m4" autotools-utils_src_prepare
+}
+
+src_compile() {
+ autotools-utils_src_compile
+ if use doc; then
+ pushd doc >/dev/null
+ doxygen Doxyfile || die
+ popd >/dev/null
+ fi
+}
+
+src_install() {
+ use doc && HTML_DOCS=( "${S}"/doc/. )
+ autotools-utils_src_install
+}
diff --git a/media-libs/id3lib/metadata.xml b/media-libs/id3lib/metadata.xml
index ae573a60407f..3bf6bcfeb512 100644
--- a/media-libs/id3lib/metadata.xml
+++ b/media-libs/id3lib/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sound</herd>
+ <herd>sound</herd>
</pkgmetadata>