New package: poppler-qt5-0.31.0
This commit is contained in:
parent
1cd726cea2
commit
427d9ed95a
5 changed files with 46 additions and 1 deletions
|
@ -342,6 +342,7 @@ libpoppler.so.50 poppler-0.31.0_1
|
|||
libpoppler-glib.so.8 poppler-glib-0.18.2_1
|
||||
libpoppler-cpp.so.0 poppler-cpp-0.18.2_1
|
||||
libpoppler-qt4.so.4 poppler-qt4-0.22.3_1
|
||||
libpoppler-qt5.so.1 poppler-qt5-0.31.0_1
|
||||
libtcl8.6.so tcl-8.6.0_1
|
||||
libtk8.6.so tk-8.6.1_3
|
||||
libsqlite3.so.0 sqlite-3.6.13_1
|
||||
|
|
1
srcpkgs/poppler-qt5-devel
Symbolic link
1
srcpkgs/poppler-qt5-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
poppler-qt5
|
42
srcpkgs/poppler-qt5/template
Normal file
42
srcpkgs/poppler-qt5/template
Normal file
|
@ -0,0 +1,42 @@
|
|||
# Template file for 'poppler-qt5'
|
||||
#
|
||||
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/poppler"; IT IS SPLITTED TO AVOID
|
||||
# A CYCLIC DEPENDENCY: qt5 -> cups -> poppler -> qt5.
|
||||
#
|
||||
pkgname=poppler-qt5
|
||||
version=0.31.0
|
||||
revision=1
|
||||
wrksrc="poppler-${version}"
|
||||
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
|
||||
--disable-poppler-qt4 --enable-poppler-qt5 --disable-poppler-cpp
|
||||
--disable-utils --disable-static --disable-introspection"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libpng-devel>=1.6 tiff-devel lcms2-devel libcurl-devel
|
||||
fontconfig-devel cairo-devel qt5-devel"
|
||||
short_desc="PDF rendering library - Qt5 bindings"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2"
|
||||
homepage="http://poppler.freedesktop.org"
|
||||
distfiles="${homepage}/poppler-$version.tar.xz"
|
||||
checksum=943290270dca390d8f14467d54b06a25d9d6f70dc5853b0a9b89c62f74570694
|
||||
|
||||
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-qt5-devel_package() {
|
||||
depends="poppler-devel>=${version} ${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include/poppler/qt5
|
||||
vmove usr/lib/libpoppler-qt5.so
|
||||
vmove usr/lib/pkgconfig/poppler-qt5.pc
|
||||
rm -rf ${DESTDIR}/usr/include
|
||||
}
|
||||
}
|
1
srcpkgs/poppler-qt5/update
Normal file
1
srcpkgs/poppler-qt5/update
Normal file
|
@ -0,0 +1 @@
|
|||
pkgname=poppler
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'poppler'
|
||||
#
|
||||
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/poppler-qt4".
|
||||
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/poppler-qt{4,5}".
|
||||
#
|
||||
pkgname=poppler
|
||||
version=0.31.0
|
||||
|
|
Loading…
Reference in a new issue