mirror of
https://abf.rosa.ru/djam/sane.git
synced 2025-02-23 17:23:00 +00:00
Try to disable usb-1.0 explicitly - iscan fails to build with it
This commit is contained in:
parent
8be4113687
commit
5109fc1e48
1 changed files with 2 additions and 6 deletions
|
@ -92,7 +92,7 @@ BuildRequires: libtool-devel
|
||||||
BuildRequires: jpeg-devel
|
BuildRequires: jpeg-devel
|
||||||
BuildRequires: tiff-devel
|
BuildRequires: tiff-devel
|
||||||
BuildRequires: pkgconfig(gtk+-2.0)
|
BuildRequires: pkgconfig(gtk+-2.0)
|
||||||
BuildRequires: usb-compat-devel
|
BuildRequires: pkgconfig(libusb)
|
||||||
%if %{with gphoto2}
|
%if %{with gphoto2}
|
||||||
BuildRequires: pkgconfig(libgphoto2)
|
BuildRequires: pkgconfig(libgphoto2)
|
||||||
%endif
|
%endif
|
||||||
|
@ -203,11 +203,6 @@ access image acquisition devices available on the local host.
|
||||||
%patch203 -p1 -b .udev
|
%patch203 -p1 -b .udev
|
||||||
%patch204 -p1 -b .epson-expression800
|
%patch204 -p1 -b .epson-expression800
|
||||||
|
|
||||||
# Patches for non-x86 platforms
|
|
||||||
%ifarch sparc
|
|
||||||
%patch9 -p1 -b .sparc
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# "geniusvp2" backend
|
# "geniusvp2" backend
|
||||||
#setup -q -T -D -a 14 -n sane-backends-%{version}
|
#setup -q -T -D -a 14 -n sane-backends-%{version}
|
||||||
|
|
||||||
|
@ -277,6 +272,7 @@ rm -f backend/dll.conf
|
||||||
%configure2_5x \
|
%configure2_5x \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-rpath=no \
|
--enable-rpath=no \
|
||||||
|
--disable-libusb_1_0 \
|
||||||
%if !%{with gphoto2}
|
%if !%{with gphoto2}
|
||||||
--without-gphoto2
|
--without-gphoto2
|
||||||
%endif
|
%endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue