summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-02-29 07:45:52 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-02-29 07:45:52 +0000
commit4ed2b1a66114c65087e4b99393dba24e0a23cd09 (patch)
tree2fa6b73886022b61eb041e2675db8be6a699cff0 /media-libs/libextractor
parentnet-mail/notmuch-0.10.2: Fixes bug #406175 and bug #406177. (diff)
downloadgentoo-2-4ed2b1a66114c65087e4b99393dba24e0a23cd09.tar.gz
gentoo-2-4ed2b1a66114c65087e4b99393dba24e0a23cd09.tar.bz2
gentoo-2-4ed2b1a66114c65087e4b99393dba24e0a23cd09.zip
Version bump.
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libextractor')
-rw-r--r--media-libs/libextractor/ChangeLog10
-rw-r--r--media-libs/libextractor/libextractor-0.6.3.ebuild76
-rw-r--r--media-libs/libextractor/metadata.xml9
3 files changed, 92 insertions, 3 deletions
diff --git a/media-libs/libextractor/ChangeLog b/media-libs/libextractor/ChangeLog
index 71843a6d8417..09cd700a8d94 100644
--- a/media-libs/libextractor/ChangeLog
+++ b/media-libs/libextractor/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libextractor
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libextractor/ChangeLog,v 1.62 2011/10/09 17:47:10 ssuominen Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libextractor/ChangeLog,v 1.63 2012/02/29 07:45:52 ssuominen Exp $
+
+*libextractor-0.6.3 (29 Feb 2012)
+
+ 29 Feb 2012; Samuli Suominen <ssuominen@gentoo.org>
+ +libextractor-0.6.3.ebuild, metadata.xml:
+ Version bump.
09 Oct 2011; Samuli Suominen <ssuominen@gentoo.org>
-libextractor-0.5.20a.ebuild, -libextractor-0.5.20b.ebuild:
diff --git a/media-libs/libextractor/libextractor-0.6.3.ebuild b/media-libs/libextractor/libextractor-0.6.3.ebuild
new file mode 100644
index 000000000000..c7fffc9ef998
--- /dev/null
+++ b/media-libs/libextractor/libextractor-0.6.3.ebuild
@@ -0,0 +1,76 @@
+# 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.ebuild,v 1.1 2012/02/29 07:45:52 ssuominen Exp $
+
+EAPI=4
+inherit 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 qt4" # test
+
+RDEPEND="app-arch/bzip2
+ app-text/iso-codes
+ app-text/poppler[cairo]
+ >=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
+ x11-libs/gtk+:2
+ ffmpeg? ( >=virtual/ffmpeg-0.6.90 )
+ gsf? ( >=gnome-extra/libgsf-1.14.21 )
+ qt4? (
+ x11-libs/qt-gui:4
+ x11-libs/qt-svg:4
+ )"
+DEPEND="${RDEPEND}
+ dev-util/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
+}
+
+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
+
+ 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:=.*:='':" {} +
+}
diff --git a/media-libs/libextractor/metadata.xml b/media-libs/libextractor/metadata.xml
index aa0f3664825f..73fda0e4eb34 100644
--- a/media-libs/libextractor/metadata.xml
+++ b/media-libs/libextractor/metadata.xml
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>net-p2p</herd>
+ <herd>net-p2p</herd>
+ <maintainer>
+ <email>ssuominen@gentoo.org</email>
+ <name>Samuli Suominen</name>
+ </maintainer>
+ <use>
+ <flag name='gsf'>Enable OLE2 (MS Office) plug-in support using <pkg>gnome-base/libgsf</pkg></flag>
+ </use>
</pkgmetadata>