summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-05-17 11:01:12 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-05-17 11:01:29 +0200
commit909966f477ca0c5c17cbf083982b730452335e9d (patch)
treebb297307ee9bdcb1f3c775d15fef92b2fc02aa69 /net-print
parentnet-print/cups-filters: Bump to version 1.14.0 (diff)
downloadgentoo-909966f477ca0c5c17cbf083982b730452335e9d.tar.gz
gentoo-909966f477ca0c5c17cbf083982b730452335e9d.tar.bz2
gentoo-909966f477ca0c5c17cbf083982b730452335e9d.zip
net-print/cups-filters: Sync live ebuild.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-print')
-rw-r--r--net-print/cups-filters/cups-filters-9999.ebuild50
1 files changed, 27 insertions, 23 deletions
diff --git a/net-print/cups-filters/cups-filters-9999.ebuild b/net-print/cups-filters/cups-filters-9999.ebuild
index c15519475fea..a6b05ac76fea 100644
--- a/net-print/cups-filters/cups-filters-9999.ebuild
+++ b/net-print/cups-filters/cups-filters-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=6
GENTOO_DEPEND_ON_PERL=no
-inherit eutils perl-module systemd
+inherit perl-module systemd
if [[ "${PV}" == "9999" ]] ; then
inherit bzr autotools
@@ -19,7 +19,7 @@ HOMEPAGE="https://wiki.linuxfoundation.org/openprinting/pdf_as_standard_print_jo
LICENSE="MIT GPL-2"
SLOT="0"
-IUSE="dbus +foomatic jpeg ldap pdf perl png +postscript static-libs tiff zeroconf"
+IUSE="dbus +foomatic ipp_autosetup jpeg ldap pdf perl png +postscript static-libs tiff zeroconf"
RDEPEND="
postscript? ( >=app-text/ghostscript-gpl-9.09[cups] )
@@ -31,6 +31,7 @@ RDEPEND="
media-libs/lcms:2
>=net-print/cups-1.7.3
!<=net-print/cups-1.5.9999
+ sys-devel/bc
sys-libs/zlib
dbus? ( sys-apps/dbus )
foomatic? ( !net-print/foomatic-filters )
@@ -52,27 +53,30 @@ src_prepare() {
}
src_configure() {
- econf \
- --docdir="${EPREFIX}/usr/share/doc/${PF}" \
- --localstatedir="${EPREFIX}"/var \
- --with-cups-rundir="${EPREFIX}"/run/cups \
- $(use_enable dbus) \
- $(use_enable zeroconf avahi) \
- $(use_enable static-libs static) \
- $(use_enable foomatic) \
- $(use_enable ldap) \
- $(use_enable pdf mutool) \
- $(use_enable postscript ghostscript) \
- $(use_enable postscript ijs) \
- --with-fontdir="fonts/conf.avail" \
- --with-pdftops=pdftops \
- --enable-imagefilters \
- $(use_with jpeg) \
- $(use_with png) \
- $(use_with tiff) \
- --with-rcdir=no \
- --with-browseremoteprotocols=DNSSD,CUPS \
+ local myeconfargs=(
+ --docdir="${EPREFIX}/usr/share/doc/${PF}"
+ --enable-imagefilters
+ --localstatedir="${EPREFIX}"/var
+ --with-browseremoteprotocols=DNSSD,CUPS
+ --with-cups-rundir="${EPREFIX}"/run/cups
+ --with-fontdir="fonts/conf.avail"
+ --with-pdftops=pdftops
+ --with-rcdir=no
--without-php
+ $(use_enable dbus)
+ $(use_enable foomatic)
+ $(use_enable ipp_autosetup auto-setup-driverless)
+ $(use_enable ldap)
+ $(use_enable pdf mutool)
+ $(use_enable postscript ghostscript)
+ $(use_enable postscript ijs)
+ $(use_enable static-libs static)
+ $(use_enable zeroconf avahi)
+ $(use_with jpeg)
+ $(use_with png)
+ $(use_with tiff)
+ )
+ econf "${myeconfargs[@]}"
}
src_compile() {
@@ -102,7 +106,7 @@ src_install() {
dosym gstopxl /usr/libexec/cups/filter/pstopxl
fi
- prune_libtool_files --all
+ find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
cp "${FILESDIR}"/cups-browsed.init.d-r1 "${T}"/cups-browsed || die