Merge pull request #185517 from tomfitzhenry/sgtpuzzles-mobile

sgtpuzzles-mobile: init
This commit is contained in:
7c6f434c 2022-08-08 06:22:13 +00:00 committed by GitHub
commit 0e27b0d8c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -1,6 +1,7 @@
{ lib, stdenv, fetchurl, desktop-file-utils
, gtk3, libX11, cmake, imagemagick
, pkg-config, perl, wrapGAppsHook
, isMobile ? false
}:
stdenv.mkDerivation rec {
@ -26,6 +27,8 @@ stdenv.mkDerivation rec {
wrapGAppsHook
];
NIX_CFLAGS_COMPILE = if isMobile then "-DSTYLUS_BASED" else "";
buildInputs = [ gtk3 libX11 ];
postInstall = ''

View file

@ -33067,6 +33067,10 @@ with pkgs;
sgtpuzzles = callPackage ../games/sgt-puzzles { };
sgtpuzzles-mobile = callPackage ../games/sgt-puzzles {
isMobile = true;
};
shattered-pixel-dungeon = callPackage ../games/shattered-pixel-dungeon { };
shticker-book-unwritten = callPackage ../games/shticker-book-unwritten { };