blob: e9e56b94d3fe711430a4c9704f65aca855da61ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Description: Contient une librairie pour le rendu des fichiers pdf
# URL: http://poppler.freedesktop.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: qt, poppler
name=poppler-qt
version=0.13.0
release=2
source=(http://poppler.freedesktop.org/poppler-$version.tar.gz)
build() {
cd poppler-$version
libtoolize --force --copy
AT_M4DIR="m4" autoreconf -i
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--enable-zlib \
--enable-libjpeg \
--enable-cairo-output \
--enable-poppler-qt4 \
--disable-poppler-glib \
--disable-gtk-test \
--disable-poppler-qt
sed -i -e 's|^LDFLAGS =|LDFLAGS = -lqt-mt|' qt/Makefile
make -C goo libgoo.la
make -C splash libsplash.la
make -C fofi libfofi.la
make -C poppler libpoppler.la libpoppler-cairo.la libpoppler-arthur.la
make
make prefix=$PKG/usr install
rm -rf $PKG/usr/include/poppler/{glib,qt3,qt4}
rm -f $PKG/usr/lib/libpoppler-{glib,qt,qt4}.so*
rm -f $PKG/usr/lib/pkgconfig/poppler-{glib,qt,qt4}.pc
rm -rf $PKG/usr/share/gtk-doc
}
|