wok-next view poppler/receipt @ rev 21527
updated bootchart (0.9 -> 1.20)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 19 15:06:45 2020 +0100 (2020-06-19) |
parents | 1bccb307f229 |
children |
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 liblcms2 libcurl libjpeg-turbo \
24 libpng nspr nss openjpeg2 libtiff zlib"
25 DEPENDS_std="lib$PACKAGE libcairo freetype liblcms2"
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 }