wok-next annotate poppler/receipt @ rev 20648

Up cookutils (1054), poppler-data (0.4.8), poppler (0.62.0), potrace (1.15), qpdf (7.1.1), tzdata (2018e)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 04 11:39:51 2018 +0300 (2018-05-04)
parents 10df65db91ad
children 94b1769614d9
rev   line source
al@19797 1 # SliTaz package receipt v2.
pankso@27 2
pankso@27 3 PACKAGE="poppler"
al@20648 4 VERSION="0.62.0"
pankso@205 5 CATEGORY="office"
al@19681 6 SHORT_DESC="PDF rendering library"
pankso@27 7 MAINTAINER="pankso@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
al@19681 9 WEB_SITE="https://poppler.freedesktop.org/"
al@20648 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/poppler.html"
al@19681 11
al@16625 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@20648 13 WGET_URL="https://poppler.freedesktop.org/$TARBALL"
pankso@27 14
al@20648 15 BUILD_DEPENDS="cmake freetype-dev fontconfig-dev libjpeg-turbo-dev zlib-dev \
al@20648 16 libpng16-dev tiff-dev nss-dev cairo-dev gobject-introspection-dev gtk+3-dev \
al@20648 17 gdk-pixbuf-dev openjpeg2-dev lcms2-dev curl-dev poppler-data"
al@19797 18 SPLIT="poppler-apps poppler-dev"
slaxemulator@10338 19
al@20534 20 compile_rules() {
al@20648 21 mkdir build
al@20648 22 cd build
al@20648 23
al@20648 24 cmake \
al@20648 25 -DCMAKE_BUILD_TYPE=Release \
al@20648 26 -DCMAKE_INSTALL_PREFIX=/usr \
al@20648 27 -DTESTDATADIR=$PWD/testfiles \
al@20648 28 -DENABLE_XPDF_HEADERS=ON \
al@20648 29 .. &&
al@20534 30 make &&
al@20534 31 make install || return 1
al@19681 32
al@20648 33 cook_pick_docs ../glib/reference/html
pankso@27 34 }
pankso@27 35
al@20534 36 genpkg_rules() {
al@19797 37 case $PACKAGE in
al@19797 38 poppler)
al@19797 39 copy *.so*
al@20648 40 DEPENDS="cairo fontconfig freetype glib lcms2 libcurl \
al@20648 41 libjpeg-turbo libpng16 nspr nss openjpeg2 tiff zlib"
al@19797 42 ;;
al@19797 43 poppler-apps)
al@19797 44 copy bin/
al@19797 45 CAT="office|utilities to manipulate PDF file"
al@20648 46 DEPENDS="cairo freetype lcms2 poppler"
al@19797 47 ;;
al@19797 48 poppler-dev)
al@20513 49 copy @dev @rm
al@19797 50 DEPENDS="poppler poppler-apps cairo-dev glib-dev"
al@19797 51 ;;
al@19797 52 esac
pankso@27 53 }