summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/cups-filters/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/libre/cups-filters/PKGBUILD b/libre/cups-filters/PKGBUILD
index 6257711a5..cb45fffef 100644
--- a/libre/cups-filters/PKGBUILD
+++ b/libre/cups-filters/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=cups-filters
-pkgver=1.28.2
+pkgver=1.28.6
pkgrel=1
pkgrel+=.parabola1
pkgdesc="OpenPrinting CUPS Filters"
@@ -19,7 +19,7 @@ license=('custom')
depends=('lcms2' 'poppler' 'qpdf' 'imagemagick' 'liblouis' 'ijs' 'libcups>=2.2.6-2' 'udev')
depends_armv7h=('poppler>=20.10.0' 'poppler<20.10.1')
depends_i686=( 'poppler>=0.90.0' 'poppler<0.90.1' )
-depends_x86_64=('poppler>=20.10.0' 'poppler<20.10.1')
+depends_x86_64=('poppler>=20.12.0' 'poppler<20.12.1')
makedepends=('ghostscript' 'ttf-dejavu' 'python' 'mupdf-tools') # ttf-dejavu for make check
makedepends_i686=('pkgconf')
optdepends=('ghostscript: for non-PostScript printers to print with CUPS to convert PostScript to raster images'
@@ -29,7 +29,7 @@ optdepends=('ghostscript: for non-PostScript printers to print with CUPS to conv
'docx2txt: to convert Microsoft OOXML text from DOCX files')
backup=(etc/cups/cups-browsed.conf)
source=(https://www.openprinting.org/download/cups-filters/$pkgname-$pkgver.tar.xz)
-sha256sums=('8869f99b0d05f1c929b640c6e12fc6b9edeffc6d98401da1cac1b4bc176c847f')
+sha256sums=('756b433cac3718e492d1da58859461862ec70bd863dbd2d4d221ab724f145f6c')
build() {
cd "$pkgname"-$pkgver
@@ -42,6 +42,7 @@ build() {
--with-browseremoteprotocols=DNSSD,CUPS \
--enable-auto-setup-driverless \
--with-test-font-path=/usr/share/fonts/TTF/DejaVuSans.ttf
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
@@ -57,7 +58,7 @@ package() {
# add upstream systemd support file
install -Dm644 utils/cups-browsed.service "${pkgdir}"/usr/lib/systemd/system/cups-browsed.service
sed -i "s|/usr/sbin/cups-browsed|/usr/bin/cups-browsed|" "${pkgdir}"/usr/lib/systemd/system/cups-browsed.service
- sed -i "s|cups.service|org.cups.cupsd.service|g" "${pkgdir}"/usr/lib/systemd/system/cups-browsed.service
+ #sed -i "s|cups.service|org.cups.cupsd.service|g" "${pkgdir}"/usr/lib/systemd/system/cups-browsed.service
# use cups group from cups pkg FS#56818
chgrp -R 209 "${pkgdir}"/etc/cups