cups-filters: add a runit service for cups-browsed(8).
This commit is contained in:
parent
f02b80cc3c
commit
2ce3149b49
3
srcpkgs/cups-filters/files/cups-browsed/run
Normal file
3
srcpkgs/cups-filters/files/cups-browsed/run
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
sv check avahi-daemon >/dev/null || exit 1
|
||||
exec cups-browsed
|
|
@ -1,10 +1,10 @@
|
|||
# Template file for 'cups-filters'
|
||||
pkgname=cups-filters
|
||||
version=1.0.67
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --with-rcdir=no --enable-avahi
|
||||
--with-browseremoteprotocols=DNSSD,CUPS"
|
||||
--with-browseremoteprotocols=DNSSD,CUPS --sbindir=/usr/bin"
|
||||
hostmakedepends="pkg-config ghostscript poppler-utils"
|
||||
makedepends="lcms2-devel libpng-devel libqpdf-devel
|
||||
poppler-cpp-devel fontconfig-devel avahi-glib-libs-devel
|
||||
|
@ -28,6 +28,8 @@ replaces="foomatic-filters>=0"
|
|||
post_install() {
|
||||
if [ "$build_option_systemd" ]; then
|
||||
vinstall utils/cups-browsed.service 644 usr/lib/systemd/system
|
||||
else
|
||||
vsv cups-browsed
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user