forked from pool/emptyepsilon
Fix for non-tw
OBS-URL: https://build.opensuse.org/package/show/games/emptyepsilon?expand=0&rev=4
This commit is contained in:
parent
8da62e19ce
commit
2cc3fbe6eb
@ -34,6 +34,10 @@ BuildRequires: gcc-c++
|
|||||||
BuildRequires: sfml2-devel
|
BuildRequires: sfml2-devel
|
||||||
BuildRequires: xorg-x11
|
BuildRequires: xorg-x11
|
||||||
BuildRequires: xorg-x11-devel
|
BuildRequires: xorg-x11-devel
|
||||||
|
%if 0%{?sle_version:1}
|
||||||
|
# if sle_version is defined, this is not tumbleweed
|
||||||
|
BuildRequires: gcc10 gcc10-c++
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
EmptyEpsilon places you in the roles of a spaceship's bridge officers, like those seen in Star Trek. While you can play EmptyEpsilon alone or with friends, the best experience involves 6 players working together on each ship.
|
EmptyEpsilon places you in the roles of a spaceship's bridge officers, like those seen in Star Trek. While you can play EmptyEpsilon alone or with friends, the best experience involves 6 players working together on each ship.
|
||||||
@ -47,6 +51,11 @@ tar xf EmptyEpsilon-%{version}.tar.gz
|
|||||||
%build
|
%build
|
||||||
mkdir externals
|
mkdir externals
|
||||||
bsdtar xvf $RPM_SOURCE_DIR/glm.zip -C externals
|
bsdtar xvf $RPM_SOURCE_DIR/glm.zip -C externals
|
||||||
|
%if 0%{?sle_version:1}
|
||||||
|
# if sle_version is defined, this is not tumbleweed
|
||||||
|
export CC=gcc-10
|
||||||
|
export CXX=g++-10
|
||||||
|
%endif
|
||||||
cmake -DSERIOUS_PROTON_DIR="$RPM_SOURCE_DIR/SeriousProton-EE-%{version}" \
|
cmake -DSERIOUS_PROTON_DIR="$RPM_SOURCE_DIR/SeriousProton-EE-%{version}" \
|
||||||
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user