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

Check Repology info from m* to python-babel
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jul 12 18:34:58 2018 +0300 (2018-07-12)
parents d43bf7aae921
children d5aab818505e
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/"
10 REPOLOGY="poppler"
12 TARBALL="poppler-$VERSION.tar.xz"
13 WGET_URL="http://poppler.freedesktop.org/$TARBALL"
15 BUILD_DEPENDS="xorg-libXdamage expat-dev jpeg-dev tiff-dev \
16 freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev cairo-dev \
17 automake bzip2-dev libpng16-dev libtool Qt4-dev libxml2-dev"
18 SPLIT="poppler-qt4-apps poppler-qt4-dev"
20 # FIXME: after Qt will be available, to merge this receipt with the poppler receipt.
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 autoreconf -fi
26 ./configure \
27 --enable-zlib \
28 --enable-cairo-output \
29 --enable-poppler-qt4 \
30 --disable-libopenjpeg \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 case $PACKAGE in
39 poppler-qt4)
40 copy /usr/lib/*qt4.so*
41 DEPENDS="poppler libQtCore libQtXml libQtGui"
42 ;;
43 *-apps)
44 copy /usr/bin/
45 if [ -f $fs/usr/bin/poppler-glib-demo ]; then
46 rm -rf $fs/usr/bin/poppler-glib-demo
47 fi
48 CAT="office|utilities to manipulate PDF file"
49 DEPENDS="fontconfig poppler-qt4 cairo zlib libpng16 gcc-lib-base \
50 libQtCore libQtXml libQtGui"
51 PROVIDE="poppler-apps"
52 ;;
53 *-dev)
54 copy \
55 /usr/lib/*qt4.*a \
56 /usr/include/poppler/qt4/ \
57 /usr/lib/pkgconfig/poppler-qt4.pc
58 DEPENDS="poppler-dev"
59 ;;
60 esac
61 }