cups: update to 2.2.8.

Closes #14966.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
maxice8 2018-06-06 21:35:16 -03:00 committed by Enno Boland
parent 0d209ac4b5
commit 3777161531
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
1 changed files with 18 additions and 11 deletions

View File

@ -1,21 +1,20 @@
# Template file for 'cups'
pkgname=cups
version=2.2.7
version=2.2.8
revision=1
patch_args="-Np1"
short_desc="Common Unix Printing System"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://www.cups.org/"
license="GPL-2.0-only"
distfiles="https://github.com/apple/cups/releases/download/v${version}/cups-${version}-source.tar.gz"
checksum=3c4b637b737077565ccdfbd5f61785d03f49461ae736fcc2c0ffaf41d2c6ea6a
hostmakedepends="automake avahi-libs-devel gnutls-devel pkg-config
poppler-utils"
makedepends="acl-devel avahi-libs-devel gnutls-devel libpaper-devel libpng-devel
libusb-devel pam-devel poppler-devel tiff-devel
$(vopt_if gssapi 'mit-krb5-devel')"
depends="xdg-utils"
short_desc="Common Unix Printing System"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-only"
homepage="https://www.cups.org/"
distfiles="https://github.com/apple/cups/releases/download/v${version}/cups-${version}-source.tar.gz"
checksum=3968fc1d26fc48727508db1c1380e36c6694ab90177fd6920aec5f6cc73af9e4
conf_files="/etc/pam.d/cups /etc/cups/*.conf /etc/xinetd.d/cups-lpd"
make_dirs="
/usr/lib/cups/driver 0755 root root
@ -28,14 +27,15 @@ build_options="gssapi"
# Package build options
system_accounts="cups"
system_groups="lpadmin"
cups_pgroup="lp"
cups_homedir="/var/spool/cups"
system_groups=lpadmin
cups_pgroup=lp
cups_homedir=/var/spool/cups
pre_configure() {
aclocal -I config-scripts
autoconf -I config-scripts
}
do_configure() {
if [ "$CROSS_BUILD" ]; then
CC=cc AR= RANLIB= CFLAGS=-Os LDFLAGS= ./configure
@ -56,6 +56,7 @@ do_configure() {
--without-rcdir --without-java --without-perl --without-php \
--without-python $(vopt_enable gssapi)
}
do_build() {
# Do not run genstrings binary in cross builds.
if [ "$CROSS_BUILD" ]; then
@ -64,6 +65,11 @@ do_build() {
fi
make ${makejobs}
}
do_check() {
make check
}
do_install() {
make BUILDROOT=${DESTDIR} install
@ -106,6 +112,7 @@ libcups_package() {
vmove usr/share/man/man5/client.conf.5
}
}
cups-devel_package() {
depends="zlib-devel libcups>=${version}_${revision}"
short_desc+=" - development files"