]> git.pld-linux.org Git - packages/bochs.git/commitdiff
- conditional svgalib build auto/ac/bochs-2_1_1-1
authorundefine <undefine@pld-linux.org>
Sun, 14 Mar 2004 02:47:08 +0000 (02:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- BR: gtk+-devel

Changed files:
    bochs.spec -> 1.37

bochs.spec

index bc221f27ef484d011462f1ede2f220eae4fe06c6..57ac9521f1e457ee3a41f2e861bd2de56f09b192 100644 (file)
@@ -1,7 +1,12 @@
 # TODO:
 #      - more subpackages (plugins)
 
-#%define       pre     pre3
+# Conditional build:
+%bcond_without  svga    # without svgalib support
+#
+%ifnarch %{ix86} alpha
+%undefine with_svga
+%endif
 Summary:       Portable x86 PC Emulator
 Summary(pl):   Przeno¶ny emulator x86 PC
 Name:          bochs
@@ -17,9 +22,10 @@ BuildRequires:       SDL-devel
 BuildRequires: XFree86-devel
 BuildRequires: autoconf
 BuildRequires: docbook-dtd41-sgml
+BuildRequires: gtk+-devel
 BuildRequires: libstdc++-devel
 BuildRequires: ncurses-devel
-BuildRequires: svgalib-devel
+%{?with_svga:BuildRequires:    svgalib-devel}
 BuildRequires: wxGTK2-devel
 BuildRequires: zlib-devel
 Requires:      XFree86-fonts
@@ -83,7 +89,7 @@ Twoim komputerze.
        --with-wx \
        --with-rfb \
        --with-sdl \
-       --with-svga \
+       %{?with_svga:-with-svga} \
        --with-x11 \
        --with-term \
        --with-rfb
This page took 0.114135 seconds and 4 git commands to generate.