diff options
author | root <root@rshg054.dnsready.net> | 2012-12-28 03:44:09 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-28 03:44:09 -0800 |
commit | 3009e8addb4a894329bf8ab3e8fb763361833978 (patch) | |
tree | 51e0fa399f7ab05fdab88adc7c197428c4a124cc /libre | |
parent | f898ca0bac349e5ffa815b91afbcc852956d8913 (diff) |
Fri Dec 28 03:44:09 PST 2012
Diffstat (limited to 'libre')
-rw-r--r-- | libre/cups-filters-libre/PKGBUILD | 14 | ||||
-rw-r--r-- | libre/cups-filters-libre/cups-browsed.service | 10 |
2 files changed, 20 insertions, 4 deletions
diff --git a/libre/cups-filters-libre/PKGBUILD b/libre/cups-filters-libre/PKGBUILD index 84b4d0cd1..42cbd03c2 100644 --- a/libre/cups-filters-libre/PKGBUILD +++ b/libre/cups-filters-libre/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 172123 2012-11-29 18:28:53Z andyrtr $ +# $Id: PKGBUILD 173927 2012-12-28 07:18:32Z andyrtr $ # Maintainer: Andreas Radke <andyrtr@archlinux.org> pkgname=cups-filters-libre _pkgname=cups-filters -pkgver=1.0.25 +pkgver=1.0.26 pkgrel=1 pkgdesc="OpenPrinting CUPS Filters" arch=('i686' 'x86_64') @@ -16,8 +16,9 @@ optdepends=('ghostscript: for non-PostScript printers to print with CUPS to conv 'foomatic-db-engine: drivers use Ghostscript to convert PostScript to a printable form directly') backup=(etc/fonts/conf.d/99pdftoopvp.conf) options=(!libtool) -source=(http://www.openprinting.org/download/cups-filters/$_pkgname-$pkgver.tar.gz) -md5sums=('9690028c5e312b086e7572ae1899a33c') +source=(http://www.openprinting.org/download/cups-filters/$_pkgname-$pkgver.tar.gz cups-browsed.service) +md5sums=('38502cb880e1f9be0618e3b2da4c7fec' + '2beb8d9cebf20ddcc6c7598aab4812a6') replaces=("${_pkgname}") conflicts=("${_pkgname}") provides=("${_pkgname}=${pkgver}") @@ -26,6 +27,7 @@ build() { cd "$srcdir/$_pkgname-$pkgver" ./configure --prefix=/usr \ --sysconfdir=/etc \ + --enable-avahi \ --with-test-font-path=/usr/share/fonts/TTF/DejaVuSans.ttf make } @@ -40,4 +42,8 @@ package() { make DESTDIR="$pkgdir/" install # drop static lib rm -f ${pkgdir}/usr/lib/*.a + + # add missing systemd support + rm -rf ${pkgdir}/etc/rc.d + install -Dm644 ${srcdir}/cups-browsed.service ${pkgdir}/usr/lib/systemd/system/cups-browsed.service } diff --git a/libre/cups-filters-libre/cups-browsed.service b/libre/cups-filters-libre/cups-browsed.service new file mode 100644 index 000000000..d434d82f0 --- /dev/null +++ b/libre/cups-filters-libre/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 |