3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #130251 from McSinyx/flare-1.12rc2

flare: 1.12rc1 -> 1.12rc2
This commit is contained in:
Sandro 2021-07-15 20:44:38 +02:00 committed by GitHub
commit 3018b27b01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 5 deletions

View file

@ -1,7 +1,7 @@
{ lib, buildEnv, callPackage, makeWrapper, Cocoa }:
buildEnv {
name = "flare-1.12rc1";
name = "flare-1.12rc2";
paths = [
(callPackage ./engine.nix { inherit Cocoa; })

View 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

View file

@ -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;

View file

@ -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 ];