opendungeons: 0.7.1 -> unstable-2021-11-06

- no stable release for over 5 years, switch to unstable
  (fixes ois include path issue)
- update ogre dependency to ogre_1.10 to match cegui's version
  (fixes crash on init)

ZHF: #144627
This commit is contained in:
Joerie de Gram 2021-11-06 12:47:26 +01:00 committed by tomberek
parent c3cf40e50e
commit 50417ddb87
3 changed files with 11 additions and 9 deletions

View file

@ -1,13 +1,16 @@
--- ../CMakeLists.txt
+++ ../CMakeLists.txt
@@ -31,12 +31,12 @@
set(OD_PLUGINS_CFG_PATH ".")
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f8ff3c28..b57ee337 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,13 +30,13 @@ if(WIN32)
set(OD_BIN_PATH ${CMAKE_INSTALL_PREFIX})
else()
# Set binary and data install locations if we want to use the installer
- set(OD_BIN_PATH ${CMAKE_INSTALL_PREFIX}/games CACHE PATH "Absolute path to the game binary directory")
+ set(OD_BIN_PATH ${CMAKE_INSTALL_PREFIX}/bin CACHE PATH "Absolute path to the game binary directory")
set(OD_DATA_PATH ${CMAKE_INSTALL_PREFIX}/share/games/${PROJECT_NAME} CACHE PATH "Absolute path to the game data directory")
set(OD_SHARE_PATH ${CMAKE_INSTALL_PREFIX}/share CACHE PATH "Absolute path to the shared data directory (desktop file, icons, etc.)")
set(OD_MAN_PATH ${OD_SHARE_PATH}/man CACHE PATH "Absolute path to the manpages directory")
# Set the plugins.cfg file path to a common but architecture-dependent location.
# Because the plugins.cfg Ogre plugins path path may vary depending on the architecture used.
- set(OD_PLUGINS_CFG_PATH /etc/${PROJECT_NAME} CACHE PATH "Absolute path to the Ogre plugins.cfg file")

View file

@ -2,20 +2,19 @@
stdenv.mkDerivation rec {
pname = "opendungeons";
version = "0.7.1";
version = "unstable-2021-11-06";
src = fetchFromGitHub {
owner = "OpenDungeons";
repo = "OpenDungeons";
rev = version;
sha256 = "0nipb2h0gn628yxlahjgnfhmpfqa19mjdbj3aqabimdfqds9pryh";
rev = "c180ed1864eab5fbe847d1dd5c5c936c4e45444e";
sha256 = "0xf7gkpy8ll1h59wyaljf0hr8prg7p4ixz80mxqwcnm9cglpgn63";
};
patches = [ ./cmakepaths.patch ];
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ ogre cegui boost sfml openal ois ];
NIX_LDFLAGS = "-lpthread";
meta = with lib; {
description = "An open source, real time strategy game sharing game elements with the Dungeon Keeper series and Evil Genius";

View file

@ -30190,7 +30190,7 @@ with pkgs;
openarena = callPackage ../games/openarena { };
opendungeons = callPackage ../games/opendungeons {
ogre = ogre1_9;
ogre = ogre1_10;
};
openlierox = callPackage ../games/openlierox { };