void-packages/srcpkgs/poppler-qt4/template

21 lines
599 B
Text

# Template file for 'poppler-qt4'.
. ${XBPS_SRCPKGDIR}/poppler/template
pkgname=poppler-qt4
wrksrc="poppler-${version}"
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"
Add_dependency build qt-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
}