Accepting request 935538 from home:susnux:branches:games

- Update to version 1.2.0
  * Fix Spear of Destiny secret level warps
  * Fix Spear of Destiny missing wall definition
  * Editor: Fix setting key required for doors
- Add fix-source-file-directory.patch

OBS-URL: https://build.opensuse.org/request/show/935538
OBS-URL: https://build.opensuse.org/package/show/games/cdogs-sdl?expand=0&rev=42
This commit is contained in:
Martin Hauke 2021-12-03 17:11:24 +00:00 committed by Git OBS Bridge
parent 62f7a960e3
commit fca872eb0b
5 changed files with 26 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a1a18efbd128249ac607f7bf04e09e4625d35509209be7e256461f2fabddd98e
size 35073687

3
cdogs-sdl-1.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:20ed6d261dcc1a6c5f197ffa49aeb2b9c30d2ece514745b144c6ebaeada9bcaf
size 35018104

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Dec 3 15:08:13 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to version 1.2.0
* Fix Spear of Destiny secret level warps
* Fix Spear of Destiny missing wall definition
* Editor: Fix setting key required for doors
- Add fix-source-file-directory.patch
-------------------------------------------------------------------
Wed Oct 13 20:03:42 UTC 2021 - Martin Hauke <mardnh@gmx.de>

View File

@ -17,7 +17,7 @@
Name: cdogs-sdl
Version: 1.1.1
Version: 1.2.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
@ -25,6 +25,8 @@ 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
# PATCH-FIX-UPSTREAM fix-source-file-directory.patch -- https://github.com/cxong/cdogs-sdl/issues/729
Patch1: fix-source-file-directory.patch
BuildRequires: cmake >= 3.12
BuildRequires: enet-devel
BuildRequires: fdupes
@ -46,8 +48,7 @@ C-Dogs SDL is a classic overhead run-and-gun game, supporting up to
from up to 11 weapons, and try over 100 user-created campaigns. Have fun!
%prep
%setup -q
%patch0 -p1
%autosetup -p1
# use system enet
rm -rf src/cdogs/enet

View File

@ -0,0 +1,10 @@
diff -Nur old/src/proto/CMakeLists.txt cdogs-sdl-1.2.0/src/proto/CMakeLists.txt
--- old/src/proto/CMakeLists.txt 2021-12-02 11:16:04.000000000 +0100
+++ cdogs-sdl-1.2.0/src/proto/CMakeLists.txt 2021-12-03 16:41:53.692774618 +0100
@@ -10,5 +10,6 @@
include_directories(${CMAKE_CURRENT_BINARY_DIR})
set_source_files_properties(${PROTO_SRCS} ${PROTO_HDRS}
+ DIRECTORY .
PROPERTIES GENERATED TRUE)
add_library(cdogs_proto STATIC ${PROTO_SRCS} ${PROTO_HDRS} msg.options msg.proto)