void-packages/srcpkgs/poppler-qt4/template

39 lines
1.5 KiB
Text

# Template file for 'poppler-qt4'.
pkgname=poppler-qt4
version=0.20.2
revision=2
wrksrc="poppler-${version}"
depends="qt>=4.8.2_2"
build_style=gnu-configure
configure_args="--enable-zlib --enable-libcurl --enable-libjpeg
--enable-libtiff --disable-libopenjpeg --enable-cairo-output
--enable-xpdf-headers --disable-gtk-test --disable-poppler-glib
--enable-poppler-qt4 --disable-poppler-cpp --disable-utils
--disable-static"
subpackages="poppler-qt4-devel"
makedepends="pkg-config libpng-devel>=1.5.10 gobject-introspection
tiff-devel lcms2-devel libcurl-devel qt-devel>=4.8.2_2"
fulldepends="poppler-data"
short_desc="PDF rendering library -- QT bindings"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://poppler.freedesktop.org"
distfiles="${homepage}/poppler-$version.tar.gz"
checksum=2debc5034e0e85402957d84fb2674737658a3dbe8a3c631e1792e3f8c88ce369
long_desc="
This is poppler, a PDF rendering library. It is a fork of the xpdf
3.0 PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC.
Poppler provides PDF rendering functionality as a shared library,
to centralize the maintenence effort and to reduce duplicated
effort. And the poppler developers would like to move libpoppler
forward in a number of areas that doesn't fit within the goals of xpdf.
This package contains the poppler QT 4 bindings."
post_install() {
rm -f ${DESTDIR}/usr/lib/libpoppler.*
for f in poppler-cairo poppler-splash poppler; do
rm -f ${DESTDIR}/usr/lib/pkgconfig/${f}.pc
done
}