Version bump
authorLuis Medinas <metalgod@gentoo.org>
Sun, 25 Sep 2005 17:00:57 +0000 (17:00 +0000)
committerLuis Medinas <metalgod@gentoo.org>
Sun, 25 Sep 2005 17:00:57 +0000 (17:00 +0000)
Package-Manager: portage-2.0.51.22-r2

net-print/hplip/ChangeLog
net-print/hplip/Manifest
net-print/hplip/files/digest-hplip-0.9.5 [new file with mode: 0644]
net-print/hplip/hplip-0.9.5.ebuild [new file with mode: 0644]

index 537722b9901450e4d673c8fa1d182d04e597f124..d2c9d4c3ccfa011a4d0978c5e96d9b55d1353e0a 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-print/hplip
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v 1.6 2005/08/03 09:29:20 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v 1.7 2005/09/25 17:00:57 metalgod Exp $
+
+*hplip-0.9.5 (25 Sep 2005)
+
+  25 Sep 2005; Luis Medinas <metalgod@gentoo.org> +hplip-0.9.5.ebuild:
+  Version bump
 
   03 Aug 2005; David Holm <dholm@gentoo.org> hplip-0.9.4.ebuild:
   Added to ~ppc.
index c5acde61c780a6579d6b2ef527a50b022b01f67a..e8dcd2598a6ac3582948ecf4b482b4d90fbcceee 100644 (file)
@@ -1,7 +1,19 @@
-MD5 3526e8f13edc6b002a829f16dedb4950 ChangeLog 871
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 46d2ac38aeb9158b126419eee13ca9e1 ChangeLog 989
 MD5 f3a777f2c6eeebb99f32e02b52b65a70 hplip-0.9.3.ebuild 2570
 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
 MD5 39df325ae3f38e64a979900d6c54d24f hplip-0.9.4.ebuild 2575
+MD5 08c6a123168afd2edaabc7724cfce658 hplip-0.9.5.ebuild 2578
 MD5 ce4ebffecf6776bf8b594d515f151b0e files/digest-hplip-0.9.3 146
 MD5 5243cb60063760c1f71d7d026720421e files/hplip.init.d 898
 MD5 6d67b8483b9c21c792fda3ed690cb26a files/digest-hplip-0.9.4 145
+MD5 4dd03ee039acb8d9c1050fc8a2689520 files/digest-hplip-0.9.5 145
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFDNuXcwUpWvClEHQoRAgzlAJ9Q6jF8QzSsEHaK3r6WbNjA5n9P8gCfSJTe
+pxga3iH5tdaMGlMShf2I1SU=
+=AhnO
+-----END PGP SIGNATURE-----
diff --git a/net-print/hplip/files/digest-hplip-0.9.5 b/net-print/hplip/files/digest-hplip-0.9.5
new file mode 100644 (file)
index 0000000..4e6eec7
--- /dev/null
@@ -0,0 +1,2 @@
+MD5 cb71d665ff935129029c78148b2b0c23 hplip-0.9.5.tar.gz 9390140
+MD5 73c8a89d1fd5ecfad1da91d28208db82 foomatic-db-hpijs-1.5-20050607.tar.gz 87246
diff --git a/net-print/hplip/hplip-0.9.5.ebuild b/net-print/hplip/hplip-0.9.5.ebuild
new file mode 100644 (file)
index 0000000..518e9f6
--- /dev/null
@@ -0,0 +1,93 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-0.9.5.ebuild,v 1.1 2005/09/25 17:00:57 metalgod Exp $
+
+inherit eutils
+
+DB_V=1.5-20050607
+DESCRIPTION="HP Linux Imaging and Printing System. Includes net-print/hpijs, scanner drivers and service tools."
+HOMEPAGE="http://hpinkjet.sourceforge.net/"
+SRC_URI="mirror://sourceforge/hpinkjet/${P}.tar.gz
+       foomaticdb? ( http://www.linuxprinting.org/download/foomatic/foomatic-db-hpijs-${DB_V}.tar.gz )"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="foomaticdb snmp X qt ppds scanner cups usb"
+
+DEPEND="dev-lang/python
+       snmp? ( >=net-analyzer/net-snmp-5.0.9 )
+       !net-print/hpijs
+       !net-print/hpoj"
+
+RDEPEND="virtual/ghostscript
+       >=dev-lang/python-2.2.0
+       scanner? (
+               >=media-gfx/sane-backends-1.0.9
+               || (
+                       X? ( >=media-gfx/xsane-0.89 )
+                       >=media-gfx/sane-frontends-1.0.9
+               )
+       )
+       qt? ( >=dev-python/PyQt-3.11 =x11-libs/qt-3* )
+       usb? ( >=dev-libs/libusb-0.1.10a sys-apps/hotplug )
+       foomaticdb? ( net-print/foomatic )
+       cups? ( net-print/cups )
+       ${DEPEND}"
+
+
+src_compile() {
+       myconf="${myconf} --disable-cups-install --disable-foomatic-install"
+
+       use snmp || myconf="${myconf} --disable-network-build"
+
+       econf ${myconf} || die "Error: econf failed!"
+       emake || die "Error: emake failed!"
+}
+
+
+src_install() {
+       make DESTDIR=${D} install
+
+       exeinto /etc/init.d
+       newexe ${FILESDIR}/hplip.init.d hplip
+
+       if use scanner; then
+               insinto /etc/sane.d
+               echo "hpaio" > dll.conf
+               doins dll.conf
+
+               dodir /usr/lib/sane
+               dosym /usr/lib/libsane-hpaio.la /usr/lib/sane/libsane-hpaio.la
+               dosym /usr/lib/libsane-hpaio.so /usr/lib/sane/libsane-hpaio.so
+               dosym /usr/lib/libsane-hpaio.so.1 /usr/lib/sane/libsane-hpaio.so.1
+               dosym /usr/lib/libsane-hpaio.so.1.0.0 /usr/lib/sane/libsane-hpaio.so.1.0.0
+       else
+               rm -f ${D}/usr/lib/libsane-hpaio.la
+               rm -f ${D}/usr/lib/libsane-hpaio.so
+               rm -f ${D}/usr/lib/libsane-hpaio.so.1
+               rm -f ${D}/usr/lib/libsane-hpaio.so.1.0.0
+       fi
+
+       if use ppds; then
+               dodir /usr/share
+               mv ${S}/prnt/hpijs/ppd ${D}/usr/share
+       fi
+
+       if use cups && use ppds ; then
+               dodir /usr/share/cups/model
+               dosym /usr/share/ppd /usr/share/cups/model/foomatic-ppds
+       fi
+
+       [ -e /usr/bin/foomatic-rip ] && rm -f ${D}/usr/bin/foomatic-rip
+
+       if use foomaticdb ; then
+               cd ../foomatic-db-hpijs-${DB_V}
+               econf || die "econf failed"
+               rm -fR data-generators/hpijs-rss
+               make || die
+               make DESTDIR=${D} install || die
+       fi
+
+       dodir /usr/share/applications
+       mv ${D}/usr/share/hplip/data/hplip.desktop ${D}/usr/share/applications
+}