void-packages/srcpkgs/poppler-qt4/template

22 lines
689 B
Text

# Template file for 'poppler-qt4'.
. ${XBPS_SRCPKGDIR}/poppler/template
pkgname=poppler-qt4
wrksrc="poppler-${version}"
makedepends="pkg-config gobject-introspection tiff-devel lcms2-devel libcurl-devel qt-devel"
fulldepends="poppler-data"
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
}