Date: Tuesday, January 31, 2023 @ 20:52:38
Author: andyrtr
Revision: 467698
upgpkg: cups 1:2.4.2-4: fix unused dependencies - FS#77329; modify pkgdesc tp
make sure its using the the OpenPrinting Cups version and no more the Apple
driven cups releases
Modified:
cups/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-31 20:47:54 UTC (rev 467697)
+++ PKGBUILD 2023-01-31 20:52:38 UTC (rev 467698)
@@ -3,14 +3,14 @@
pkgbase="cups"
pkgname=('libcups' 'cups')
pkgver=2.4.2
-pkgrel=3
+pkgrel=4
epoch=1
arch=('x86_64')
license=('Apache' 'custom')
url="https://openprinting.github.io/cups/"
-makedepends=('libtiff' 'libpng' 'acl' 'pam' 'xdg-utils' 'krb5' 'gnutls'
- 'cups-filters' 'bc' 'colord' 'gzip' 'autoconf' 'libusb' 'dbus'
- 'avahi' 'hicolor-icon-theme' 'systemd' 'libxcrypt' 'inetutils'
'libpaper' 'valgrind'
+makedepends=('acl' 'pam' 'xdg-utils' 'krb5' 'gnutls'
+ 'cups-filters' 'colord' 'gzip' 'autoconf' 'libusb' 'dbus'
+ 'avahi' 'hicolor-icon-theme' 'systemd' 'inetutils' 'libpaper'
'valgrind'
'git')
source=(https://github.com/OpenPrinting/cups/releases/download/v${pkgver}/cups-${pkgver}-source.tar.gz{,.sig}
cups.logrotate
@@ -98,8 +98,8 @@
}
package_libcups() {
-pkgdesc="The CUPS Printing System - client libraries and headers"
-depends=('gnutls' 'libtiff>=4.0.0' 'libpng>=1.5.7' 'krb5' 'avahi' 'libusb'
'libxcrypt')
+pkgdesc="OpenPrinting CUPS - client libraries and headers"
+depends=('gnutls' 'krb5' 'avahi')
cd ${pkgbase}-${pkgver}
make BUILDROOT="${pkgdir}" install-headers install-libs
@@ -112,7 +112,7 @@
}
package_cups() {
-pkgdesc="The CUPS Printing System - daemon package"
+pkgdesc="OpenPrinting CUPS - daemon package"
install=cups.install
backup=(etc/cups/cupsd.conf
etc/cups/snmp.conf
@@ -122,9 +122,10 @@
etc/cups/subscriptions.conf
etc/logrotate.d/cups
etc/pam.d/cups)
-depends=('acl' 'pam' "libcups>=${pkgver}" 'cups-filters' 'bc'
+depends=('acl' 'pam' "libcups>=${pkgver}" 'cups-filters'
'dbus' 'systemd' 'libpaper' 'hicolor-icon-theme')
-optdepends=('ipp-usb: allows to send HTTP requests via a USB connection on
devices without Ethernet or WiFi connections'
+optdepends=('libusb: for usb printer backend'
+ 'ipp-usb: allows to send HTTP requests via a USB connection on
devices without Ethernet or WiFi connections'
'xdg-utils: xdg .desktop file support'
'colord: for ICC color profile support'
'logrotate: for logfile rotation support')