]> git.pld-linux.org Git - packages/libgphoto2.git/commitdiff
- bcond for EOS 20D experimental code added auto/ac/libgphoto2-2_2_1-2
authorbszx <bszx@pld-linux.org>
Tue, 4 Jul 2006 15:36:25 +0000 (15:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libgphoto2.spec -> 1.51

libgphoto2.spec

index 7c6c860e1b2d5e6eaac99ce19ab930897d4bd374..a75700d787eb50ae7167433b433319bba64c9e27 100644 (file)
@@ -2,6 +2,7 @@
 # Conditional build:
 %bcond_with    apidocs         # without documentation which needed gtk-doc and TeX
 %bcond_without baudboy         # use lockdev library instead of baudboy
+%bcond_with    20d             # canon EOS 20D experimental code 
 #
 Summary:       Libraries for digital cameras
 Summary(es):   Foto GNU (gphoto) Release 2
@@ -9,7 +10,7 @@ Summary(pl):   Biblioteki obs
 Summary(pt_BR):        GNU Photo - programa GNU para câmeras digitais
 Name:          libgphoto2
 Version:       2.2.1
-Release:       1
+Release:       2
 License:       LGPL
 Group:         Applications
 Source0:       http://dl.sourceforge.net/gphoto/%{name}-%{version}.tar.gz
@@ -135,6 +136,7 @@ cd libgphoto2_port
 %{__automake}
 cd ..
 
+%{?with_20d:CFLAGS="%rpmcflags -DCANON_EXPERIMENTAL_20D"}
 %configure \
        %{!?with_baudboy:--disable-baudboy} \
        --disable-resmgr \
This page took 0.090548 seconds and 4 git commands to generate.