Lines 1-12
Link Here
|
1 |
# Copyright 1999-2008 Gentoo Foundation |
1 |
# Copyright 1999-2008 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.19-r2.ebuild,v 1.1 2008/08/01 15:18:23 phosphan Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.19-r3.ebuild,v 1.1 2008/08/03 16:47:06 phosphan Exp $ |
4 |
|
4 |
|
5 |
inherit eutils |
5 |
inherit eutils subversion |
6 |
|
6 |
|
7 |
IUSE="usb gphoto2 ipv6 v4l doc" |
7 |
ESVN_REPO_URI="https://hp3900-series.svn.sourceforge.net/svnroot/hp3900-series" |
|
|
8 |
ESVN_REVISION="174" |
8 |
|
9 |
|
9 |
DESCRIPTION="Scanner Access Now Easy - Backends" |
10 |
IUSE="usb gphoto2 ipv6 v4l doc" |
|
|
11 |
DESCRIPTION="Scanner Access Now Easy - Backends with HP3900 updates from SVN repository" |
10 |
HOMEPAGE="http://www.sane-project.org/" |
12 |
HOMEPAGE="http://www.sane-project.org/" |
11 |
|
13 |
|
12 |
RDEPEND=">=media-libs/jpeg-6b |
14 |
RDEPEND=">=media-libs/jpeg-6b |
Lines 87-92
Link Here
|
87 |
unpack ${BROTHERMFCDRIVER}.bz2 |
89 |
unpack ${BROTHERMFCDRIVER}.bz2 |
88 |
fi |
90 |
fi |
89 |
|
91 |
|
|
|
92 |
# Start patch by F.C. |
93 |
# ---------------------------------------------------------------------- |
94 |
# Save the package latest Changelog as it will be overwritten. |
95 |
cp ${S}/ChangeLog ${S}/ChangeLog-${PV} |
96 |
|
97 |
# Download the latest HP3900 backend support compatible with sane 1.0.x |
98 |
einfo "Downloading hp3900-series sane-backend sources via subversion..." |
99 |
subversion_src_unpack |
100 |
cp -ax ${ESVN_STORE_DIR}/sane-backends/hp3900-series ${WORKDIR} |
101 |
einfo "hp3900-series $(grep :version ${WORKDIR}/hp3900-series/sane/hp3900.desc| sed 's/://')" |
102 |
|
103 |
# Patch the hp3900-series backend. |
104 |
einfo "Compiling hp3900-series patcher ..." |
105 |
cd ${WORKDIR}/hp3900-series/patcher/ |
106 |
./compile.sh || die "Error compiling hp3900-series patcher" |
107 |
einfo "Patching sane-backend" |
108 |
./hp3900-patcher --sane ${S} --from ${WORKDIR}/hp3900-series --verbose |
109 |
|
110 |
# Rename the hp3900 Changelog and restore the original one. |
111 |
mv ${S}/ChangeLog ${S}/ChangeLog-hp3900 |
112 |
mv ${S}/ChangeLog-${PV} ${S}/ChangeLog |
113 |
# ---------------------------------------------------------------------- |
114 |
# End patch by F.C. |
115 |
|
90 |
cd "${S}" |
116 |
cd "${S}" |
91 |
|
117 |
|
92 |
if ! use doc; then |
118 |
if ! use doc; then |