sgtpuzzles-mobile: init

This commit is contained in:
Tom Fitzhenry 2022-08-07 17:28:25 +10:00
parent bfa595b925
commit 5d5859df9b
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

@ -33068,6 +33068,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 { };