diff options
author | Joerie de Gram <j.de.gram@gmail.com> | 2021-11-06 12:47:26 +0100 |
---|---|---|
committer | tomberek <tomberek@users.noreply.github.com> | 2021-11-06 14:46:59 -0400 |
commit | 50417ddb87f8dbe992f08fdd9ad9be26ebad0098 (patch) | |
tree | 14f1a2c36f08262b86e9f4aa8f982d2b244511d6 | |
parent | c3cf40e50e78eb570826860d8bf4c17bf948d625 (diff) | |
download | nixpkgs-50417ddb87f8dbe992f08fdd9ad9be26ebad0098.tar nixpkgs-50417ddb87f8dbe992f08fdd9ad9be26ebad0098.tar.gz nixpkgs-50417ddb87f8dbe992f08fdd9ad9be26ebad0098.tar.bz2 nixpkgs-50417ddb87f8dbe992f08fdd9ad9be26ebad0098.tar.lz nixpkgs-50417ddb87f8dbe992f08fdd9ad9be26ebad0098.tar.xz nixpkgs-50417ddb87f8dbe992f08fdd9ad9be26ebad0098.tar.zst nixpkgs-50417ddb87f8dbe992f08fdd9ad9be26ebad0098.zip |
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
-rw-r--r-- | pkgs/games/opendungeons/cmakepaths.patch | 11 | ||||
-rw-r--r-- | pkgs/games/opendungeons/default.nix | 7 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 11 insertions, 9 deletions
diff --git a/pkgs/games/opendungeons/cmakepaths.patch b/pkgs/games/opendungeons/cmakepaths.patch index bcffd7a22bc..a3e7ba7d6c8 100644 --- a/pkgs/games/opendungeons/cmakepaths.patch +++ b/pkgs/games/opendungeons/cmakepaths.patch @@ -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") diff --git a/pkgs/games/opendungeons/default.nix b/pkgs/games/opendungeons/default.nix index d18682b8807..734be8e999a 100644 --- a/pkgs/games/opendungeons/default.nix +++ b/pkgs/games/opendungeons/default.nix @@ -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"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b7dcf18da69..d6aee03ada0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -30190,7 +30190,7 @@ with pkgs; openarena = callPackage ../games/openarena { }; opendungeons = callPackage ../games/opendungeons { - ogre = ogre1_9; + ogre = ogre1_10; }; openlierox = callPackage ../games/openlierox { }; |