- Update to version 1.4.0 * Fix Spear of Destiny compatibility with steam Wolfenstein 3D * Improve several campaigns with auto-melee weapons (Doom, Wolf3D+SoD) - Update to version 1.3.1 * Persistent lives, fix gas bomb poison lasting forever - Update to version 1.3.0 * Fix missing controls in editor, and some animation effects and sounds - Add fix-env-script-interpreter.patch - Add cdogs-sdl.rpmlintrc to filter out warning on hidden data directory - Remove fix-source-file-directory.patch OBS-URL: https://build.opensuse.org/request/show/1042608 OBS-URL: https://build.opensuse.org/package/show/games/cdogs-sdl?expand=0&rev=44
23 lines
628 B
Diff
23 lines
628 B
Diff
Index: cdogs-sdl-1.4.0/CMakeLists.txt
|
|
===================================================================
|
|
--- cdogs-sdl-1.4.0.orig/CMakeLists.txt
|
|
+++ cdogs-sdl-1.4.0/CMakeLists.txt
|
|
@@ -147,6 +147,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()
|
|
@@ -199,7 +202,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
|