blob: 82443a2cbb12ef6d9e28da1f2b1bd90629a93d1a (
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
|
# 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: gtk, poppler
name=poppler-glib
version=0.14.2
release=1
source=(http://poppler.freedesktop.org/poppler-$version.tar.gz)
build() {
cd poppler-$version
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--enable-zlib \
--enable-libjpeg \
--enable-cairo-output \
--disable-poppler-qt4 \
--enable-poppler-glib \
--disable-poppler-cpp \
--disable-poppler-qt
pushd poppler
make libpoppler-cairo.la
popd
make -j3
make prefix=$PKG/usr install
rm -r $PKG/usr/{bin,share}
rm -r $PKG/usr/lib/libpoppler.*
rm -r $PKG/usr/lib/pkgconfig/poppler{.pc,-splash.pc,-cairo.pc}
}
|