diff --git a/srcpkgs/cups-filters/files/cups-browsed.service b/srcpkgs/cups-filters/files/cups-browsed.service new file mode 100644 index 00000000000..d434d82f0cd --- /dev/null +++ b/srcpkgs/cups-filters/files/cups-browsed.service @@ -0,0 +1,10 @@ +[Unit] +Description=a daemon to browse the Bonjour broadcasts + +[Service] +ExecStart=/usr/sbin/cups-browsed +PrivateTmp=yes + +[Install] +Also=cups.service avahi-daemon.service +WantedBy=printer.target diff --git a/srcpkgs/cups-filters/template b/srcpkgs/cups-filters/template index 06f635559c3..0df2de56cdf 100644 --- a/srcpkgs/cups-filters/template +++ b/srcpkgs/cups-filters/template @@ -1,26 +1,24 @@ # Template file for 'cups-filters' pkgname=cups-filters -version=1.0.25 +version=1.0.26 revision=1 build_style=gnu-configure -makedepends="pkg-config lcms2-devel libpng-devel>=1.5.10 tiff-devel libqpdf-devel - poppler-cpp-devel>=0.20.2 fontconfig-devel ghostscript-devel cups-devel" +makedepends="pkg-config lcms2-devel libpng-devel>=1.5.10 tiff-devel + libqpdf-devel poppler-cpp-devel>=0.20.2 fontconfig-devel avahi-libs-devel + ghostscript-devel cups-devel" fulldepends="ghostscript poppler-utils" -short_desc="OpenPrinting CUPS Filters" +short_desc="The OpenPrinting CUPS Filters" maintainer="Juan RP " license="GPL-2, LGPL-2.1, MIT" homepage="http://www.linuxfoundation.org/collaborate/workgroups/openprinting" -distfiles="http://www.openprinting.org/download/$pkgname/$pkgname-$version.tar.gz" -checksum=aa68c6c48832169edbca3ba256970419e7ad4c9273035a3dba098bd2d802f3de -long_desc=" - This distribution contains backends, filters, and other software that was - once part of the core CUPS distribution but is no longer maintained by - Apple Inc. In addition it contains additional filters developed - independently of Apple, especially filters for the PDF-centric printing - workflow introduced by OpenPrinting." +distfiles="http://www.openprinting.org/download/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=6f29f8062f3e4e331eaa41969a3f7201385bdc9e32e9a2505db18297c2f214df post_install() { # remove development stuff. rm -rf ${DESTDIR}/usr/include rm -f ${DESTDIR}/usr/lib/*.a + # install systemd service + rm -rf ${DESTDIR}/etc/rc.d + vinstall ${FILESDIR}/cups-browsed.service 644 usr/lib/systemd/system }