- Version 2024.12.08
* Remove 'f' suffix from numbers in lua (#2164) * Some minor de updates * fix minor typo * more minor de updates OBS-URL: https://build.opensuse.org/package/show/games/emptyepsilon?expand=0&rev=24
This commit is contained in:
commit
c2c747310a
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-2023.06.17.tar.gz
Normal file
3
EmptyEpsilon-2023.06.17.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d016711fe46c9e01e44b6a911957e44bf91a57fc0691784ea67377c6cbeaae65
|
||||
size 262438029
|
3
EmptyEpsilon-2024.08.09.tar.gz
Normal file
3
EmptyEpsilon-2024.08.09.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:94e20a79e08e97213d0add936fe3caa1a6f79d8ad1495d73f476b52b91ea5531
|
||||
size 261106883
|
3
EmptyEpsilon-2024.12.08.tar.gz
Normal file
3
EmptyEpsilon-2024.12.08.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8be5360270b9a616a5d749aec9653b3e36beba96b2d6b1651e18594a3314f010
|
||||
size 261708187
|
3
SeriousProton-2023.06.17.tar.gz
Normal file
3
SeriousProton-2023.06.17.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:73b1fbfb911e3ac860153739fb6358ee1180b46a08801dad66680b44dcd498d6
|
||||
size 2647521
|
3
SeriousProton-2024.08.09.tar.gz
Normal file
3
SeriousProton-2024.08.09.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ff8762016eacf18620ff4f9513462231b1f2c9819127d8aebbdea05c149c1db3
|
||||
size 2648726
|
3
SeriousProton-2024.12.08.tar.gz
Normal file
3
SeriousProton-2024.12.08.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fa4a9873c5f8872f9f2d75d03eec06c8a40ea2e0daeb977f0445f14c1e76a236
|
||||
size 2648907
|
3
basis_universal.zip
Normal file
3
basis_universal.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d4798699488684ad2863f5dbc449b438eed3830639c916272553e58a38b005c7
|
||||
size 13299816
|
20
download.sh
Normal file
20
download.sh
Normal file
@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
#version="$1"
|
||||
version=$(grep Version: emptyepsilon.spec | awk '{print $NF}')
|
||||
|
||||
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
|
||||
|
||||
tmp=$(mktemp -d)
|
||||
|
||||
tar xzvf EmptyEpsilon-${version}.tar.gz -C "$tmp" EmptyEpsilon-EE-${version}/CMakeLists.txt
|
||||
MESHOPTIMIZER_VERSION=$(grep "MESHOPTIMIZER_VERSION" "${tmp}/EmptyEpsilon-EE-${version}/CMakeLists.txt" | head -1 | cut -d' ' -f2 | cut -d')' -f1)
|
||||
wget "https://github.com/zeux/meshoptimizer/archive/refs/tags/v${MESHOPTIMIZER_VERSION}.zip" -O meshoptimizer.zip
|
||||
|
||||
tar xzvf SeriousProton-${version}.tar.gz -C "$tmp" SeriousProton-EE-${version}/libs/basis_universal/CMakeLists.txt
|
||||
BASIS_VERSION=$(grep "BASIS_VERSION" "${tmp}/SeriousProton-EE-${version}/libs/basis_universal/CMakeLists.txt" | head -1 | cut -d'"' -f2)
|
||||
BASIS_URL=$(grep "BASIS_URL" "${tmp}/SeriousProton-EE-${version}/libs/basis_universal/CMakeLists.txt" | head -1 | cut -d'"' -f2)
|
||||
wget "${BASIS_URL}/archive/refs/tags/${BASIS_VERSION}.zip" -O basis_universal.zip
|
||||
|
||||
rm -r "$tmp"
|
62
emptyepsilon.changes
Normal file
62
emptyepsilon.changes
Normal file
@ -0,0 +1,62 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 10 21:06:16 UTC 2025 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
- Version 2024.12.08
|
||||
* Remove 'f' suffix from numbers in lua (#2164)
|
||||
* Some minor de updates
|
||||
* fix minor typo
|
||||
* more minor de updates
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 15 16:52:32 UTC 2024 - Dominik Heidler <dheidler@suse.com>
|
||||
|
||||
- Version 2024.08.09
|
||||
* Add a quick&dirty way to get callback errors
|
||||
* Clamp the warp and jump commands
|
||||
* fix voice path scenario 51
|
||||
* fix voice path scenario 48
|
||||
* Fix the wiggle console with just 1 text line
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 22 14:32:53 UTC 2024 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
- Use same doc dir for all versions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 22 11:41:39 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Use %patch -P N instead of deprecated %patchN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 26 15:15:35 UTC 2023 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
- Version 2023.06.17
|
||||
* added Settings : scavenger, shoreline, Patrolduty
|
||||
* Update scenario_47_scavenger.fr.po
|
||||
* update scenario_54_PatrolDuty.fr.po
|
||||
* Update scenario_57_shoreline.fr.po
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 14 09:17:05 UTC 2022 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
- Version 2022.03.16
|
||||
* DeliverAmbassador
|
||||
* Update warpJammer.cpp
|
||||
* update setting translation scenario_50_gaps.lua (#1656)
|
||||
* Tweak warp vs jump stats a bit so they are more equal.
|
||||
* Correct description discrepancy - the enemies are Exuari, not Kraylor.
|
||||
* Add estimated duration of one hour to description
|
||||
* Add descriptions and simple scan parameters for life pod and warp jammer
|
||||
* Increase the number of attacking hornets gradually while waiting for transport retrieval
|
||||
* New function for adding shields on Playership in scenarios
|
||||
* made your point clear in the documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 20 13:03:24 UTC 2021 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
- Version 2021.06.23
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 13 15:50:43 UTC 2020 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
- Initial checkin
|
105
emptyepsilon.spec
Normal file
105
emptyepsilon.spec
Normal file
@ -0,0 +1,105 @@
|
||||
#
|
||||
# spec file for package emptyepsilon
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: emptyepsilon
|
||||
Version: 2024.12.08
|
||||
Release: 0
|
||||
Summary: Open source spaceship bridge simulator
|
||||
License: GPL-2.0-only
|
||||
Group: Amusements/Games/Other
|
||||
URL: https://daid.github.io/EmptyEpsilon/
|
||||
Source: EmptyEpsilon-%{version}.tar.gz
|
||||
Source1: SeriousProton-%{version}.tar.gz
|
||||
Source2: download.sh
|
||||
Source3: basis_universal.zip
|
||||
Source5: meshoptimizer.zip
|
||||
Patch0: use_bundled_basis_universal.patch
|
||||
Patch1: use_bundled_meshoptimizer.patch
|
||||
BuildRequires: SDL2-devel
|
||||
BuildRequires: bsdtar
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: glm-devel
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: sfml2-devel
|
||||
BuildRequires: xorg-x11
|
||||
%if 0%{?sle_version:1}
|
||||
# if sle_version is defined, this is not tumbleweed
|
||||
BuildRequires: gcc10
|
||||
BuildRequires: gcc10-c++
|
||||
%endif
|
||||
|
||||
%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
|
||||
# extract EE and SP inside the EE dir
|
||||
%setup -q -a1 -n EmptyEpsilon-EE-%{version}
|
||||
find -name .gitignore | xargs rm
|
||||
pushd SeriousProton-EE-%{version}
|
||||
%patch -P 0 -p1
|
||||
popd
|
||||
%patch -P 1 -p1
|
||||
|
||||
# extract bundled dependencies
|
||||
mkdir -p SeriousProton/externals/basis
|
||||
bsdtar xvf $RPM_SOURCE_DIR/basis_universal.zip --strip-components=1 -C SeriousProton/externals/basis
|
||||
mkdir -p externals/meshoptimizer
|
||||
bsdtar xvf $RPM_SOURCE_DIR/meshoptimizer.zip --strip-components=1 -C externals/meshoptimizer
|
||||
|
||||
# symlink dependencies into build dir
|
||||
mkdir -p build
|
||||
pushd build
|
||||
ln -s ../SeriousProton-EE-%{version}
|
||||
ln -s ../SeriousProton
|
||||
ln -s ../externals
|
||||
popd
|
||||
|
||||
%build
|
||||
%if 0%{?sle_version}
|
||||
# if sle_version is defined, this is not tumbleweed
|
||||
export CC=gcc-10
|
||||
export CXX=g++-10
|
||||
%endif
|
||||
%cmake -DSERIOUS_PROTON_DIR="SeriousProton-EE-%{version}" \
|
||||
-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)" \
|
||||
%if 0%{?sle_version}
|
||||
-DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \
|
||||
%endif
|
||||
-DOpenGL_GL_PREFERENCE=GLVND
|
||||
%cmake_build -j 8
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%{_bindir}/EmptyEpsilon
|
||||
%{_docdir}/emptyepsilon/
|
||||
%{_datadir}/emptyepsilon/
|
||||
%{_datadir}/applications/EmptyEpsilon.desktop
|
||||
%{_datadir}/icons/hicolor/1024x1024/apps/EmptyEpsilon.png
|
||||
%dir %{_datadir}/icons/hicolor/1024x1024/apps
|
||||
%dir %{_datadir}/icons/hicolor/1024x1024
|
||||
|
||||
%changelog
|
3
meshoptimizer.zip
Normal file
3
meshoptimizer.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7b31562e37aa3209fda372a0abd3c2dea3e609679c54f47725b0f8fb1cde7979
|
||||
size 368849
|
21
use_bundled_basis_universal.patch
Normal file
21
use_bundled_basis_universal.patch
Normal file
@ -0,0 +1,21 @@
|
||||
--- SeriousProton-EE-2023.06.17/libs/basis_universal/CMakeLists.txt 2022-03-15 23:05:53.000000000 +0100
|
||||
+++ /var/tmp/build-root/openSUSE_Tumbleweed-x86_64//home/abuild/rpmbuild/SOURCES/SeriousProton-EE-2022.03.16/libs/basis_universal/CMakeLists.txt 2022-09-14 16:11:34.683294183 +0200
|
||||
@@ -30,8 +30,10 @@
|
||||
|
||||
if(NOT basis_POPULATED)
|
||||
if(COMMAND FetchContent_Populate)
|
||||
- FetchContent_Populate(basis)
|
||||
endif()
|
||||
+ set(BASIS_BASE_PATH "${EXTERNALS_DIR}")
|
||||
+ set(basis_SOURCE_DIR "${BASIS_BASE_PATH}/basis")
|
||||
+ message("${basis_SOURCE_DIR}/encoder/basisu_backend.cpp")
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
set(BUILD_X64 FALSE CACHE BOOL "")
|
||||
endif()
|
||||
@@ -117,4 +119,4 @@
|
||||
)
|
||||
target_compile_features(basisu-transcoder PUBLIC cxx_std_11)
|
||||
target_include_directories(basisu-transcoder INTERFACE "${basis_SOURCE_DIR}")
|
||||
-endif()
|
||||
\ Kein Zeilenumbruch am Dateiende.
|
||||
+endif()
|
15
use_bundled_meshoptimizer.patch
Normal file
15
use_bundled_meshoptimizer.patch
Normal file
@ -0,0 +1,15 @@
|
||||
--- EmptyEpsilon-EE-2023.06.17/CMakeLists.txt 2022-03-16 07:43:41.000000000 +0100
|
||||
+++ /var/tmp/build-root/openSUSE_Tumbleweed-x86_64/home/abuild/rpmbuild/SOURCES/EmptyEpsilon-EE-2022.03.16/CMakeLists.txt 2022-09-14 15:54:47.874043178 +0200
|
||||
@@ -134,8 +134,11 @@
|
||||
|
||||
if(NOT meshoptimizer_POPULATED)
|
||||
if(COMMAND FetchContent_Populate)
|
||||
- FetchContent_Populate(meshoptimizer)
|
||||
endif()
|
||||
+ set(MESHOPTIMIZER_BASE_PATH "${EXTERNALS_DIR}")
|
||||
+ set(meshoptimizer_SOURCE_DIR "${MESHOPTIMIZER_BASE_PATH}/meshoptimizer")
|
||||
+ set(meshoptimizer_BINARY_DIR "${PROJECT_BINARY_DIR}/externals/meshoptimizer")
|
||||
+ message("add_subdirectory(${meshoptimizer_SOURCE_DIR} ${meshoptimizer_BINARY_DIR} EXCLUDE_FROM_ALL)")
|
||||
add_subdirectory(${meshoptimizer_SOURCE_DIR} ${meshoptimizer_BINARY_DIR} EXCLUDE_FROM_ALL)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user