]> git.pld-linux.org Git - packages/wine.git/commitdiff
- fixed BR: (wine wont build with nvidia-devel)
authorPaweł Sikora <pluto@pld-linux.org>
Wed, 11 Feb 2004 13:43:01 +0000 (13:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    wine.spec -> 1.158

wine.spec

index 90b73a093b4c38e8855c189835e597fcea8764dc..dfd7d5fa3a3ff96b6f69be805716fe6f29f1ce34 100644 (file)
--- a/wine.spec
+++ b/wine.spec
@@ -45,8 +45,8 @@ Patch2:               %{name}-ncurses.patch
 Patch3:                %{name}-makedep.patch
 Patch4:                %{name}-dga.patch
 URL:           http://www.winehq.org/
-BuildRequires: OpenGL-devel
-BuildRequires: XFree86-devel
+BuildRequires: XFree86-OpenGL-devel-base
+BuildRequires: XFree86-OpenGL-devel
 %{?with_alsa:BuildRequires:    alsa-lib-devel}
 %{?with_arts:BuildRequires:    artsc-devel}
 BuildRequires: autoconf
@@ -231,9 +231,7 @@ Group:              Applications/Emulators
 Requires:      %{name} = %{version}
 Requires:      jack-audio-connection-kit
 # dlopened by SONAME detected at build time
-%if %{with jack}
-Requires:      %{getsoname /usr/lib/libjack.so}
-%endif
+%{?with_jack:Requires: %{getsoname /usr/lib/libjack.so}}
 
 %description drv-jack
 JACK driver for WINE mm.dll (multimedia system) implementation.
@@ -269,8 +267,9 @@ mv -f .tmp programs/Makefile.in
 %build
 %{__aclocal}
 %{__autoconf}
-CPPFLAGS="-I/usr/include/ncurses -DALSA_PCM_OLD_HW_PARAMS_API"; export CPPFLAGS
-CFLAGS="%{rpmcflags} $CPPFLAGS"
+CFLAGS="%{rpmcflags} -DALSA_PCM_OLD_HW_PARAMS_API"
+CPPFLAGS=$CFLAGS
+LDFLAGS="%{rpmldflags}"
 %configure \
        %{!?debug:--disable-debug} \
        %{!?debug:--disable-trace} \
This page took 0.104809 seconds and 4 git commands to generate.