net-print/foomatic-db: Version bump
authorManuel Rüger <mrueg@gentoo.org>
Thu, 27 Aug 2015 22:41:10 +0000 (00:41 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Thu, 27 Aug 2015 22:41:10 +0000 (00:41 +0200)
Package-Manager: portage-2.2.20.1

net-print/foomatic-db/Manifest
net-print/foomatic-db/foomatic-db-4.0.20150819.ebuild [new file with mode: 0644]

index 84c59fd637aceda3649cfbff501a9fa0e767d705..582433604877bf97aac0a274ef50b28e9283cf1c 100644 (file)
@@ -1,2 +1,3 @@
 DIST foomatic-db-4.0-20140105.tar.gz 38845034 SHA256 8c94ca9316f0e7ebc9cd69818349d49058411120b5f5ab45d4246a30bf832292 SHA512 4d06d63fe79bcfb912875b8209d658e018f4486821e7bf9433cb181d68df58602a58e755202d8ce53e0a9b9d8b0f1b31a7847c4d1346164e88105b06a4003ee4 WHIRLPOOL 77ac1ee1b13857aa07e82da540cd5d11973d9a75437c12b5fba7c115ea27cfea3fe1c3500c3fc09a74333255e824aa9e2199653e5f873bebe9c1c7c7b85800bc
 DIST foomatic-db-4.0-20141025.tar.gz 39889820 SHA256 6167c45fe3c59f45a41fe9e66514be335b0cfa554bded3155937debfa0d7b6b2 SHA512 bd430f41ae3bd76c4d9f521ee0ba03366aff88ced499dcdbd994f594129343739eda54c345525338ffc254bca1cb62863415504ccd29e3871acab7272759d40e WHIRLPOOL 5a8cf6d99941c61e92e5fe209ee1bce4c4ec7e211b05ef23ad42e13e9482fa621519e1562272d0e5337806ce79fa9b5206a658ed14e5ac429e8caaab5cfbb429
+DIST foomatic-db-4.0-20150819.tar.gz 44435833 SHA256 e9824ae1a7b20894a4be4083e49b66ed828ccc520d55abfdfa835c1eae99dee3 SHA512 18a0404ebed59f16a681c834aaa15e27411a314f5212a8c9cc70fb3af93de7ddc8a7aa320952a6e4ddc36c609a8feac8ebf32a332bddd57bfc47f7fa413a15ac WHIRLPOOL f813fe89658c2adc490ed8d4ebcff3834963378a1a2e6a9a312642049b8e0816b9773af1d6be4f36dda5ee9915e241201caf975a88f6700a67b574471a9ad2a9
diff --git a/net-print/foomatic-db/foomatic-db-4.0.20150819.ebuild b/net-print/foomatic-db/foomatic-db-4.0.20150819.ebuild
new file mode 100644 (file)
index 0000000..d722328
--- /dev/null
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit versionator
+
+DESCRIPTION="Printer information files for foomatic-db-engine to generate ppds"
+HOMEPAGE="http://www.linuxprinting.org/foomatic.html"
+SRC_URI="http://www.openprinting.org/download/foomatic/${PN}-$(replace_version_separator 2 -).tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND="
+       net-print/foomatic-db-engine
+       !net-print/foo2zjs[hp2600n]"
+
+S="${WORKDIR}/${PN}-$(get_version_component_range 3 ${PV})"
+
+src_prepare() {
+       # ppd files do not belong to this package
+       rm -r db/source/PPD || die
+}
+
+src_configure() {
+       econf \
+               --disable-gzip-ppds \
+               --disable-ppds-to-cups
+}
+
+src_install() {
+       default
+       rmdir "${ED}"/usr/share/foomatic/db/source/PPD || die
+       # Avoid collision with foo2zjs, bug 185486
+       rm "${ED}"/usr/share/foomatic/db/source/{driver/foo2{hp,lava,xqx,zjs}.xml,printer/{Generic-ZjStream_Printer,HP-{Color_LaserJet_{1500,1600,2600n},LaserJet_{10{00,05,18,20,22},M1005_MFP}},Minolta-{Color_PageWorks_Pro_L,magicolor_2{20,30,43}0_DL},Samsung-CLP-{3,6}00}.xml}  || die
+}