SHA256
1
0
forked from pool/emptyepsilon
Dominik Heidler 2021-08-20 13:28:30 +00:00 committed by Git OBS Bridge
parent 8da62e19ce
commit 2cc3fbe6eb

View File

@ -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 \