wok-next view poppler-qt4/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | 5669e8b3be70 |
children | 82b613cfd1e0 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="poppler-qt4"
4 VERSION="0.51.0"
5 CATEGORY="office"
6 SHORT_DESC="Poppler compiled with Qt4 library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://poppler.freedesktop.org/"
10 REPOLOGY="poppler"
12 TARBALL="poppler-$VERSION.tar.xz"
13 WGET_URL="http://poppler.freedesktop.org/$TARBALL"
15 BUILD_DEPENDS="libxdamage expat-dev jpeg-dev tiff-dev \
16 freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev cairo-dev \
17 automake bzip2-dev libpng-dev libtool Qt4-dev libxml2-dev"
18 SPLIT="$PACKAGE-apps $PACKAGE-dev"
20 # FIXME: after Qt will be available, to merge this receipt with the poppler receipt.
22 compile_rules() {
23 autoreconf -fi
24 ./configure \
25 --enable-zlib \
26 --enable-cairo-output \
27 --enable-poppler-qt4 \
28 --disable-libopenjpeg \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 poppler-qt4)
37 copy /usr/lib/*qt4.so*
38 DEPENDS="libpoppler libQtCore libQtXml libQtGui"
39 ;;
40 *-apps)
41 copy /usr/bin/
42 if [ -f $fs/usr/bin/poppler-glib-demo ]; then
43 rm -rf $fs/usr/bin/poppler-glib-demo
44 fi
45 CAT="office|utilities to manipulate PDF file"
46 DEPENDS="fontconfig poppler-qt4 cairo zlib libpng gcc-lib-base \
47 libQtCore libQtXml libQtGui"
48 PROVIDE="poppler"
49 ;;
50 *-dev)
51 copy \
52 /usr/lib/*qt4.*a \
53 /usr/include/poppler/qt4/ \
54 /usr/lib/pkgconfig/poppler-qt4.pc
55 DEPENDS="poppler-dev"
56 ;;
57 esac
58 }