cegui: 0.8.7 -> unstable-2023-03-18
This commit is contained in:
parent
4adde79832
commit
34f9116c58
2 changed files with 45 additions and 13 deletions
|
@ -1,19 +1,53 @@
|
||||||
{ lib, stdenv, fetchurl, cmake, ogre, freetype, boost, expat, libiconv }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, ogre
|
||||||
|
, freetype
|
||||||
|
, boost
|
||||||
|
, expat
|
||||||
|
, darwin
|
||||||
|
, libiconv
|
||||||
|
, unstableGitUpdater
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation {
|
||||||
pname = "cegui";
|
pname = "cegui";
|
||||||
version = "0.8.7";
|
version = "unstable-2023-03-18";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "mirror://sourceforge/crayzedsgui/${pname}-${version}.tar.bz2";
|
owner = "paroj";
|
||||||
sha256 = "067562s71kfsnbp2zb2bmq8zj3jk96g5a4rcc5qc3n8nfyayhldk";
|
repo = "cegui";
|
||||||
|
rev = "186ce900e293b98f2721c11930248a8de54aa338";
|
||||||
|
hash = "sha256-RJ4MnxklcuxC+ZYEbfma5RDc2aeJ95LuTwNk+FnEhdo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
strictDeps = true;
|
||||||
buildInputs = [ ogre freetype boost expat ]
|
|
||||||
++ lib.optionals stdenv.isDarwin [ libiconv ];
|
|
||||||
|
|
||||||
cmakeFlags = lib.optional (stdenv.isDarwin && stdenv.isAarch64) "-DCMAKE_OSX_ARCHITECTURES=arm64";
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
ogre
|
||||||
|
freetype
|
||||||
|
boost
|
||||||
|
expat
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.Cocoa
|
||||||
|
darwin.apple_sdk.frameworks.Foundation
|
||||||
|
libiconv
|
||||||
|
];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DCEGUI_OPTION_DEFAULT_IMAGECODEC=OgreRenderer-0"
|
||||||
|
] ++ lib.optionals (stdenv.hostPlatform.isDarwin) [
|
||||||
|
"-DCMAKE_OSX_ARCHITECTURES=${stdenv.hostPlatform.darwinArch}"
|
||||||
|
];
|
||||||
|
|
||||||
|
passthru.updateScript = unstableGitUpdater {
|
||||||
|
branch = "v0";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://cegui.org.uk/";
|
homepage = "http://cegui.org.uk/";
|
||||||
|
|
|
@ -20391,9 +20391,7 @@ with pkgs;
|
||||||
celt_0_7 = callPackage ../development/libraries/celt/0.7.nix { };
|
celt_0_7 = callPackage ../development/libraries/celt/0.7.nix { };
|
||||||
celt_0_5_1 = callPackage ../development/libraries/celt/0.5.1.nix { };
|
celt_0_5_1 = callPackage ../development/libraries/celt/0.5.1.nix { };
|
||||||
|
|
||||||
cegui = callPackage ../development/libraries/cegui {
|
cegui = callPackage ../development/libraries/cegui { };
|
||||||
ogre = ogre1_10;
|
|
||||||
};
|
|
||||||
|
|
||||||
certbot = python3.pkgs.toPythonApplication python3.pkgs.certbot;
|
certbot = python3.pkgs.toPythonApplication python3.pkgs.certbot;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue