]> git.pld-linux.org Git - packages/inkscape.git/commitdiff
- added build conditions. auto/ac/inkscape-0_36-0_1
authorcieciwa <cieciwa@pld-linux.org>
Fri, 12 Dec 2003 11:37:41 +0000 (11:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    inkscape.spec -> 1.4

inkscape.spec

index cb26ec2595d4ad35d6e73ae3c7a5a7ac99407fcb..b7773ce969053fc0d166a445fea6f7284d842d2c 100644 (file)
@@ -1,3 +1,12 @@
+#
+# Conditional build
+%bcond_without popt    #
+%bcond_without xft     #
+%bcond_without gnome   #
+%bcond_without modules #
+%bcond_without mmx     #
+%bcond_without libinkscape
+
 Summary:       Inkscape - a vector illustrator program for GNOME environment
 Summary(pl):   Inkscape - wektorowy program graficzny dla ¶rodowiska GNOME
 Name:          inkscape
@@ -15,8 +24,8 @@ BuildRequires:        libgnomeprintui-devel >= 2.2
 BuildRequires: libpng-devel
 BuildRequires: libxml2-devel >= 2.4.24
 BuildRequires: pkgconfig
-BuildRequires: popt-devel
-BuildRequires: xft-devel
+%{?with_popt:BuildRequires:    popt-devel}
+%{?with_xft:BuildRequires:     xft-devel}
 Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,7 +42,13 @@ osi
 %setup -q
 
 %build
-%configure
+%configure \
+       %{!?with_popt: --without-popt}\
+       %{!?with_xft: --without-xft}\
+       %{!?with_gnome: --without-gnome-print}\
+       %{!?with_modules: --without-modules}\
+       %{?with_libinkscape: --with-libinkscape} \
+       %{!?with_mmx:--disable-mmx} 
 
 %{__make}
 
This page took 0.394896 seconds and 4 git commands to generate.