diff options
-rw-r--r-- | media-gfx/sane-backends/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/sane-backends/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/sane-backends/files/digest-sane-backends-1.0.14 | 2 | ||||
-rw-r--r-- | media-gfx/sane-backends/sane-backends-1.0.14.ebuild | 68 |
4 files changed, 79 insertions, 1 deletions
diff --git a/media-gfx/sane-backends/ChangeLog b/media-gfx/sane-backends/ChangeLog index 60b457fc7655..1ffba459693f 100644 --- a/media-gfx/sane-backends/ChangeLog +++ b/media-gfx/sane-backends/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/sane-backends # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/ChangeLog,v 1.32 2004/03/03 11:56:12 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/ChangeLog,v 1.33 2004/05/05 08:29:10 phosphan Exp $ + +*sane-backends-1.0.14 (05 May 2004) + + 05 May 2004; Patrick Kursawe <phosphan@gentoo.org> + sane-backends-1.0.14.ebuild: + Version bump - added gphoto2 USE support, thanks to bug #48992 03 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> sane-backends-1.0.13-r3.ebuild: diff --git a/media-gfx/sane-backends/Manifest b/media-gfx/sane-backends/Manifest index eec6c394103e..8a94d33e7fe7 100644 --- a/media-gfx/sane-backends/Manifest +++ b/media-gfx/sane-backends/Manifest @@ -2,6 +2,7 @@ MD5 776d5d6991d3116fe6aebaf58f7ec373 sane-backends-1.0.13.ebuild 1334 MD5 ef7977957f713021006c126cea468bcb sane-backends-1.0.12-r2.ebuild 1949 MD5 6a619352d6713a066391a2f72a4eaa2e sane-backends-1.0.13-r1.ebuild 1528 MD5 d7ba0173d2aadb285b022cbb18de9fee sane-backends-1.0.13-r3.ebuild 1726 +MD5 d7ba0173d2aadb285b022cbb18de9fee sane-backends-1.0.14.ebuild 1726 MD5 3c271e30b38e0577aed279bb021288c8 sane-backends-1.0.13-r2.ebuild 1729 MD5 2750e5aa6b99a1c9017fc66ede1ceaf5 ChangeLog 5975 MD5 e3010e884705ab9dfe82a3663438d36b metadata.xml 383 @@ -12,3 +13,4 @@ MD5 45cd2fdeb9fb53db4b301d508ee8e8b5 files/digest-sane-backends-1.0.13-r1 73 MD5 aaa487bfd9548bb623e44db14bce3d0e files/digest-sane-backends-1.0.13-r2 157 MD5 01607471a4380f74f7b9da650e5ca5ad files/digest-sane-backends-1.0.13-r3 160 MD5 45cd2fdeb9fb53db4b301d508ee8e8b5 files/digest-sane-backends-1.0.13 73 +MD5 38efb4d762b212d339caa112194dbf56 files/digest-sane-backends-1.0.14 160 diff --git a/media-gfx/sane-backends/files/digest-sane-backends-1.0.14 b/media-gfx/sane-backends/files/digest-sane-backends-1.0.14 new file mode 100644 index 000000000000..3249e577723f --- /dev/null +++ b/media-gfx/sane-backends/files/digest-sane-backends-1.0.14 @@ -0,0 +1,2 @@ +MD5 7ae5bf91aea34ef7956df6f53cf073bd sane-backends-1.0.14.tar.gz 3198777 +MD5 643de6a8321df8ef561170610b91b538 sane-backends-1.0.13-brothermfc-r1.patch.bz2 9727 diff --git a/media-gfx/sane-backends/sane-backends-1.0.14.ebuild b/media-gfx/sane-backends/sane-backends-1.0.14.ebuild new file mode 100644 index 000000000000..250396cd22e3 --- /dev/null +++ b/media-gfx/sane-backends/sane-backends-1.0.14.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.14.ebuild,v 1.1 2004/05/05 08:29:10 phosphan Exp $ + +inherit eutils + +IUSE="usb gphoto2" + +DESCRIPTION="Scanner Access Now Easy - Backends" +HOMEPAGE="http://www.mostang.com/sane/" + +DEPEND=">=media-libs/jpeg-6b + x86? ( sys-libs/libieee1284 ) + =sys-apps/sed-4* + usb? ( dev-libs/libusb ) + gphoto2? ( media-gfx/gphoto2 )" + +BROTHERMFCDRIVER="sane-backends-1.0.13-brothermfc-r1.patch" + +SRC_URI="ftp://ftp.mostang.com/pub/sane/${P}/${P}.tar.gz + ftp://ftp.mostang.com/pub/sane/old-versions/${P}/${P}.tar.gz + usb? ( mirror://gentoo/${BROTHERMFCDRIVER}.bz2 )" +SLOT="0" +LICENSE="GPL-2 public-domain" +KEYWORDS="~x86" + + +src_unpack() { + unpack ${A} + use usb && unpack ${BROTHERMFCDRIVER}.bz2 + cp ${FILESDIR}/linux_sg3_err.h ${S}/sanei + + cd ${S} + + #only generate the .ps and not the fonts + sed -i -e 's:$(DVIPS) sane.dvi -o sane.ps:$(DVIPS) sane.dvi -M1 -o sane.ps:' \ + doc/Makefile.in + #compile errors when using NDEBUG otherwise + sed -i -e 's:function_name:__FUNCTION__:g' backend/artec_eplus48u.c + use usb && epatch ${WORKDIR}/${BROTHERMFCDRIVER} +} + +src_compile() { + local myconf + myconf="$(use_enable usb libusb) $(use_with gphoto2)" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --host=${CHOST} ${myconf} || die + make || die +} + +src_install () { + make prefix=${D}/usr \ + sysconfdir=${D}/etc \ + mandir=${D}/usr/share/man \ + docdir=${D}/usr/share/doc/${PF} \ + install || die + + docinto backend + cd backend + dodoc GUIDE *.README *.BUGS *.CHANGES *.FAQ *.TODO + + echo "SANE_CONFIG_DIR=/etc/sane.d" > 30sane + insinto /etc/env.d + doins 30sane + +} |