Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 355827
Collapse All | Expand All

(-)/usr/portage/media-gfx/sane-backends/sane-backends-1.0.21-r1.ebuild (-10 / +12 lines)
Lines 91-97 Link Here
91
	umax1220u
91
	umax1220u
92
	xerox_mfp"
92
	xerox_mfp"
93
93
94
IUSE="avahi usb gphoto2 ipv6 v4l doc"
94
IUSE="avahi usb gphoto2 ipv6 v4l doc libusb_1"
95
95
96
for backend in ${IUSE_SANE_BACKENDS}; do
96
for backend in ${IUSE_SANE_BACKENDS}; do
97
	IUSE="${IUSE} +sane_backends_${backend}"
97
	IUSE="${IUSE} +sane_backends_${backend}"
Lines 108-119 Link Here
108
	sane_backends_canon_pp? ( sys-libs/libieee1284 )
108
	sane_backends_canon_pp? ( sys-libs/libieee1284 )
109
	sane_backends_hpsj5s? ( sys-libs/libieee1284 )
109
	sane_backends_hpsj5s? ( sys-libs/libieee1284 )
110
	sane_backends_mustek_pp? ( sys-libs/libieee1284 )
110
	sane_backends_mustek_pp? ( sys-libs/libieee1284 )
111
	usb? ( virtual/libusb:0 )
112
	gphoto2? (
111
	gphoto2? (
113
		media-libs/libgphoto2
112
		media-libs/libgphoto2
114
		virtual/jpeg
113
		virtual/jpeg
115
	)
114
	)
116
	v4l? ( media-libs/libv4l )"
115
	v4l? ( media-libs/libv4l )
116
	libusb_1? ( virtual/libusb:1 )"
117
	#usb? ( virtual/libusb:0 )
117
118
118
DEPEND="${RDEPEND}
119
DEPEND="${RDEPEND}
119
	v4l? ( sys-kernel/linux-headers )
120
	v4l? ( sys-kernel/linux-headers )
Lines 128-140 Link Here
128
	!<sys-fs/udev-114"
129
	!<sys-fs/udev-114"
129
130
130
# Could not access via ftp on 2006-07-20
131
# Could not access via ftp on 2006-07-20
131
SRC_URI="http://alioth.debian.org/frs/download.php/3258/${P}.tar.gz
132
SRC_URI="ftp://ftp.sane-project.org/pub/sane/${P}/${P}.tar.gz
132
	ftp://ftp.sane-project.org/pub/sane/${P}/${P}.tar.gz
133
	ftp://ftp.sane-project.org/pub/sane/old-versions/${P}/${P}.tar.gz"
133
	ftp://ftp.sane-project.org/pub/sane/old-versions/${P}/${P}.tar.gz
134
	ftp://ftp.sane-project.org/pub/sane/${P}/${P}-i18n.patch"
135
SLOT="0"
134
SLOT="0"
136
LICENSE="GPL-2 public-domain"
135
LICENSE="GPL-2 public-domain"
137
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
136
KEYWORDS="~amd64"
138
137
139
# the blank is intended - an empty string would result in building ALL backends.
138
# the blank is intended - an empty string would result in building ALL backends.
140
BACKENDS=" "
139
BACKENDS=" "
Lines 159-166 Link Here
159
	# Add support for the HP-specific backend.  Needs net-print/hplip installed.
158
	# Add support for the HP-specific backend.  Needs net-print/hplip installed.
160
	hpaio
159
	hpaio
161
	EOF
160
	EOF
162
	epatch "${DISTDIR}/${P}-i18n.patch"
161
#	epatch "${DISTDIR}/${P}-i18n.patch"
163
	epatch "${FILESDIR}/xerox-grey.patch"
162
#	epatch "${FILESDIR}/xerox-grey.patch"
164
}
163
}
165
164
166
src_compile() {
165
src_compile() {
Lines 170-175 Link Here
170
	if ! use doc; then
169
	if ! use doc; then
171
		myconf="${myconf} --disable-latex"
170
		myconf="${myconf} --disable-latex"
172
	fi
171
	fi
172
	if use libusb_1; then
173
		myconf="${myconf} --enable-libusb_1_0"
174
	fi
173
	if use sane_backends_mustek_pp; then
175
	if use sane_backends_mustek_pp; then
174
		myconf="${myconf} --enable-parport-directio"
176
		myconf="${myconf} --enable-parport-directio"
175
	fi
177
	fi

Return to bug 355827