wok-next view poppler-qt4/receipt @ rev 19797

Add ttf-carlito, ttf-dejavu-lgc; up atk, c-ares, cacerts, cantarell-fonts, clucene, cookutils, fontconfig, freetype, gnutls, harfbuzz, harfbuzz-icu, hicolor-icon-theme, libunistring, pango, poppler, poppler-data, poppler-qt4, shared-mime-info, ttf-dejavu.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 25 14:29:39 2017 +0300 (2017-06-25)
parents 0cd8ffbd0ae1
children 831ee4103c8f
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="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://poppler.freedesktop.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://poppler.freedesktop.org/$TARBALL"
14 BUILD_DEPENDS="xorg-libXdamage expat-dev pkg-config jpeg-dev tiff-dev \
15 freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev cairo-dev \
16 automake bzip2-dev libpng-dev libtool Qt4-dev libxml2-dev"
17 SPLIT="poppler-qt4-apps poppler-qt4-dev"
19 # FIXME: after Qt will be available, to merge this receipt with the poppler receipt.
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 autoreconf -fi
25 ./configure \
26 --enable-zlib \
27 --enable-cairo-output \
28 --enable-poppler-qt4 \
29 --disable-libopenjpeg \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 case $PACKAGE in
38 poppler-qt4)
39 copy /usr/lib/*qt4.so*
40 DEPENDS="poppler libQtCore libQtXml libQtGui"
41 ;;
42 *-apps)
43 copy /usr/bin/
44 if [ -f $fs/usr/bin/poppler-glib-demo ]; then
45 rm -rf $fs/usr/bin/poppler-glib-demo
46 fi
47 CAT="office|utilities to manipulate PDF file"
48 DEPENDS="fontconfig poppler-qt4 cairo zlib libpng gcc-lib-base \
49 libQtCore libQtXml libQtGui"
50 PROVIDE="poppler-apps"
51 ;;
52 *-dev)
53 copy \
54 /usr/lib/*qt4.*a \
55 /usr/include/poppler/qt4/ \
56 /usr/lib/pkgconfig/poppler-qt4.pc
57 DEPENDS="poppler-dev"
58 ;;
59 esac
60 }