Accepting request 826315 from home:dheidler
New Package: EmptyEpsilon - see http://daid.github.io/EmptyEpsilon/ for details OBS-URL: https://build.opensuse.org/request/show/826315 OBS-URL: https://build.opensuse.org/package/show/games/emptyepsilon?expand=0&rev=1
This commit is contained in:
commit
8233e268be
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
EmptyEpsilon-2020.08.07.tar.gz
Normal file
3
EmptyEpsilon-2020.08.07.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0964edf59b12b3b4a2c3c0e2ab659b654b49b3f2d7d5c9aad5dfcf4d51c2082b
|
||||
size 270858781
|
3
SeriousProton-2020.08.07.tar.gz
Normal file
3
SeriousProton-2020.08.07.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9247e61c6c7f01bcdd5b7588d25db6647623038178b7812fb241d0d73c9352d7
|
||||
size 1172263
|
6
download.sh
Normal file
6
download.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
version="$1"
|
||||
|
||||
wget https://github.com/daid/SeriousProton/archive/EE-${version}.tar.gz -O SeriousProton-${version}.tar.gz
|
||||
wget https://github.com/daid/EmptyEpsilon/archive/EE-${version}.tar.gz -O EmptyEpsilon-${version}.tar.gz
|
4
emptyepsilon.changes
Normal file
4
emptyepsilon.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 13 15:50:43 UTC 2020 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
- Initial checkin
|
66
emptyepsilon.spec
Normal file
66
emptyepsilon.spec
Normal file
@ -0,0 +1,66 @@
|
||||
#
|
||||
# spec file for package emptyepsilon
|
||||
#
|
||||
# Copyright (c) 2020 SUSE
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: emptyepsilon
|
||||
Version: 2020.08.07
|
||||
Release: 0
|
||||
Url: http://daid.github.io/EmptyEpsilon/
|
||||
Summary: Open source spaceship bridge simulator
|
||||
License: GPL-2.0
|
||||
Group: Games
|
||||
Source: EmptyEpsilon-%{version}.tar.gz
|
||||
Source1: SeriousProton-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: cmake gcc gcc-c++ xorg-x11 xorg-x11-devel
|
||||
BuildRequires: sfml2-devel
|
||||
BuildArch: x86_64
|
||||
|
||||
%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.
|
||||
Each officer fills a unique role: Captain, Helms, Weapons, Relay, Science, and Engineering. Except for the Captain, each officer operates part of the ship through a specialized screen. The Captain relies on their trusty crew to report information and follow orders.
|
||||
|
||||
%prep
|
||||
cd $RPM_SOURCE_DIR
|
||||
tar xf SeriousProton-%{version}.tar.gz
|
||||
tar xf EmptyEpsilon-%{version}.tar.gz
|
||||
sed 's|new Engine();|chdir(RESOURCE_BASE_DIR); new Engine();|' -i EmptyEpsilon-EE-%{version}/src/main.cpp
|
||||
|
||||
%build
|
||||
cmake -DSERIOUS_PROTON_DIR="$RPM_SOURCE_DIR/SeriousProton-EE-%{version}" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCPACK_PACKAGE_VERSION_MAJOR="$(echo %{version} | cut -d. -f1)" \
|
||||
-DCPACK_PACKAGE_VERSION_MINOR="$(echo %{version} | cut -d. -f2)" \
|
||||
-DCPACK_PACKAGE_VERSION_PATCH="$(echo %{version} | cut -d. -f3)" \
|
||||
-DOpenGL_GL_PREFERENCE=GLVND \
|
||||
$RPM_SOURCE_DIR/EmptyEpsilon-EE-%{version}
|
||||
make -j 8
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
install -Dvm 644 $RPM_SOURCE_DIR/EmptyEpsilon-EE-%{version}/README.md -t "$RPM_BUILD_ROOT/usr/share/doc/emptyepsilon"
|
||||
mv -v "$RPM_BUILD_ROOT/usr/script_reference.html" "$RPM_BUILD_ROOT/usr/share/doc/emptyepsilon"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
# You may have to add additional files here (documentation and binaries mostly)
|
||||
/usr/bin/EmptyEpsilon
|
||||
/usr/share/doc/emptyepsilon/
|
||||
/usr/share/emptyepsilon/
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user