void-packages/srcpkgs/poppler-qt4/template

38 lines
1.2 KiB
Plaintext
Raw Normal View History

# Template file for 'poppler-qt4'.
pkgname=poppler-qt4
2014-05-26 09:17:27 +02:00
version=0.26.1
2014-04-29 08:15:58 +02:00
revision=1
wrksrc="poppler-${version}"
2012-07-17 14:33:07 +02:00
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 --disable-introspection"
hostmakedepends="pkg-config"
makedepends="libpng-devel>=1.5.10 tiff-devel lcms2-devel libcurl-devel
fontconfig-devel cairo-devel qt-devel>=4.8.2_2"
short_desc="PDF rendering library - QT bindings"
2012-07-17 14:33:07 +02:00
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://poppler.freedesktop.org"
distfiles="${homepage}/poppler-$version.tar.xz"
2014-05-26 09:17:27 +02:00
checksum=c8c959c3f605a17ed21e2cfec2d9379be5e0c801db4edad5e7b2e44a6cef214c
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
}
poppler-qt4-devel_package() {
2014-02-17 17:43:52 +01:00
depends="poppler-devel>=${version} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include/poppler/qt4
vmove usr/lib/pkgconfig/poppler-qt4.pc
rm -rf ${DESTDIR}/usr/include
}
}