cups: build option avahi to permit dep cycle break
This commit is contained in:
parent
200a7971d8
commit
4ba998f26c
@ -2,10 +2,11 @@
|
|||||||
pkgname=cups
|
pkgname=cups
|
||||||
version=2.3.3
|
version=2.3.3
|
||||||
revision=1
|
revision=1
|
||||||
hostmakedepends="automake avahi-libs-devel gnutls-devel pkg-config
|
hostmakedepends="automake $(vopt_if avahi avahi-libs-devel)
|
||||||
poppler-utils"
|
gnutls-devel pkg-config poppler-utils"
|
||||||
makedepends="acl-devel avahi-libs-devel gnutls-devel libpaper-devel
|
makedepends="acl-devel gnutls-devel libpaper-devel libpng-devel
|
||||||
libpng-devel libusb-devel pam-devel poppler-devel tiff-devel
|
libusb-devel pam-devel poppler-devel tiff-devel
|
||||||
|
$(vopt_if avahi avahi-libs-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"
|
short_desc="Common Unix Printing System"
|
||||||
@ -23,9 +24,11 @@ make_dirs="
|
|||||||
/var/spool/cups 0755 cups lp
|
/var/spool/cups 0755 cups lp
|
||||||
/etc/cups/ssl 0700 cups lp"
|
/etc/cups/ssl 0700 cups lp"
|
||||||
|
|
||||||
build_options="gssapi"
|
build_options="avahi gssapi"
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
|
build_options_default="avahi"
|
||||||
|
|
||||||
system_accounts="cups"
|
system_accounts="cups"
|
||||||
system_groups=lpadmin
|
system_groups=lpadmin
|
||||||
cups_pgroup=lp
|
cups_pgroup=lp
|
||||||
@ -50,7 +53,7 @@ do_configure() {
|
|||||||
--enable-threads --with-logdir=/var/log/cups \
|
--enable-threads --with-logdir=/var/log/cups \
|
||||||
--with-docdir=/usr/share/cups/doc --with-rundir=/run/cups \
|
--with-docdir=/usr/share/cups/doc --with-rundir=/run/cups \
|
||||||
--with-cups-user=cups --with-cups-group=lp --with-system-groups="lpadmin sys root" --enable-relro \
|
--with-cups-user=cups --with-cups-group=lp --with-system-groups="lpadmin sys root" --enable-relro \
|
||||||
--enable-libpaper --enable-avahi --enable-pam --enable-ssl \
|
--enable-libpaper $(vopt_enable avahi) --enable-pam --enable-ssl \
|
||||||
--with-menudir=/usr/share/applications --with-xinetd=/etc/xinetd.d \
|
--with-menudir=/usr/share/applications --with-xinetd=/etc/xinetd.d \
|
||||||
--with-optim="${CFLAGS}" --disable-systemd --disable-launchd \
|
--with-optim="${CFLAGS}" --disable-systemd --disable-launchd \
|
||||||
--without-rcdir --without-java --without-perl --without-php \
|
--without-rcdir --without-java --without-perl --without-php \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user