cups-filters: add a runit service for cups-browsed(8).
This commit is contained in:
parent
f02b80cc3c
commit
2ce3149b49
2 changed files with 7 additions and 2 deletions
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'
|
# Template file for 'cups-filters'
|
||||||
pkgname=cups-filters
|
pkgname=cups-filters
|
||||||
version=1.0.67
|
version=1.0.67
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --with-rcdir=no --enable-avahi
|
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"
|
hostmakedepends="pkg-config ghostscript poppler-utils"
|
||||||
makedepends="lcms2-devel libpng-devel libqpdf-devel
|
makedepends="lcms2-devel libpng-devel libqpdf-devel
|
||||||
poppler-cpp-devel fontconfig-devel avahi-glib-libs-devel
|
poppler-cpp-devel fontconfig-devel avahi-glib-libs-devel
|
||||||
|
@ -28,6 +28,8 @@ replaces="foomatic-filters>=0"
|
||||||
post_install() {
|
post_install() {
|
||||||
if [ "$build_option_systemd" ]; then
|
if [ "$build_option_systemd" ]; then
|
||||||
vinstall utils/cups-browsed.service 644 usr/lib/systemd/system
|
vinstall utils/cups-browsed.service 644 usr/lib/systemd/system
|
||||||
|
else
|
||||||
|
vsv cups-browsed
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue