mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-03-22 00:41:00 +00:00
quakeforge.spec.in:
a few corrections to get rpms building. NOTE: THIS WILL NOT WORK FOR -pre VERSIONS because rpm doesn't like `-' in the version string. common/gl_rsurf.c: experimentally comment out some code that /seems/ to fix the r_{water,mirror}alpha bug.
This commit is contained in:
parent
ebf2aef910
commit
adeab9e9d8
2 changed files with 15 additions and 9 deletions
|
@ -1069,8 +1069,13 @@ void DrawTextureChains (void)
|
|||
}
|
||||
else
|
||||
{
|
||||
#ifndef _EXPERIMENTAL_
|
||||
/* XXX this one is wierd. If both wateralpha and mirror alpha
|
||||
are !=1.0, you can see the water though walls and floors.
|
||||
*/
|
||||
if ((s->flags & SURF_DRAWTURB) && r_wateralpha.value != 1.0)
|
||||
continue; // draw translucent water later
|
||||
#endif
|
||||
for ( ; s ; s=s->texturechain)
|
||||
R_RenderBrushPoly (s);
|
||||
}
|
||||
|
|
|
@ -33,7 +33,6 @@ Group: Amusements/Games
|
|||
Requires: quakeforge
|
||||
|
||||
%description server
|
||||
%endif
|
||||
|
||||
%if "%{HAS_OGL}"=="'yes'"
|
||||
%package gl
|
||||
|
@ -111,7 +110,7 @@ Requires: quakeforge
|
|||
%setup -q
|
||||
|
||||
%build
|
||||
%if "%{SND_STYLE}"==ALSA
|
||||
%if "%{SND_STYLE}"=="'ALSA'"
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --enable-alsa
|
||||
%else
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
|
||||
|
@ -120,6 +119,8 @@ make
|
|||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/games/quake
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/games/quake/id1
|
||||
make DESTDIR="$RPM_BUILD_ROOT" install
|
||||
|
||||
%files
|
||||
|
@ -137,43 +138,43 @@ make DESTDIR="$RPM_BUILD_ROOT" install
|
|||
%endif
|
||||
|
||||
%if "%{HAS_TDFXGL}"=="'yes'"
|
||||
%files gl
|
||||
%files 3dfx
|
||||
/usr/bin/quake-3dfx
|
||||
/usr/bin/qw-client-3dfx
|
||||
%endif
|
||||
|
||||
%if "%{HAS_X11}"=="'yes'"
|
||||
%files gl
|
||||
%files x11
|
||||
/usr/bin/quake-x11
|
||||
/usr/bin/qw-client-x11
|
||||
%endif
|
||||
|
||||
%if "%{HAS_SVGA}"=="'yes'"
|
||||
%files gl
|
||||
%files svga
|
||||
/usr/bin/quake-svga
|
||||
/usr/bin/qw-client-svga
|
||||
%endif
|
||||
|
||||
%if "%{HAS_VGA}"=="'yes'"
|
||||
%files gl
|
||||
%files vga
|
||||
/usr/bin/quake-vga
|
||||
/usr/bin/qw-client-vga
|
||||
%endif
|
||||
|
||||
%if "%{HAS_MGL}"=="'yes'"
|
||||
%files gl
|
||||
%files gml
|
||||
/usr/bin/quake-mgl
|
||||
/usr/bin/qw-client-mgl
|
||||
%endif
|
||||
|
||||
%if "%{HAS_GGI}"=="'yes'"
|
||||
%files gl
|
||||
%files ggi
|
||||
/usr/bin/quake-ggi
|
||||
/usr/bin/qw-client-ggi
|
||||
%endif
|
||||
|
||||
%if "%{HAS_SDL}"=="'yes'"
|
||||
%files gl
|
||||
%files sdl
|
||||
/usr/bin/quake-sdl
|
||||
/usr/bin/qw-client-sdl
|
||||
%endif
|
||||
|
|
Loading…
Reference in a new issue