summaryrefslogtreecommitdiff
path: root/user/poppler-qt5
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-15 02:29:53 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-15 02:29:53 -0500
commitb0268692a9c7b9f0921e142250354e88020698f8 (patch)
treec1f4c3ecaaf22ba8c7bc5736325752e04bef5cdc /user/poppler-qt5
parent35d0d3edf8d2636e6ac72627ab8cf3e662971896 (diff)
downloadpackages-b0268692a9c7b9f0921e142250354e88020698f8.tar.gz
packages-b0268692a9c7b9f0921e142250354e88020698f8.tar.bz2
packages-b0268692a9c7b9f0921e142250354e88020698f8.tar.xz
packages-b0268692a9c7b9f0921e142250354e88020698f8.zip
user/poppler-qt5: bump to 0.66.0, modernise, use CMake
Diffstat (limited to 'user/poppler-qt5')
-rw-r--r--user/poppler-qt5/APKBUILD47
1 files changed, 20 insertions, 27 deletions
diff --git a/user/poppler-qt5/APKBUILD b/user/poppler-qt5/APKBUILD
index 871d112a4..701481f1c 100644
--- a/user/poppler-qt5/APKBUILD
+++ b/user/poppler-qt5/APKBUILD
@@ -1,48 +1,41 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=poppler-qt5
_realname=poppler
-pkgver=0.56.0
+pkgver=0.66.0
pkgrel=0
pkgdesc="PDF rendering library based on xpdf 3.0 (Qt 5 bindings)"
-url="http://poppler.freedesktop.org/"
+url="https://poppler.freedesktop.org/"
arch="all"
-license="GPL"
options="!check" # Test data not included in tarball
-subpackages="$pkgname-dev"
+license="GPL-2.0+"
makedepends="libjpeg-turbo-dev cairo-dev libxml2-dev fontconfig-dev
qt5-qtbase-dev poppler-dev~$pkgver lcms2-dev openjpeg-dev"
-depends=
-replaces="poppler-glib"
+depends=""
depends_dev="$makedepends"
-source="http://poppler.freedesktop.org/poppler-$pkgver.tar.xz"
+subpackages="$pkgname-dev"
+source="https://poppler.freedesktop.org/poppler-$pkgver.tar.xz"
+builddir="$srcdir"/$_realname-$pkgver
-builddir="$srcdir/$_realname-$pkgver"
+prepare() {
+ cd "$builddir"
+ mkdir -p build
+}
build() {
- cd "$builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-static \
- --disable-poppler-glib \
- --enable-cairo-output \
- --enable-xpdf-headers \
- --enable-libjpeg \
- --enable-zlib \
- --enable-poppler-qt5 \
- --disable-utils
+ cd "$builddir"/build
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ ..
make
}
package() {
- cd "$builddir"
+ cd "$builddir"/build
install -D -m644 poppler-qt5.pc "$pkgdir"/usr/lib/pkgconfig/poppler-qt5.pc
cd qt5
make DESTDIR="$pkgdir" install
}
-sha512sums="74d2ca63afcb7e155c153b4ddc71621b7f4f2c60d4fcafd873176d5ac59fafedc35b200a22c7af2013d7f75e670a1cc23d6ba878167a02209917f8d30002d528 poppler-0.56.0.tar.xz"
+sha512sums="cf0ce3855d7cc28021685731308bfdeca0a7a764345432242887852d67fb4119b149ab7ba692e7031e2f0e79b9982e71446efbd75bb7886450d13ea6c5035b51 poppler-0.66.0.tar.xz"