]> git.pld-linux.org Git - packages/allegro.git/blobdiff - allegro.spec
- added frame-pointer.patch
[packages/allegro.git] / allegro.spec
index dfc89359618cea5f3626559c3227d585b3f0def8..d43f6dc27848da541044202688d24ce0cb222ec0 100644 (file)
@@ -6,6 +6,7 @@
 # _without_proflib     - don't debug profiling versions of library
 # _without_svgalib      - without svgalib module
 # _with_alsa5          - use alsa 0.5 not 0.9
+# _without_sse         - build without sse (valgrind doesn't support it yet)
 #
 %define        _without_arts   1
 
@@ -21,7 +22,7 @@ Summary(it):  Una libreria per la programmazione di videogiochi
 Summary(pl):   Biblioteka do programowania gier
 Name:          allegro
 Version:       4.1.11
-Release:       1
+Release:       2
 License:       Giftware
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/alleg/%{name}-%{version}.tar.gz
@@ -31,6 +32,7 @@ Patch1:               %{name}-examples.patch
 Patch2:                %{name}-alsa9.patch
 Patch3:                %{name}-opt.patch
 Patch4:                %{name}-ldflags.patch
+Patch5:                %{name}-frame-pointer.patch
 URL:           http://alleg.sourceforge.net/
 BuildRequires: XFree86-devel
 %{!?_without_alsa:BuildRequires:       alsa-lib-devel}
@@ -404,9 +406,10 @@ biblioteki allegro.
 %setup  -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
+%{!?_without_alsa:%patch2 -p1}
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 %{__aclocal}
@@ -424,6 +427,8 @@ TARGET_ARCH="%{rpmcflags}" export TARGET_ARCH
 %endif
        %{!?_without_proflib:--enable-proflib} \
        %{?_without_arts:--disable-artsdigi} \
+       %{?_without_sse:--disable-sse} \
+       %{?_without_sse:--disable-asm} \
 %ifnarch %{ix86}
        --disable-asm \
        --disable-mmx \
This page took 0.113459 seconds and 4 git commands to generate.