]> git.pld-linux.org Git - packages/scummvm.git/blobdiff - scummvm.spec
- no asm on !x86
[packages/scummvm.git] / scummvm.spec
index 2f435b2b7673c9aef35188942413a23719fcbbe3..a79e5b382c2cb07a569e45ce6a70acc7f62f9749 100644 (file)
@@ -13,10 +13,13 @@ Source1:    http://dl.sourceforge.net/scummvm/%{name}-tools-%{version_tools}.tar.bz
 Source2:       %{name}.desktop
 Source3:       %{name}.png
 URL:           http://scummvm.sourceforge.net/
+BuildRequires: SDL-devel >= 1.2.2
 BuildRequires: libmad-devel
 BuildRequires: libvorbis-devel
 BuildRequires: mpeg2dec-devel
-BuildRequires: SDL-devel >= 1.2.2
+%ifarch %{ix86}
+BuildRequires: nasm
+%endif
 BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -70,6 +73,9 @@ Zestaw narz
 %build
 ./configure \
        --disable-debug \
+%ifnarch %{ix86}
+       --disable-nasm \
+%endif
        --enable-kyra
 
 %{__make} \
This page took 0.288095 seconds and 4 git commands to generate.