commit 1304e7cf35e00a8e26f18689d6e1b2f7b76899f1
Author: Szymon Siwek <[email protected]>
Date:   Wed Jan 7 17:34:17 2015 +0100

    added 'magickwand' bcond

 freeciv.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/freeciv.spec b/freeciv.spec
index 5332fd8..2824e12 100644
--- a/freeciv.spec
+++ b/freeciv.spec
@@ -9,6 +9,7 @@
 # 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
@@ -27,6 +28,7 @@ Patch0:               %{name}-link.patch
 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
@@ -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 \
+       --enable-mapimg=%{?with_magickwand:magickwand}%{!?with_magickwand:no} \
        %{!?with_ggz_client:--without-ggz-client} \
        %{!?with_ggz_server:--without-ggz-server}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/freeciv.git/commitdiff/60163dd9a516838ebc9edeb15d564b4cfdc38a4a

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to