diff options
author | Luis Medinas <metalgod@gentoo.org> | 2005-08-02 16:06:14 +0000 |
---|---|---|
committer | Luis Medinas <metalgod@gentoo.org> | 2005-08-02 16:06:14 +0000 |
commit | f7cebcecb34db290eb92c35f5e19ed440102c725 (patch) | |
tree | 1e835ed170c8ecc8b289d6607d0be92ac8d13357 /net-print | |
parent | Fixed compile problems, bug #84160. Merged tic98.diff to tic98-gentoo.diff (diff) | |
download | historical-f7cebcecb34db290eb92c35f5e19ed440102c725.tar.gz historical-f7cebcecb34db290eb92c35f5e19ed440102c725.tar.bz2 historical-f7cebcecb34db290eb92c35f5e19ed440102c725.zip |
Version Bump
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/hplip/ChangeLog | 7 | ||||
-rw-r--r-- | net-print/hplip/Manifest | 4 | ||||
-rw-r--r-- | net-print/hplip/files/digest-hplip-0.9.4 | 2 | ||||
-rw-r--r-- | net-print/hplip/hplip-0.9.4.ebuild | 93 |
4 files changed, 104 insertions, 2 deletions
diff --git a/net-print/hplip/ChangeLog b/net-print/hplip/ChangeLog index 47206ccdff51..72ab2f2cb427 100644 --- a/net-print/hplip/ChangeLog +++ b/net-print/hplip/ChangeLog @@ -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.4 2005/07/28 21:00:52 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v 1.5 2005/08/02 16:06:13 metalgod Exp $ + +*hplip-0.9.4 (02 Aug 2005) + + 02 Aug 2005; <metalgod@gentoo.org> +hplip-0.9.4.ebuild: + Version Bump 28 Jul 2005; Caleb Tennis <caleb@gentoo.org> hplip-0.9.3.ebuild: Fix qt dep per bug #100235 diff --git a/net-print/hplip/Manifest b/net-print/hplip/Manifest index 02c8870de0eb..a67c28bd87bd 100644 --- a/net-print/hplip/Manifest +++ b/net-print/hplip/Manifest @@ -1,5 +1,7 @@ +MD5 546b466851814961f0f89b5f656fb3a4 ChangeLog 791 MD5 f3a777f2c6eeebb99f32e02b52b65a70 hplip-0.9.3.ebuild 2570 -MD5 c5109053b2f0acda7e810dbcd7b7300b ChangeLog 686 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 +MD5 c49d7761951eb2743e43d171bfe1fbe9 hplip-0.9.4.ebuild 2573 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 diff --git a/net-print/hplip/files/digest-hplip-0.9.4 b/net-print/hplip/files/digest-hplip-0.9.4 new file mode 100644 index 000000000000..29ad2c7501f0 --- /dev/null +++ b/net-print/hplip/files/digest-hplip-0.9.4 @@ -0,0 +1,2 @@ +MD5 2ebb0708d7ac18f923540bf75250cd30 hplip-0.9.4.tar.gz 9288525 +MD5 73c8a89d1fd5ecfad1da91d28208db82 foomatic-db-hpijs-1.5-20050607.tar.gz 87246 diff --git a/net-print/hplip/hplip-0.9.4.ebuild b/net-print/hplip/hplip-0.9.4.ebuild new file mode 100644 index 000000000000..0e9634ba2d31 --- /dev/null +++ b/net-print/hplip/hplip-0.9.4.ebuild @@ -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.4.ebuild,v 1.1 2005/08/02 16:06:13 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="~x86 ~amd64" +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 +} |