summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-11-23 10:27:17 +0000
committerJustin Lecher <jlec@gentoo.org>2010-11-23 10:27:17 +0000
commit1faece817fca62f7726c3aa8e7d7eb3cf1027a8e (patch)
tree588004d17a467a8773a7e803b4f4126400ab35f3 /net-print/foomatic-filters
parentVersion Bump (diff)
downloadgentoo-2-1faece817fca62f7726c3aa8e7d7eb3cf1027a8e.tar.gz
gentoo-2-1faece817fca62f7726c3aa8e7d7eb3cf1027a8e.tar.bz2
gentoo-2-1faece817fca62f7726c3aa8e7d7eb3cf1027a8e.zip
Version Bump
(Portage version: 2.2.0_alpha4/cvs/Linux x86_64)
Diffstat (limited to 'net-print/foomatic-filters')
-rw-r--r--net-print/foomatic-filters/ChangeLog7
-rw-r--r--net-print/foomatic-filters/foomatic-filters-4.0.5.ebuild57
2 files changed, 63 insertions, 1 deletions
diff --git a/net-print/foomatic-filters/ChangeLog b/net-print/foomatic-filters/ChangeLog
index cbd3b23060f9..3bffe4521327 100644
--- a/net-print/foomatic-filters/ChangeLog
+++ b/net-print/foomatic-filters/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-print/foomatic-filters
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/ChangeLog,v 1.65 2010/05/17 20:37:21 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/ChangeLog,v 1.66 2010/11/23 10:27:17 jlec Exp $
+
+*foomatic-filters-4.0.5 (23 Nov 2010)
+
+ 23 Nov 2010; Justin Lecher <jlec@gentoo.org> +foomatic-filters-4.0.5.ebuild:
+ Version Bump
*foomatic-filters-4.0.4 (17 May 2010)
diff --git a/net-print/foomatic-filters/foomatic-filters-4.0.5.ebuild b/net-print/foomatic-filters/foomatic-filters-4.0.5.ebuild
new file mode 100644
index 000000000000..a4c5f0a8615c
--- /dev/null
+++ b/net-print/foomatic-filters/foomatic-filters-4.0.5.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2010 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.5.ebuild,v 1.1 2010/11/23 10:27:17 jlec Exp $
+
+EAPI="2"
+
+inherit autotools eutils versionator
+
+DESCRIPTION="Foomatic wrapper scripts"
+HOMEPAGE="http://www.linuxprinting.org/foomatic.html"
+SRC_URI="http://www.linuxprinting.org/download/foomatic/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="cups"
+
+RDEPEND="cups? ( >=net-print/cups-1.1.19 )
+ !cups? (
+ || (
+ app-text/enscript
+ app-text/a2ps
+ app-text/mpage
+ )
+ )
+ dev-lang/perl
+ app-text/ghostscript-gpl"
+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.3-multilib.patch
+ eautoreconf || die "eautoreconf failed"
+
+ export CUPS_BACKENDS=${CUPS_SERVERBIN}/backend \
+ CUPS_FILTERS=${CUPS_SERVERBIN}/filter CUPS=${CUPS_SERVERBIN}/
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dosym /usr/bin/foomatic-rip /usr/bin/lpdomatic || die
+
+ 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 "${D}"/${CUPS_SERVERBIN}/filter
+ rm -r "${D}"/${CUPS_SERVERBIN}/backend
+ fi
+}