forked from pool/cdogs-sdl
Accepting request 913484 from home:mnhauke:games
- Update to 1.0.0 * Support for Wolfenstein 3D and Spear of Destiny Game * Add support for vehicles #30 * Add support for multi-guns * Add support for custom wreck objects and bullets (allows respawning actors on death) * Add support for custom actor death animation * Add option to skip debrief menu * Fix game freeze when returning to game after leaving it paused for a while * Fix duplicate missions in level select * Improve performance by adding max particle limit * Improve level select menu with max items limit * Improve game start menu by disabling continue option after campaign complete Editor * Fix loading a campaign with less missions showing a blank mission #670 * Add per-mission option to persist weapons (can reset weapons on certain missions) * Change map shortcut key to tab - Add patch: * fix-build.patch OBS-URL: https://build.opensuse.org/request/show/913484 OBS-URL: https://build.opensuse.org/package/show/games/cdogs-sdl?expand=0&rev=37
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1d51c1d918493761a1d702e6f9bf46409b9ecd0ea98ca4081fc41d355957222a
|
||||
size 31926713
|
3
cdogs-sdl-1.0.0.tar.gz
Normal file
3
cdogs-sdl-1.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aba3679ecf41ffad60e8710b5583af3b037819b7f1ae6d75055e6fb79b53eded
|
||||
size 32374129
|
@@ -1,3 +1,31 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 21 18:58:34 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to 1.0.0
|
||||
* Support for Wolfenstein 3D and Spear of Destiny
|
||||
Game
|
||||
* Add support for vehicles #30
|
||||
* Add support for multi-guns
|
||||
* Add support for custom wreck objects and bullets (allows
|
||||
respawning actors on death)
|
||||
* Add support for custom actor death animation
|
||||
* Add option to skip debrief menu
|
||||
* Fix game freeze when returning to game after leaving it paused
|
||||
for a while
|
||||
* Fix duplicate missions in level select
|
||||
* Improve performance by adding max particle limit
|
||||
* Improve level select menu with max items limit
|
||||
* Improve game start menu by disabling continue option after
|
||||
campaign complete
|
||||
Editor
|
||||
* Fix loading a campaign with less missions showing a blank
|
||||
mission #670
|
||||
* Add per-mission option to persist weapons (can reset weapons
|
||||
on certain missions)
|
||||
* Change map shortcut key to tab
|
||||
- Add patch:
|
||||
* fix-build.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 20 19:09:53 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
|
@@ -17,13 +17,14 @@
|
||||
|
||||
|
||||
Name: cdogs-sdl
|
||||
Version: 0.13.0
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
Summary: Classic overhead run-and-gun game
|
||||
License: BSD-2-Clause AND GPL-2.0-only AND CC-BY-3.0 AND CC-BY-SA-3.0
|
||||
Group: Amusements/Games/Action/Shoot
|
||||
URL: https://cxong.github.io/cdogs-sdl
|
||||
Source: https://github.com/cxong/cdogs-sdl/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: fix-build.patch
|
||||
BuildRequires: cmake >= 3.12
|
||||
BuildRequires: enet-devel
|
||||
BuildRequires: fdupes
|
||||
@@ -46,11 +47,16 @@ from up to 11 weapons, and try over 100 user-created campaigns. Have fun!
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
# use system enet
|
||||
rm -rf src/cdogs/enet
|
||||
rm %{_datadir}/cdogs-sdl/README.md
|
||||
|
||||
%build
|
||||
%cmake -DCDOGS_DATA_DIR=%{_datadir}/%{name}/ -DUSE_SHARED_ENET=ON
|
||||
%cmake \
|
||||
-DCDOGS_BIN_DIR=%{_bindir}/ \
|
||||
-DCDOGS_DATA_DIR=%{_datadir}/%{name}/ \
|
||||
-DUSE_SHARED_ENET=ON
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
@@ -62,7 +68,7 @@ rm -rf src/cdogs/enet
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc %{_datadir}/%{name}/README.md
|
||||
%doc README.md
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_bindir}/%{name}*
|
||||
%{_datadir}/%{name}/
|
||||
|
22
fix-build.patch
Normal file
22
fix-build.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 8429585..94f80aa 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -148,6 +148,9 @@ if(NOT DEFINED CDOGS_DATA_DIR)
|
||||
endif()
|
||||
endif()
|
||||
message("Data dir is ${CDOGS_DATA_DIR}")
|
||||
+if(NOT DEFINED DATA_INSTALL_DIR)
|
||||
+ set(DATA_INSTALL_DIR "${CDOGS_DATA_DIR}")
|
||||
+endif()
|
||||
if(WIN32)
|
||||
set(CDOGS_CFG_DIR "C-Dogs SDL/")
|
||||
else()
|
||||
@@ -200,7 +203,6 @@ elseif(APPLE)
|
||||
set(INSTALL_PREFIX "cdogs-sdl")
|
||||
else()
|
||||
set(LIB_EXTENSION ".so")
|
||||
- set(DATA_INSTALL_DIR ".")
|
||||
endif()
|
||||
|
||||
# Since Debian wants games binaries in /usr/games
|
Reference in New Issue
Block a user