]> git.pld-linux.org Git - packages/freeciv.git/commitdiff
added 'magickwand' bcond
authorSzymon Siwek <sls@pld-linux.org>
Wed, 7 Jan 2015 16:34:17 +0000 (17:34 +0100)
committerSzymon Siwek <sls@pld-linux.org>
Wed, 7 Jan 2015 16:34:17 +0000 (17:34 +0100)
freeciv.spec

index 5332fd81106eda0b96327bf38eee95f2228ffe9c..2824e1271640188d1de7f6357789fea4a2d57d47 100644 (file)
@@ -9,6 +9,7 @@
 # Conditional build:
 %bcond_without  ggz_client     # build without ggz client
 %bcond_without  ggz_server     # build without ggz server
 # Conditional build:
 %bcond_without  ggz_client     # build without ggz client
 %bcond_without  ggz_server     # build without ggz server
+%bcond_without  magickwand     # build without MagickWand map image toolkit support
 #
 Summary:       FREE CIVilization clone
 Summary(es.UTF-8):     Clon del juego Civilization
 #
 Summary:       FREE CIVilization clone
 Summary(es.UTF-8):     Clon del juego Civilization
@@ -27,6 +28,7 @@ Patch0:               %{name}-link.patch
 Patch1:                %{name}-desktop.patch
 Patch2:                %{name}-ggz.patch
 URL:           http://freeciv.wikia.com/
 Patch1:                %{name}-desktop.patch
 Patch2:                %{name}-ggz.patch
 URL:           http://freeciv.wikia.com/
+%{?with_magickwand:BuildRequires:      ImageMagick-devel}
 BuildRequires: SDL_image-devel
 BuildRequires: SDL_mixer-devel
 BuildRequires: autoconf >= 2.52
 BuildRequires: SDL_image-devel
 BuildRequires: SDL_mixer-devel
 BuildRequires: autoconf >= 2.52
@@ -107,6 +109,7 @@ Ten pakiet zawiera server gry Freeciv.
        --with-ggzd-confdir=%{_sysconfdir}/ggzd \
        --disable-silent-rules \
        --enable-client=gtk2,gtk3,sdl,xaw,stub \
        --with-ggzd-confdir=%{_sysconfdir}/ggzd \
        --disable-silent-rules \
        --enable-client=gtk2,gtk3,sdl,xaw,stub \
+       --enable-mapimg=%{?with_magickwand:magickwand}%{!?with_magickwand:no} \
        %{!?with_ggz_client:--without-ggz-client} \
        %{!?with_ggz_server:--without-ggz-server}
 
        %{!?with_ggz_client:--without-ggz-client} \
        %{!?with_ggz_server:--without-ggz-server}
 
This page took 0.064649 seconds and 4 git commands to generate.