/[gentoo-x86]/media-libs/libextractor/libextractor-0.5.20c.ebuild
Gentoo

Contents of /media-libs/libextractor/libextractor-0.5.20c.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Feb 29 07:47:16 2012 UTC (2 years, 6 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.2.0_alpha89/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libextractor/libextractor-0.5.20c.ebuild,v 1.3 2011/10/09 17:45:36 ssuominen Exp $
4
5 EAPI=4
6 inherit libtool
7
8 DESCRIPTION="A simple library for keyword extraction"
9 HOMEPAGE="http://www.gnunet.org/libextractor/"
10 SRC_URI="http://gnunet.org/${PN}/download/${P}.tar.gz"
11
12 LICENSE="LGPL-2.1"
13 SLOT="0"
14 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
15 IUSE="gtk nls vorbis zlib"
16
17 # Disabled tests because they dont work (tester@g.o)
18 RESTRICT="test"
19
20 RDEPEND=">=sys-devel/libtool-2.2.6b
21 >=dev-libs/glib-2.0.0
22 media-libs/libmpeg2
23 nls? ( virtual/libintl )
24 gtk? ( >=x11-libs/gtk+-2.6.10 )
25 zlib? ( sys-libs/zlib )
26 vorbis? ( >=media-libs/libvorbis-1.0_beta4 )"
27 DEPEND="${RDEPEND}"
28
29 src_prepare() {
30 #bug 383585
31 has_version '>=sys-libs/zlib-1.2.5.1-r1' && \
32 sed -i -e '1i#define OF(x) x' src/plugins/oo/ooextractor.c
33
34 elibtoolize
35 }
36
37 src_configure() {
38 #bug #188169 -> --disable-xpdf
39 econf \
40 --enable-glib \
41 --enable-exiv2 \
42 --disable-xpdf \
43 $(use_enable nls)
44 }
45
46 src_compile() {
47 emake -j1
48 }

  ViewVC Help
Powered by ViewVC 1.1.20