cups: update to 2.2.8.
Closes #14966. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
parent
0d209ac4b5
commit
3777161531
1 changed files with 18 additions and 11 deletions
|
@ -1,21 +1,20 @@
|
||||||
# Template file for 'cups'
|
# Template file for 'cups'
|
||||||
pkgname=cups
|
pkgname=cups
|
||||||
version=2.2.7
|
version=2.2.8
|
||||||
revision=1
|
revision=1
|
||||||
patch_args="-Np1"
|
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
|
hostmakedepends="automake avahi-libs-devel gnutls-devel pkg-config
|
||||||
poppler-utils"
|
poppler-utils"
|
||||||
makedepends="acl-devel avahi-libs-devel gnutls-devel libpaper-devel libpng-devel
|
makedepends="acl-devel avahi-libs-devel gnutls-devel libpaper-devel libpng-devel
|
||||||
libusb-devel pam-devel poppler-devel tiff-devel
|
libusb-devel pam-devel poppler-devel tiff-devel
|
||||||
$(vopt_if gssapi 'mit-krb5-devel')"
|
$(vopt_if gssapi 'mit-krb5-devel')"
|
||||||
depends="xdg-utils"
|
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"
|
conf_files="/etc/pam.d/cups /etc/cups/*.conf /etc/xinetd.d/cups-lpd"
|
||||||
make_dirs="
|
make_dirs="
|
||||||
/usr/lib/cups/driver 0755 root root
|
/usr/lib/cups/driver 0755 root root
|
||||||
|
@ -28,14 +27,15 @@ build_options="gssapi"
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
system_accounts="cups"
|
system_accounts="cups"
|
||||||
system_groups="lpadmin"
|
system_groups=lpadmin
|
||||||
cups_pgroup="lp"
|
cups_pgroup=lp
|
||||||
cups_homedir="/var/spool/cups"
|
cups_homedir=/var/spool/cups
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
aclocal -I config-scripts
|
aclocal -I config-scripts
|
||||||
autoconf -I config-scripts
|
autoconf -I config-scripts
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
CC=cc AR= RANLIB= CFLAGS=-Os LDFLAGS= ./configure
|
CC=cc AR= RANLIB= CFLAGS=-Os LDFLAGS= ./configure
|
||||||
|
@ -56,6 +56,7 @@ do_configure() {
|
||||||
--without-rcdir --without-java --without-perl --without-php \
|
--without-rcdir --without-java --without-perl --without-php \
|
||||||
--without-python $(vopt_enable gssapi)
|
--without-python $(vopt_enable gssapi)
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
# Do not run genstrings binary in cross builds.
|
# Do not run genstrings binary in cross builds.
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
@ -64,6 +65,11 @@ do_build() {
|
||||||
fi
|
fi
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make BUILDROOT=${DESTDIR} install
|
make BUILDROOT=${DESTDIR} install
|
||||||
|
|
||||||
|
@ -106,6 +112,7 @@ libcups_package() {
|
||||||
vmove usr/share/man/man5/client.conf.5
|
vmove usr/share/man/man5/client.conf.5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cups-devel_package() {
|
cups-devel_package() {
|
||||||
depends="zlib-devel libcups>=${version}_${revision}"
|
depends="zlib-devel libcups>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Reference in a new issue