diff options
author | Andrew Marshall <andrew@johnandrewmarshall.com> | 2023-06-22 08:06:33 -0400 |
---|---|---|
committer | Andrew Marshall <andrew@johnandrewmarshall.com> | 2023-07-11 18:15:11 -0400 |
commit | 4340a53bf39332ef13fd133b22077959900d3d45 (patch) | |
tree | ec7dec784dbe44b4c2d1b46e49e78a01438f6c23 /pkgs/games | |
parent | ce57dd627dbe1a1bdada9ec5b0e553705604c036 (diff) |
linthesia: use latest SDL2_ttf via backport
Upstream commit is merged to main but not in release yet.
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/linthesia/default.nix | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/pkgs/games/linthesia/default.nix b/pkgs/games/linthesia/default.nix index 5d7854d407f4a..32a0902403cac 100644 --- a/pkgs/games/linthesia/default.nix +++ b/pkgs/games/linthesia/default.nix @@ -1,9 +1,10 @@ { lib , SDL2 , SDL2_image -, SDL2_ttf_2_0_15 +, SDL2_ttf , alsa-lib , fetchFromGitHub +, fetchpatch2 , glibmm , gtk3 , libGL @@ -28,6 +29,14 @@ stdenv.mkDerivation rec { sha256 = "sha256-bdW0RlV14ttnK8NizfNfXmZ7zlJOqZCpVvt8vT2Pjys="; }; + patches = [ + # fix: text looks garbled with SDL2_ttf 2.0.18 + (fetchpatch2 { + url = "https://github.com/linthesia/linthesia/commit/bd647270b3bdf79a9af6ac1e2203c9e860d16c58.patch"; + hash = "sha256-hNal0eVfikRSpW+MOfpKvnWXrEJgIXHPAtNPB9SvHVU="; + }) + ]; + postPatch = '' patchShebangs meson_post_install.py ''; @@ -40,7 +49,7 @@ stdenv.mkDerivation rec { glibmm sqlite SDL2 - SDL2_ttf_2_0_15 + SDL2_ttf SDL2_image gtk3.out # icon cache ]; |