Accepting request 935561 from 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/935561 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cdogs-sdl?expand=0&rev=19
This commit is contained in:
commit
ad1eab6af2
@ -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
3
cdogs-sdl-1.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:20ed6d261dcc1a6c5f197ffa49aeb2b9c30d2ece514745b144c6ebaeada9bcaf
|
||||
size 35018104
|
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
17
fix-source-file-directory.patch
Normal file
17
fix-source-file-directory.patch
Normal file
@ -0,0 +1,17 @@
|
||||
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 18:43:18.315210954 +0100
|
||||
@@ -4,11 +4,12 @@
|
||||
add_definitions(-DPB_FIELD_16BIT) # Allow larger field numbers in nanopb
|
||||
|
||||
# Note: uncomment below line to build new proto files
|
||||
-# nanopb_generate_cpp(PROTO_SRCS PROTO_HDRS msg.proto)
|
||||
+nanopb_generate_cpp(PROTO_SRCS PROTO_HDRS msg.proto)
|
||||
set(PROTO_SRCS "msg.pb.c" "nanopb/pb_decode.c" "nanopb/pb_encode.c" "nanopb/pb_common.c")
|
||||
set(PROTO_HDRS "msg.pb.h" "nanopb/pb_decode.h" "nanopb/pb_encode.c" "nanopb/pb_common.c" "nanopb/pb.h")
|
||||
|
||||
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)
|
Loading…
x
Reference in New Issue
Block a user