diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-09-17 22:38:45 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-09-17 22:38:45 +0000 |
commit | 9c3cfbb815172ff1949ff78db60fce586bfd42a0 (patch) | |
tree | ad8fb6ab2b7d361482bc450f7dc9d1d9ab604a01 /media-libs | |
parent | version bump 0.3.10 (diff) | |
download | gentoo-2-9c3cfbb815172ff1949ff78db60fce586bfd42a0.tar.gz gentoo-2-9c3cfbb815172ff1949ff78db60fce586bfd42a0.tar.bz2 gentoo-2-9c3cfbb815172ff1949ff78db60fce586bfd42a0.zip |
Examples are now installed with examples useflag. The doc useflag builds and installs API (doxygen) documentation that supercedes id3lib-docs package.
(Portage version: 2.0.52-r1)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/id3lib/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/id3lib/Manifest | 12 | ||||
-rw-r--r-- | media-libs/id3lib/files/digest-id3lib-3.8.3-r4 | 1 | ||||
-rw-r--r-- | media-libs/id3lib/files/id3lib-3.8.3-autoconf259.patch | 31 | ||||
-rw-r--r-- | media-libs/id3lib/files/id3lib-3.8.3-doxyinput.patch | 23 | ||||
-rw-r--r-- | media-libs/id3lib/id3lib-3.8.3-r4.ebuild | 63 |
6 files changed, 129 insertions, 11 deletions
diff --git a/media-libs/id3lib/ChangeLog b/media-libs/id3lib/ChangeLog index e6618fdd0f5f..4e30d30ed7c5 100644 --- a/media-libs/id3lib/ChangeLog +++ b/media-libs/id3lib/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-libs/id3lib # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/id3lib/ChangeLog,v 1.34 2005/09/04 12:40:22 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/id3lib/ChangeLog,v 1.35 2005/09/17 22:38:45 flameeyes Exp $ + +*id3lib-3.8.3-r4 (17 Sep 2005) + + 17 Sep 2005; Diego Pettenò <flameeyes@gentoo.org> + +files/id3lib-3.8.3-autoconf259.patch, + +files/id3lib-3.8.3-doxyinput.patch, +id3lib-3.8.3-r4.ebuild: + Examples are now installed with examples useflag. The doc useflag builds and + installs API (doxygen) documentation that supercedes id3lib-docs package. 04 Sep 2005; Diego Pettenò <flameeyes@gentoo.org> id3lib-3.8.3-r3.ebuild: Don't install INSTALL file. diff --git a/media-libs/id3lib/Manifest b/media-libs/id3lib/Manifest index d2f0ee9ff69d..af4c539e4e7d 100644 --- a/media-libs/id3lib/Manifest +++ b/media-libs/id3lib/Manifest @@ -1,16 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 2d47e40ca7c7c6cd242ae2e64f29ea19 ChangeLog 5017 MD5 333740e9f496bdf8f31a4503405852cb id3lib-3.8.3-r3.ebuild 1318 +MD5 a0d7ce0c827e084e06077305601d2d56 id3lib-3.8.3-r4.ebuild 1464 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 MD5 202375b32b2a80a367a2230716144988 files/digest-id3lib-3.8.3-r3 64 MD5 e896e39ce5196f4fd2ca6fc7553e2c60 files/id3lib-3.8.3-zlib.patch 833 +MD5 202375b32b2a80a367a2230716144988 files/digest-id3lib-3.8.3-r4 64 MD5 875a7dcafeef2a995039075941fb47ae files/id3lib-3.8.3-test_io.patch 281 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDGutQj5H05b2HAEkRAlugAJ46wiSSS4+Er0lI5eBRgPL7/IDm1QCfTg4I -wvtC/FKBLQR9ysqPQBnrHxM= -=28mo ------END PGP SIGNATURE----- diff --git a/media-libs/id3lib/files/digest-id3lib-3.8.3-r4 b/media-libs/id3lib/files/digest-id3lib-3.8.3-r4 new file mode 100644 index 000000000000..cfb850ce9d1e --- /dev/null +++ b/media-libs/id3lib/files/digest-id3lib-3.8.3-r4 @@ -0,0 +1 @@ +MD5 19f27ddd2dda4b2d26a559a4f0f402a7 id3lib-3.8.3.tar.gz 950726 diff --git a/media-libs/id3lib/files/id3lib-3.8.3-autoconf259.patch b/media-libs/id3lib/files/id3lib-3.8.3-autoconf259.patch new file mode 100644 index 000000000000..16921e17425e --- /dev/null +++ b/media-libs/id3lib/files/id3lib-3.8.3-autoconf259.patch @@ -0,0 +1,31 @@ +Index: id3lib-3.8.3/configure.in +=================================================================== +--- id3lib-3.8.3.orig/configure.in ++++ id3lib-3.8.3/configure.in +@@ -168,7 +168,7 @@ if test $has_iconv = 1; then + iconv_oldstyle=1, iconv_oldstyle=0) + if test $iconv_oldstyle = 1; then + AC_MSG_RESULT(const char **) +- AC_DEFINE(ID3LIB_ICONV_OLDSTYLE) ++ AC_DEFINE(ID3LIB_ICONV_OLDSTYLE, [], [Unknown]) + #we'll check out the need of + #typecast in the call of iconv_open + AC_MSG_CHECKING(whether to typecast in iconv) +@@ -184,7 +184,7 @@ if test $has_iconv = 1; then + iconv_cast=0, iconv_cast=1) + if test $iconv_cast = 1; then + AC_MSG_RESULT(yes) +- AC_DEFINE(ID3LIB_ICONV_CAST_OK) ++ AC_DEFINE(ID3LIB_ICONV_CAST_OK, [], [Unknown]) + else + AC_MSG_RESULT(no) + fi +@@ -206,7 +206,7 @@ if test $has_iconv = 1; then + iconv_cast=0, iconv_cast=1) + if test $iconv_cast = 1; then + AC_MSG_RESULT(yes) +- AC_DEFINE(ID3LIB_ICONV_CAST_OK) ++ AC_DEFINE(ID3LIB_ICONV_CAST_OK, [], [Unknown]) + else + AC_MSG_RESULT(no) + fi diff --git a/media-libs/id3lib/files/id3lib-3.8.3-doxyinput.patch b/media-libs/id3lib/files/id3lib-3.8.3-doxyinput.patch new file mode 100644 index 000000000000..b118f487e06c --- /dev/null +++ b/media-libs/id3lib/files/id3lib-3.8.3-doxyinput.patch @@ -0,0 +1,23 @@ +Index: id3lib-3.8.3/doc/Doxyfile +=================================================================== +--- id3lib-3.8.3.orig/doc/Doxyfile ++++ id3lib-3.8.3/doc/Doxyfile +@@ -262,17 +262,7 @@ WARN_FORMAT = "$file:$line: $ + # with spaces. + + INPUT = ../src \ +- ../include/id3/field.h \ +- ../include/id3/frame.h \ +- ../include/id3/globals.h \ +- ../include/id3/misc_support.h \ +- ../include/id3/reader.h \ +- ../include/id3/readers.h \ +- ../include/id3/sized_types.h \ +- ../include/id3/tag.h \ +- ../include/id3/tag.h \ +- ../include/id3/writer.h \ +- ../include/id3/writers.h ++ ../include/id3 \ + + + # If the value of the INPUT tag contains directories, you can use the diff --git a/media-libs/id3lib/id3lib-3.8.3-r4.ebuild b/media-libs/id3lib/id3lib-3.8.3-r4.ebuild new file mode 100644 index 000000000000..36a1f6faacc9 --- /dev/null +++ b/media-libs/id3lib/id3lib-3.8.3-r4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2005 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-r4.ebuild,v 1.1 2005/09/17 22:38:45 flameeyes Exp $ + +inherit eutils autotools + +MY_P=${P/_/} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Id3 library for C/C++" +HOMEPAGE="http://id3lib.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc examples" + +RDEPEND="sys-libs/zlib" +DEPEND="${RDEPEND} + sys-devel/autoconf + sys-devel/automake + sys-devel/libtool + doc? ( app-doc/doxygen )" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch "${FILESDIR}/${P}-zlib.patch" + epatch "${FILESDIR}/${P}-test_io.patch" + epatch "${FILESDIR}/${P}-autoconf259.patch" + epatch "${FILESDIR}/${P}-doxyinput.patch" + + AT_M4DIR="m4" eautoreconf +} + +src_compile() { + econf || die "econf failed" + emake || die "emake failed" + + if use doc; then + cd doc/ + doxygen Doxyfile || die "doxygen failed" + fi +} + +src_install() { + make DESTDIR="${D}" install || die "Install failed" + + dodoc AUTHORS ChangeLog HISTORY README THANKS TODO + + # some example programs to be placed in docs dir. + if use examples; then + cp -pPR examples ${D}/usr/share/doc/${PF}/examples + cd ${D}/usr/share/doc/${PF}/examples + make distclean + fi + + if use doc; then + dohtml -r doc + fi +} |