diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-06-01 07:10:22 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-06-01 07:10:22 +0000 |
commit | 970e3778619d345aca3f82a0c075dfd2b17db751 (patch) | |
tree | 2923c563318da65a0bb57eb7dc17c003e88ada99 /media-libs/libextractor | |
parent | Version bump for bug 418481. (diff) | |
download | historical-970e3778619d345aca3f82a0c075dfd2b17db751.tar.gz historical-970e3778619d345aca3f82a0c075dfd2b17db751.tar.bz2 historical-970e3778619d345aca3f82a0c075dfd2b17db751.zip |
USE flags "gtk" and "pdf" for optionalizing app-text/poppler and x11-libs/gtk+:2 wrt #415447 by Thomas Beutin
Package-Manager: portage-2.2.0_alpha108/cvs/Linux x86_64
Diffstat (limited to 'media-libs/libextractor')
-rw-r--r-- | media-libs/libextractor/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/libextractor/Manifest | 17 | ||||
-rw-r--r-- | media-libs/libextractor/libextractor-0.6.3-r1.ebuild | 88 |
3 files changed, 105 insertions, 9 deletions
diff --git a/media-libs/libextractor/ChangeLog b/media-libs/libextractor/ChangeLog index 5cdd896f7ec0..ec721a525c3e 100644 --- a/media-libs/libextractor/ChangeLog +++ b/media-libs/libextractor/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/libextractor # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libextractor/ChangeLog,v 1.68 2012/05/11 08:21:34 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libextractor/ChangeLog,v 1.69 2012/06/01 07:10:22 ssuominen Exp $ + +*libextractor-0.6.3-r1 (01 Jun 2012) + + 01 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> + +libextractor-0.6.3-r1.ebuild: + USE flags "gtk" and "pdf" for optionalizing app-text/poppler and + x11-libs/gtk+:2 wrt #415447 by Thomas Beutin 11 May 2012; Samuli Suominen <ssuominen@gentoo.org> -libextractor-0.5.19a.ebuild: diff --git a/media-libs/libextractor/Manifest b/media-libs/libextractor/Manifest index d94e83a88aeb..8db128e60fa3 100644 --- a/media-libs/libextractor/Manifest +++ b/media-libs/libextractor/Manifest @@ -2,17 +2,18 @@ Hash: SHA1 DIST libextractor-0.6.3.tar.gz 1381932 RMD160 f35049cee0cd486783e77a098566f1a6752379c6 SHA1 58ca71d04fcbac6ea9675bd91ffa18a26c865ebc SHA256 0c3afd11b77eed90d59210a947bc609b9c8adffaf656c5c665a982aa665ab5ba +EBUILD libextractor-0.6.3-r1.ebuild 2204 RMD160 a50137a8c8f74c99e62736e0ab61490c20521d53 SHA1 7bdb1fd10bdcda9f689565dcb5429ce1ffbae61c SHA256 72319d29a85b9be524cddf6f82e5fae735ba506c06845ae03b35d0f29d51ba18 EBUILD libextractor-0.6.3.ebuild 1695 RMD160 b7416a3495e265098aca352b8338c3ebc10b1b23 SHA1 ace5debf339c5c3ad8650a2ff27af50a073252f5 SHA256 b4fd92a8f797f80fae5974476052517287630a1dd24f324b5ecdafbc89fe93df -MISC ChangeLog 11993 RMD160 92e260aa4b22cbe9278a139ee2bf9a39fe0896ae SHA1 1b9cf61dae917d6439a74aa8b9a335583ac8bc1e SHA256 5a8dccf7569d1d73407250aa824338a33441c7b0bd615ecfeecb7bf6e9c6b74f +MISC ChangeLog 12233 RMD160 620500cf438ffe4adf12dc77f74ce8259722cd5e SHA1 850ec4eb38c3a0bc858824b1ae0f402bb3f560b2 SHA256 244cdc52e0927372871424cc3f0ebf16b531713ccd02bdf86aabaf3359ea481d MISC metadata.xml 386 RMD160 3d679cd274975c224f2c069d53a4dd7ea73ffa8e SHA1 98db4d3371ac7957dfd48623bc96484c15eb2b6c SHA256 79ea7291b1d64a3683ca257d32f6816e52f30f2307b00b5680b8cc21741a96ab -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBAgAGBQJPrMtbAAoJEEdUh39IaPFN4aYH/jkFNP8liGmiGhuvPX7r4OfD -dv4Ib1DK+gjNcm75yt/cWq0SbVxWnznhP7veZbTS+vlI1lNVmjBgtyBcgmZYbtmZ -w3lcBYNIZjPdqSwFSQyGzGBuld7kcZXJihaJNfYb3yY1AmF2W26Shjmc7F3oAXaF -1G4eEnPH3Qu2ShSvpuox5hMyIYJvHmBaiaM6tjsnaBeDJGqBH9h/rh1UxehJKwHi -M8z8zFHK11OaYuejWlNJuJVvElSgvacKuwBDKN/KSAqzIXivfcjrszzdraHQ7k1h -+b63aq63qnBqPHDxxtZn7LhEHchuZ+1I7gqrvTMR+mJ7vU3ufe8PYjrYTBahYlk= -=lDZ5 +iQEcBAEBAgAGBQJPyGoAAAoJEEdUh39IaPFN1swIAJULLA8eqHCWPREP9OdPtmaD +riy8LRJgRNUNNnES9Z0ooAl+iyNlZSdowfmHU3ZwIdzSjYtwjuyeRUPdsTtkD/yS +2Hkmv8cq7sTOYHILLytrVZpJypYRMt06E+OyEE9dWTaAm7CokacYagL7zQluSl2v +ZAMADU6bUnQNfHeXHXDFZTYiGqvCjYZTLJ5UrvB23VWr/9qIhiwurKRgSECduzkW +D+UtM2tffnpa4tPleoGWlOV4czQ7reRHtfG9ksKC2Iidx9NtHbYHT/Cfxgp/7/Pm +zGotS5fevU1Xe8xfGrpIypFmrJR/O80FXj323X5GCZMPM8sCQB1QXQWzSgYximc= +=8Pcz -----END PGP SIGNATURE----- diff --git a/media-libs/libextractor/libextractor-0.6.3-r1.ebuild b/media-libs/libextractor/libextractor-0.6.3-r1.ebuild new file mode 100644 index 000000000000..2de1592641c2 --- /dev/null +++ b/media-libs/libextractor/libextractor-0.6.3-r1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libextractor/libextractor-0.6.3-r1.ebuild,v 1.1 2012/06/01 07:10:22 ssuominen Exp $ + +EAPI=4 +inherit eutils flag-o-matic multilib toolchain-funcs + +DESCRIPTION="A library used to extract metadata from files of arbitrary type" +HOMEPAGE="http://www.gnu.org/software/libextractor/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" +IUSE="ffmpeg gsf gtk pdf qt4" # test + +RDEPEND="app-arch/bzip2 + app-text/iso-codes + >=dev-libs/glib-2 + media-gfx/exiv2 + media-libs/flac + media-libs/libmpeg2 + media-libs/libogg + media-libs/libvorbis + >=sys-devel/libtool-2.2.6b + sys-libs/zlib + virtual/libintl + ffmpeg? ( >=virtual/ffmpeg-0.10 ) + gsf? ( >=gnome-extra/libgsf-1.14.21 ) + gtk? ( x11-libs/gtk+:2 ) + pdf? ( app-text/poppler[cairo] ) + qt4? ( + x11-libs/qt-gui:4 + x11-libs/qt-svg:4 + )" +DEPEND="${RDEPEND} + virtual/pkgconfig + sys-devel/gettext" +# test? ( app-forensics/zzuf ) + +RESTRICT="test" + +DOCS="AUTHORS ChangeLog NEWS README TODO" + +src_prepare() { + sed -i \ + -e 's:CODEC_TYPE_VIDEO:AVMEDIA_TYPE_VIDEO:' \ + src/plugins/thumbnailffmpeg_extractor.c || die + + # Missing AC_ARG_ENABLE wrt #415447 + use gtk || { sed -i -e '/min_gtk_version=/s:=.*:=9999:' configure || die; } + + # m4/ax_create_pkgconfig_info.m4 is passing environment LDFLAGS to Libs: + sed -i -e '/^ax_create_pkgconfig_ldflags=/s:$LDFLAGS ::' configure || die +} + +src_configure() { + local myconf + + if use qt4; then + append-cppflags "$($(tc-getPKG_CONFIG) --cflags-only-I QtGui QtSvg)" + append-ldflags "$($(tc-getPKG_CONFIG) --libs-only-L QtGui QtSvg)" + else + myconf="--without-qt" + fi + + # Missing AC_ARG_ENABLE wrt #415447. Both because of private _ZTI9MemStream. + local opt + for opt in ac_cv_header_poppler_goo_gmem_h ac_cv_lib_poppler__ZTI9MemStream; do + export ${opt}=$(usex pdf) + done + + econf \ + --enable-glib \ + $(use_enable gsf) \ + --disable-gnome \ + $(use_enable ffmpeg) \ + ${myconf} +} + +src_compile() { + emake -j1 +} + +src_install() { + default + find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + +} |