wok-next view poppler/receipt @ rev 21124
Rename florence-gtk2 -> florence05; remove fltk-2.0.x; add codec2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 16 21:52:02 2019 +0200 (2019-01-16) |
parents | 82b613cfd1e0 |
children | 29128929e4f9 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="poppler"
4 VERSION="0.72.0"
5 CATEGORY="office"
6 SHORT_DESC="PDF rendering library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://poppler.freedesktop.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/poppler.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://poppler.freedesktop.org/$TARBALL"
14 TARBALL_SHA1="34d3035eef26bf54cf847925a5b69bd0bf75c672"
16 BUILD_DEPENDS="cmake freetype-dev fontconfig-dev libjpeg-turbo-dev zlib-dev \
17 libpng-dev tiff-dev nss-dev cairo-dev gobject-introspection-dev gtk3-dev \
18 gdk-pixbuf-dev openjpeg2-dev lcms2-dev curl-dev poppler-data"
19 SPLIT="lib$PACKAGE $PACKAGE $PACKAGE-dev"
21 CAT_libpoppler="libs|shared library"
23 DEPENDS_libpoppler="libcairo fontconfig freetype glib lcms2 libcurl libjpeg-turbo \
24 libpng nspr nss openjpeg2 libtiff zlib"
25 DEPENDS_std="lib$PACKAGE libcairo freetype lcms2"
26 DEPENDS_dev="$PACKAGE lib$PACKAGE cairo-dev glib-dev"
28 compile_rules() {
29 mkdir build
30 cd build
32 cmake \
33 -DCMAKE_BUILD_TYPE=Release \
34 -DCMAKE_INSTALL_PREFIX=/usr \
35 -DTESTDATADIR=$PWD/test \
36 -DENABLE_XPDF_HEADERS=ON \
37 .. &&
38 make &&
39 make install || return 1
41 cook_pick_docs ../glib/reference/html
42 }