1 |
ssuominen 12/06/01 07:10:22 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libextractor-0.6.3-r1.ebuild |
5 |
Log: |
6 |
USE flags "gtk" and "pdf" for optionalizing app-text/poppler and x11-libs/gtk+:2 wrt #415447 by Thomas Beutin |
7 |
|
8 |
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.69 media-libs/libextractor/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libextractor/ChangeLog?rev=1.69&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libextractor/ChangeLog?rev=1.69&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libextractor/ChangeLog?r1=1.68&r2=1.69 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/libextractor/ChangeLog,v |
20 |
retrieving revision 1.68 |
21 |
retrieving revision 1.69 |
22 |
diff -u -r1.68 -r1.69 |
23 |
--- ChangeLog 11 May 2012 08:21:34 -0000 1.68 |
24 |
+++ ChangeLog 1 Jun 2012 07:10:22 -0000 1.69 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for media-libs/libextractor |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libextractor/ChangeLog,v 1.68 2012/05/11 08:21:34 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libextractor/ChangeLog,v 1.69 2012/06/01 07:10:22 ssuominen Exp $ |
30 |
+ |
31 |
+*libextractor-0.6.3-r1 (01 Jun 2012) |
32 |
+ |
33 |
+ 01 Jun 2012; Samuli Suominen <ssuominen@g.o> |
34 |
+ +libextractor-0.6.3-r1.ebuild: |
35 |
+ USE flags "gtk" and "pdf" for optionalizing app-text/poppler and |
36 |
+ x11-libs/gtk+:2 wrt #415447 by Thomas Beutin |
37 |
|
38 |
11 May 2012; Samuli Suominen <ssuominen@g.o> |
39 |
-libextractor-0.5.19a.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 media-libs/libextractor/libextractor-0.6.3-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libextractor/libextractor-0.6.3-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libextractor/libextractor-0.6.3-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: libextractor-0.6.3-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $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 $ |
53 |
|
54 |
EAPI=4 |
55 |
inherit eutils flag-o-matic multilib toolchain-funcs |
56 |
|
57 |
DESCRIPTION="A library used to extract metadata from files of arbitrary type" |
58 |
HOMEPAGE="http://www.gnu.org/software/libextractor/" |
59 |
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
64 |
IUSE="ffmpeg gsf gtk pdf qt4" # test |
65 |
|
66 |
RDEPEND="app-arch/bzip2 |
67 |
app-text/iso-codes |
68 |
>=dev-libs/glib-2 |
69 |
media-gfx/exiv2 |
70 |
media-libs/flac |
71 |
media-libs/libmpeg2 |
72 |
media-libs/libogg |
73 |
media-libs/libvorbis |
74 |
>=sys-devel/libtool-2.2.6b |
75 |
sys-libs/zlib |
76 |
virtual/libintl |
77 |
ffmpeg? ( >=virtual/ffmpeg-0.10 ) |
78 |
gsf? ( >=gnome-extra/libgsf-1.14.21 ) |
79 |
gtk? ( x11-libs/gtk+:2 ) |
80 |
pdf? ( app-text/poppler[cairo] ) |
81 |
qt4? ( |
82 |
x11-libs/qt-gui:4 |
83 |
x11-libs/qt-svg:4 |
84 |
)" |
85 |
DEPEND="${RDEPEND} |
86 |
virtual/pkgconfig |
87 |
sys-devel/gettext" |
88 |
# test? ( app-forensics/zzuf ) |
89 |
|
90 |
RESTRICT="test" |
91 |
|
92 |
DOCS="AUTHORS ChangeLog NEWS README TODO" |
93 |
|
94 |
src_prepare() { |
95 |
sed -i \ |
96 |
-e 's:CODEC_TYPE_VIDEO:AVMEDIA_TYPE_VIDEO:' \ |
97 |
src/plugins/thumbnailffmpeg_extractor.c || die |
98 |
|
99 |
# Missing AC_ARG_ENABLE wrt #415447 |
100 |
use gtk || { sed -i -e '/min_gtk_version=/s:=.*:=9999:' configure || die; } |
101 |
|
102 |
# m4/ax_create_pkgconfig_info.m4 is passing environment LDFLAGS to Libs: |
103 |
sed -i -e '/^ax_create_pkgconfig_ldflags=/s:$LDFLAGS ::' configure || die |
104 |
} |
105 |
|
106 |
src_configure() { |
107 |
local myconf |
108 |
|
109 |
if use qt4; then |
110 |
append-cppflags "$($(tc-getPKG_CONFIG) --cflags-only-I QtGui QtSvg)" |
111 |
append-ldflags "$($(tc-getPKG_CONFIG) --libs-only-L QtGui QtSvg)" |
112 |
else |
113 |
myconf="--without-qt" |
114 |
fi |
115 |
|
116 |
# Missing AC_ARG_ENABLE wrt #415447. Both because of private _ZTI9MemStream. |
117 |
local opt |
118 |
for opt in ac_cv_header_poppler_goo_gmem_h ac_cv_lib_poppler__ZTI9MemStream; do |
119 |
export ${opt}=$(usex pdf) |
120 |
done |
121 |
|
122 |
econf \ |
123 |
--enable-glib \ |
124 |
$(use_enable gsf) \ |
125 |
--disable-gnome \ |
126 |
$(use_enable ffmpeg) \ |
127 |
${myconf} |
128 |
} |
129 |
|
130 |
src_compile() { |
131 |
emake -j1 |
132 |
} |
133 |
|
134 |
src_install() { |
135 |
default |
136 |
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + |
137 |
} |