summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-03-23 18:22:28 -0400
committerMike Frysinger <vapier@gentoo.org>2016-03-23 18:25:08 -0400
commitf0b88d62bdd4b6fee3d4add668de349a22167c11 (patch)
treec8c215a6eb202a05eccdbefc10c99d6996d89ce0 /net-print/cups-filters/cups-filters-9999.ebuild
parentsys-fs/f2fs-tools: version bump to 1.6.1 (diff)
downloadgentoo-f0b88d62bdd4b6fee3d4add668de349a22167c11.tar.gz
gentoo-f0b88d62bdd4b6fee3d4add668de349a22167c11.tar.bz2
gentoo-f0b88d62bdd4b6fee3d4add668de349a22167c11.zip
net-print/cups-filters: add --enable-ijs control too
Was missed in previous commit here. Also sync the live git version.
Diffstat (limited to 'net-print/cups-filters/cups-filters-9999.ebuild')
-rw-r--r--net-print/cups-filters/cups-filters-9999.ebuild26
1 files changed, 12 insertions, 14 deletions
diff --git a/net-print/cups-filters/cups-filters-9999.ebuild b/net-print/cups-filters/cups-filters-9999.ebuild
index fad7ebc0e1a5..fe1b994b7fb3 100644
--- a/net-print/cups-filters/cups-filters-9999.ebuild
+++ b/net-print/cups-filters/cups-filters-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -20,10 +20,10 @@ HOMEPAGE="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdf
LICENSE="MIT GPL-2"
SLOT="0"
-IUSE="dbus +foomatic jpeg ldap perl png static-libs tiff zeroconf"
+IUSE="dbus +foomatic jpeg ldap perl png +postscript static-libs tiff zeroconf"
RDEPEND="
- >=app-text/ghostscript-gpl-9.09[cups]
+ postscript? ( >=app-text/ghostscript-gpl-9.09[cups] )
>=app-text/poppler-0.32:=[cxx,jpeg?,lcms,tiff?,utils,xpdf-headers(+)]
>=app-text/qpdf-3.0.2:=
dev-libs/glib:2
@@ -59,7 +59,10 @@ src_configure() {
$(use_enable dbus) \
$(use_enable zeroconf avahi) \
$(use_enable static-libs static) \
+ $(use_enable foomatic) \
$(use_enable ldap) \
+ $(use_enable postscript ghostscript) \
+ $(use_enable postscript ijs) \
--with-fontdir="fonts/conf.avail" \
--with-pdftops=pdftops \
--enable-imagefilters \
@@ -67,7 +70,7 @@ src_configure() {
$(use_with png) \
$(use_with tiff) \
--with-rcdir=no \
- --with-browseremoteprotocols=DNSSD,CUPS \
+ --with-browseremoteprotocols=DNSSD,CUPS \
--without-php
}
@@ -92,9 +95,11 @@ src_install() {
popd > /dev/null
fi
- # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831
- dosym /usr/libexec/cups/filter/gstoraster /usr/libexec/cups/filter/pstoraster
- dosym /usr/libexec/cups/filter/gstopxl /usr/libexec/cups/filter/pstopxl
+ if use postscript; then
+ # workaround: some printer drivers still require pstoraster and pstopxl, bug #383831
+ dosym gstoraster /usr/libexec/cups/filter/pstoraster
+ dosym gstopxl /usr/libexec/cups/filter/pstopxl
+ fi
prune_libtool_files --all
@@ -105,13 +110,6 @@ src_install() {
sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/utils/cups-browsed.service || die
fi
- if ! use foomatic ; then
- # this needs an upstream solution / configure switch
- rm -v "${ED}/usr/bin/foomatic-rip" || die
- rm -v "${ED}/usr/libexec/cups/filter/foomatic-rip" || die
- rm -v "${ED}/usr/share/man/man1/foomatic-rip.1" || die
- fi
-
doinitd "${T}"/cups-browsed
systemd_dounit "${S}/utils/cups-browsed.service"
}