summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-03-26 12:00:51 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-03-26 12:00:51 +0000
commit81f0c1ea4f1b166b4e08c6d9e606838a17f5ceb0 (patch)
tree4f42875ae7bcbee291d2921fe289313f833ae165 /net-print/foomatic-filters
parentDEPEND on x11-libs/libXt. Fix bug #406681 (diff)
downloadgentoo-2-81f0c1ea4f1b166b4e08c6d9e606838a17f5ceb0.tar.gz
gentoo-2-81f0c1ea4f1b166b4e08c6d9e606838a17f5ceb0.tar.bz2
gentoo-2-81f0c1ea4f1b166b4e08c6d9e606838a17f5ceb0.zip
Version bump to latest filters.
(Portage version: 2.2.0_alpha95/cvs/Linux x86_64)
Diffstat (limited to 'net-print/foomatic-filters')
-rw-r--r--net-print/foomatic-filters/ChangeLog8
-rw-r--r--net-print/foomatic-filters/foomatic-filters-4.0.15.ebuild63
2 files changed, 70 insertions, 1 deletions
diff --git a/net-print/foomatic-filters/ChangeLog b/net-print/foomatic-filters/ChangeLog
index 18304ab2bd05..9fc819f0286e 100644
--- a/net-print/foomatic-filters/ChangeLog
+++ b/net-print/foomatic-filters/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-print/foomatic-filters
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/ChangeLog,v 1.77 2012/03/02 21:28:59 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/ChangeLog,v 1.78 2012/03/26 12:00:51 scarabeus Exp $
+
+*foomatic-filters-4.0.15 (26 Mar 2012)
+
+ 26 Mar 2012; Tomáš Chvátal <scarabeus@gentoo.org>
+ +foomatic-filters-4.0.15.ebuild:
+ Version bump to latest filters.
02 Mar 2012; Brent Baude <ranger@gentoo.org> foomatic-filters-4.0.9.ebuild:
Marking foomatic-filters-4.0.9 ppc64 for bug 379559
diff --git a/net-print/foomatic-filters/foomatic-filters-4.0.15.ebuild b/net-print/foomatic-filters/foomatic-filters-4.0.15.ebuild
new file mode 100644
index 000000000000..acbd579aa432
--- /dev/null
+++ b/net-print/foomatic-filters/foomatic-filters-4.0.15.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/foomatic-filters-4.0.15.ebuild,v 1.1 2012/03/26 12:00:51 scarabeus Exp $
+
+EAPI=4
+
+inherit autotools eutils versionator
+
+DESCRIPTION="Foomatic wrapper scripts"
+HOMEPAGE="http://www.linuxprinting.org/foomatic.html"
+SRC_URI="http://www.openprinting.org/download/foomatic/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="cups dbus"
+
+RDEPEND="
+ dev-lang/perl
+ app-text/ghostscript-gpl
+ cups? ( >=net-print/cups-1.1.19 )
+ !cups? (
+ || (
+ app-text/enscript
+ app-text/a2ps
+ app-text/mpage
+ )
+ )
+ dbus? ( sys-apps/dbus )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ if use cups; then
+ CUPS_SERVERBIN="$(cups-config --serverbin)"
+ else
+ CUPS_SERVERBIN=""
+ fi
+
+ # Search for libs in ${libdir}, not just /usr/lib
+ epatch "${FILESDIR}"/${PN}-4.0.9-multilib.patch
+ eautoreconf
+
+ export CUPS_BACKENDS=${CUPS_SERVERBIN}/backend \
+ CUPS_FILTERS=${CUPS_SERVERBIN}/filter CUPS=${CUPS_SERVERBIN}/
+}
+
+src_configure() {
+ econf $(use_enable dbus)
+}
+
+src_install() {
+ default
+
+ dosym /usr/bin/foomatic-rip /usr/bin/lpdomatic
+
+ if use cups; then
+ dosym /usr/bin/foomatic-gswrapper "${CUPS_SERVERBIN}/filter/foomatic-gswrapper"
+ dosym /usr/bin/foomatic-rip "${CUPS_SERVERBIN}/filter/cupsomatic"
+ else
+ rm -r "${ED}"/${CUPS_SERVERBIN}/filter
+ rm -r "${ED}"/${CUPS_SERVERBIN}/backend
+ fi
+}