aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-04-25 21:54:03 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-06 14:47:59 +0000
commitd9fb462433d056a53ce0a7ccd125c96b5cac4f45 (patch)
treee3fb6575b6f7c48d0a6069530ef415ab6011aeae /main
parentced02868c1e243a23199c37d9cb85d458ec53ae9 (diff)
downloadaports-d9fb462433d056a53ce0a7ccd125c96b5cac4f45.tar.bz2
aports-d9fb462433d056a53ce0a7ccd125c96b5cac4f45.tar.xz
main/cups-filters: update to 1.22.5
Diffstat (limited to 'main')
-rw-r--r--main/cups-filters/APKBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/main/cups-filters/APKBUILD b/main/cups-filters/APKBUILD
index 0e26c6f9af..4a5e21cb7a 100644
--- a/main/cups-filters/APKBUILD
+++ b/main/cups-filters/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cups-filters
-pkgver=1.21.6
+pkgver=1.22.5
pkgrel=1
pkgdesc="OpenPrinting CUPS filters and backends"
url="https://wiki.linuxfoundation.org/openprinting/cups-filters"
@@ -14,12 +14,11 @@ license="GPL-2.0-or-later LGPL-2.1-or-later MIT"
# texttops/textopdf need FreeMono from ttf-freefont
# for text printing to work
depends="poppler-utils bc ttf-freefont"
-depends_dev=""
-makedepends="$depends_dev bash cups-dev libjpeg-turbo-dev poppler-dev zlib-dev
+makedepends="bash cups-dev libjpeg-turbo-dev poppler-dev zlib-dev
libpng-dev tiff-dev lcms2-dev freetype-dev ghostscript-dev
fontconfig-dev qpdf-dev avahi-dev dbus-dev linux-headers mupdf-tools
coreutils"
-install=""
+checkdepends="ttf-dejavu"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="https://www.openprinting.org/download/cups-filters/$pkgname-$pkgver.tar.xz
"
@@ -39,11 +38,17 @@ build() {
--with-pdftops=pdftops \
--with-shell=/bin/sh \
--without-rcdir \
- --without-rclevels
+ --without-rclevels \
+ --with-test-font-path=/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf
# workaround parallel build issue by building libcupsfilters.la first
make libcupsfilters.la && make libfontembed.la && make
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
@@ -65,4 +70,4 @@ libs() {
mv "$pkgdir"/usr/lib/lib*.so.* "$subpkgdir"/usr/lib/
}
-sha512sums="804250745ac710706ff1bfa6e161c0b1a8a65a74850a76a311b7614694a7e5d07f01dfd15f277ad79ed7fe1e84ea680bab1643e0b82cefa3e26603fa2eea935a cups-filters-1.21.6.tar.xz"
+sha512sums="ed33e6d6f090c00f0f0d1d012d3b394bfaa1f81feeb5b0b7ead1dffa2399f0165ce916a99c3bf28aca7f279bffba5b6575feff700130cabfcd46eb4c904d5c59 cups-filters-1.22.5.tar.xz"