]> git.pld-linux.org Git - packages/sane-backends.git/commitdiff
- Added bcond to turn off libusb-1.0 usage.
authorLukasz Masko <lmasko@pld-linux.org>
Tue, 19 Nov 2013 10:50:08 +0000 (11:50 +0100)
committerLukasz Masko <lmasko@pld-linux.org>
Tue, 19 Nov 2013 10:50:08 +0000 (11:50 +0100)
sane-backends.spec

index 0a2b79480e1e47a549dcb87c45c857017856f9a9..abb5177e343c58487dc7cfed445a69ca1ac3bb3e 100644 (file)
@@ -1,8 +1,9 @@
 #
 # Conditional build:
-%bcond_without gphoto  # gphoto backend (which requires libgphoto2)
-%bcond_without lpt     # parallel port backends (which require libieee1284)
-%bcond_with    avahi   # Avahi support for saned and net backend
+%bcond_without gphoto          # gphoto backend (which requires libgphoto2)
+%bcond_without lpt             # parallel port backends (which require libieee1284)
+%bcond_with    avahi           # Avahi support for saned and net backend
+%bcond_without libusb10        # libusb-1.0 support
 #
 Summary:       SANE - easy local and networked scanner access
 Summary(es.UTF-8):     SANE - acceso a scanners en red y locales
@@ -266,7 +267,7 @@ mv -f acinclude.m4.tmp acinclude.m4
 %{__automake}
 %configure \
        %{?with_avahi:--enable-avahi} \
-       --enable-libusb_1_0 \
+       %{?with_libusb10:--enable-libusb_1_0} \
        --enable-pnm-backend \
        --enable-pthread \
        --enable-static \
This page took 0.156773 seconds and 4 git commands to generate.