linthesia: use latest SDL2_ttf via backport
Upstream commit is merged to main but not in release yet.
This commit is contained in:
parent
ce57dd627d
commit
4340a53bf3
1 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue