forked from pool/trigger-rally
glew
OBS-URL: https://build.opensuse.org/package/show/games/trigger-rally?expand=0&rev=3
This commit is contained in:
parent
6ccffd7c18
commit
851322e577
10
trigger-rally-0.5.2.1-glew.patch
Normal file
10
trigger-rally-0.5.2.1-glew.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/Jamfile
|
||||
+++ src/Jamfile
|
||||
@@ -7,7 +7,6 @@
|
||||
C++FLAGS += -DDATADIR='\"$(datadir)\"' ;
|
||||
|
||||
|
||||
-SubInclude TOP src glew ;
|
||||
SubInclude TOP src pengine ;
|
||||
SubInclude TOP src psim ;
|
||||
SubInclude TOP src trigger ;
|
@ -4,10 +4,11 @@ Version: 0.5.2.1
|
||||
Release: 1
|
||||
License: GPL
|
||||
Group: Amusements/Games/Action/Race
|
||||
Source0: trigger-%{version}.tar.bz2
|
||||
Source0: trigger-%{version}-src.tar.bz2
|
||||
Source1: %{name}.desktop
|
||||
Source2: %{name}32.xpm
|
||||
Source3: %{name}64.xpm
|
||||
Patch0: %{name}-%{version}-glew.patch
|
||||
Url: http://sourceforge.net/projects/trigger-rally
|
||||
BuildRoot: %{_tmppath}/build-root-%{name}
|
||||
BuildRequires: gcc-c++ SDL-devel SDL_image-devel freealut-devel Mesa-devel openal-devel physfs-devel boost-jam update-desktop-files
|
||||
@ -19,7 +20,12 @@ Trigger is a fast-paced open source rally racing game.
|
||||
Copyright (C) 2004-2006 Jasmine Langridge, Richard Langridge
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -n trigger-%{version}-src
|
||||
# use system glew
|
||||
%patch0
|
||||
rm -rf src/glew
|
||||
# set attributes
|
||||
chmod a-x Jam* config.* configure.ac doc/* mk/autoconf/* mk/jam/* src/Jamfile src/pengine/* src/psim/* src/trigger/*
|
||||
|
||||
%build
|
||||
./configure --datadir=%{_datadir}/trigger-rally
|
||||
|
Loading…
Reference in New Issue
Block a user