summaryrefslogtreecommitdiff
path: root/user/poppler
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-06-11 23:05:52 -0500
committerZach van Rijn <me@zv.io>2022-06-12 23:51:55 +0000
commit3277887e8cc958965876d92577d0481553cf885b (patch)
treefac5582c20da714ee8328f58cbeb06d5681041e9 /user/poppler
parent69dd3b0d2c19245a496d289e030a3e55844090bf (diff)
downloadpackages-3277887e8cc958965876d92577d0481553cf885b.tar.gz
packages-3277887e8cc958965876d92577d0481553cf885b.tar.bz2
packages-3277887e8cc958965876d92577d0481553cf885b.tar.xz
packages-3277887e8cc958965876d92577d0481553cf885b.zip
user/poppler: Update to 22.06.0
Diffstat (limited to 'user/poppler')
-rw-r--r--user/poppler/APKBUILD20
1 files changed, 7 insertions, 13 deletions
diff --git a/user/poppler/APKBUILD b/user/poppler/APKBUILD
index 5ea8219f3..25ad9b820 100644
--- a/user/poppler/APKBUILD
+++ b/user/poppler/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer:
pkgname=poppler
-pkgver=0.83.0
+pkgver=22.06.0
pkgrel=0
pkgdesc="PDF rendering library based on xpdf 3.0"
url="https://poppler.freedesktop.org/"
@@ -11,10 +11,9 @@ depends=""
depends_dev="cairo-dev glib-dev"
makedepends="$depends_dev libjpeg-turbo-dev cairo-dev libxml2-dev openjpeg-dev
fontconfig-dev gobject-introspection-dev lcms2-dev libpng-dev tiff-dev
- zlib-dev cmake"
+ zlib-dev boost-dev cmake"
subpackages="$pkgname-dev $pkgname-doc $pkgname-utils $pkgname-glib"
source="https://poppler.freedesktop.org/poppler-$pkgver.tar.xz"
-builddir="$srcdir"/$pkgname-$pkgver/build
# secfixes:
# 0.77.0-r0:
@@ -29,23 +28,18 @@ builddir="$srcdir"/$pkgname-$pkgver/build
# - CVE-2019-9959
# - CVE-2019-14494
-prepare() {
- default_prepare
- mkdir "$builddir"
-}
-
build() {
- cmake \
+ cmake -Bbuild \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
- ..
- make
+ .
+ make -C build
}
package() {
- make DESTDIR="$pkgdir" install
+ make -C build DESTDIR="$pkgdir" install
}
utils() {
@@ -63,4 +57,4 @@ glib() {
"$subpkgdir"/usr/lib/
}
-sha512sums="bfde1e3cc4d9c626949aab770d84fccbe47bdde2331d3b9f5b98c24319eb573a5db62acbfa5a524b21ed0f195f8b163fee64677c2bd616d31d0bb219d1e66713 poppler-0.83.0.tar.xz"
+sha512sums="79e1a1440a0903ea6238dcc7afc4ecdf1f8cc53af94ec5649f631fca568711d48a7ec4046fccb8520818420dc21e4ad1aaf602c22b13f9ce22f4d06edc83c8a3 poppler-22.06.0.tar.xz"