void-packages/srcpkgs/poppler-qt4/template

24 lines
751 B
Plaintext

# Template file for 'poppler-qt4'.
. ${XBPS_SRCPKGDIR}/poppler/template
pkgname=poppler-qt4
wrksrc="poppler-${version}"
depends="qt>=4.8.2_2"
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"
revision=3
short_desc="${short_desc} -- QT bindings"
long_desc="${long_desc}
This package contains the poppler QT 4 bindings."
configure_args="${configure_args} --disable-poppler-glib --enable-poppler-qt4
--disable-poppler-cpp --disable-utils --disable-gtk-test"
subpackages="poppler-qt4-devel"
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
}