diff --git a/srcpkgs/cups-filters/files/cups-browsed/run b/srcpkgs/cups-filters/files/cups-browsed/run new file mode 100644 index 00000000000..21ce0bd50f5 --- /dev/null +++ b/srcpkgs/cups-filters/files/cups-browsed/run @@ -0,0 +1,3 @@ +#!/bin/sh +sv check avahi-daemon >/dev/null || exit 1 +exec cups-browsed diff --git a/srcpkgs/cups-filters/template b/srcpkgs/cups-filters/template index bde5c0c6c95..cb204c01e87 100644 --- a/srcpkgs/cups-filters/template +++ b/srcpkgs/cups-filters/template @@ -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 }