summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-08-10 13:52:36 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-08-10 13:52:36 +0000
commit72bdcd67190a6daca08f1d4beb1a4cc8bad7755d (patch)
tree52181fd4d57c7ccf3a798abed578611cf42a41bc /net-print/foomatic-filters
parentConvert to multilib, bug #479310 (diff)
downloadgentoo-2-72bdcd67190a6daca08f1d4beb1a4cc8bad7755d.tar.gz
gentoo-2-72bdcd67190a6daca08f1d4beb1a4cc8bad7755d.tar.bz2
gentoo-2-72bdcd67190a6daca08f1d4beb1a4cc8bad7755d.zip
Drop broken symlink. Fixes bug #431926
(Portage version: 2.1.13.7/cvs/Linux x86_64, signed Manifest commit with key )
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.17-r1.ebuild67
2 files changed, 74 insertions, 1 deletions
diff --git a/net-print/foomatic-filters/ChangeLog b/net-print/foomatic-filters/ChangeLog
index 73d387e3e65b..57a4f2bd573a 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-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/ChangeLog,v 1.90 2013/01/02 10:36:20 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/foomatic-filters/ChangeLog,v 1.91 2013/08/10 13:52:36 mrueg Exp $
+
+*foomatic-filters-4.0.17-r1 (10 Aug 2013)
+
+ 10 Aug 2013; Manuel Rüger <mrueg@gentoo.org>
+ +foomatic-filters-4.0.17-r1.ebuild:
+ Drop broken symlink. Fixes bug #431926
02 Jan 2013; Andreas K. Huettel <dilfridge@gentoo.org>
foomatic-filters-4.0.17.ebuild, -foomatic-filters-4.0.17-r1.ebuild:
diff --git a/net-print/foomatic-filters/foomatic-filters-4.0.17-r1.ebuild b/net-print/foomatic-filters/foomatic-filters-4.0.17-r1.ebuild
new file mode 100644
index 000000000000..bca962e64e96
--- /dev/null
+++ b/net-print/foomatic-filters/foomatic-filters-4.0.17-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2013 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.17-r1.ebuild,v 1.3 2013/08/10 13:52:36 mrueg Exp $
+
+EAPI=5
+
+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 ~amd64-fbsd ~x86-fbsd"
+IUSE="cups dbus"
+
+RDEPEND="
+ dev-lang/perl
+ app-text/ghostscript-gpl
+ cups? (
+ || (
+ ( >=net-print/cups-1.6.0 net-print/cups-filters )
+ <net-print/cups-1.6.0
+ )
+ )
+ !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-rip "${CUPS_SERVERBIN}/filter/cupsomatic"
+ else
+ rm -r "${ED}"/${CUPS_SERVERBIN}/filter
+ rm -r "${ED}"/${CUPS_SERVERBIN}/backend
+ fi
+}