Merge pull request #130251 from McSinyx/flare-1.12rc2
flare: 1.12rc1 -> 1.12rc2
This commit is contained in:
commit
3018b27b01
4 changed files with 22 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
{ lib, buildEnv, callPackage, makeWrapper, Cocoa }:
|
||||
|
||||
buildEnv {
|
||||
name = "flare-1.12rc1";
|
||||
name = "flare-1.12rc2";
|
||||
|
||||
paths = [
|
||||
(callPackage ./engine.nix { inherit Cocoa; })
|
||||
|
|
15
pkgs/games/flare/desktop.patch
Normal file
15
pkgs/games/flare/desktop.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
diff --git a/distribution/flare.desktop.in b/distribution/flare.desktop.in
|
||||
index c740e2a6..eef91a89 100644
|
||||
--- a/distribution/flare.desktop.in
|
||||
+++ b/distribution/flare.desktop.in
|
||||
@@ -14,8 +14,8 @@ Comment[fr]=Un jeu de rôle d'action monojoueur en 2D isométrique
|
||||
Comment[gl]=Xogo individual de acción e rol cunha vista isométrica en dúas dimensións.
|
||||
Comment[ru]=Изометрический ролевой боевик для одного игрока
|
||||
Comment[uk]=Ізометричний рольовий екшн (Action/RPG) для одного гравця
|
||||
-TryExec=@FLARE_EXECUTABLE_PATH@
|
||||
-Exec=@FLARE_EXECUTABLE_PATH@
|
||||
+TryExec=flare
|
||||
+Exec=flare
|
||||
Categories=Game;RolePlaying;
|
||||
Icon=flare
|
||||
Terminal=false
|
|
@ -2,15 +2,17 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flare-engine";
|
||||
version = "1.12rc1";
|
||||
version = "1.12rc2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "flareteam";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0bl5vayf87y2jd6b1w4nn7pbrhix6dj86xv5kzqxz6b2y65lq73p";
|
||||
sha256 = "10il9dpbcka1w5glmhv48bqwww44csmhq426lvsc7z84444gvvgq";
|
||||
};
|
||||
|
||||
patches = [ ./desktop.patch ];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf ]
|
||||
++ lib.optional stdenv.isDarwin Cocoa;
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flare-game";
|
||||
version = "1.12rc1";
|
||||
version = "1.12rc2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "flareteam";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1i2fa2hds5ph8gf5b9647vrn7ycz2fl9xaaaybz8yrjmnpx27bzc";
|
||||
sha256 = "0k9fnbaqfgmih8bd0sh3kbk6f6v74i95wrbkij48gp48pq8yqbf9";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
|
Loading…
Reference in a new issue