diff options
author | Bobby Rong <rjl931189261@126.com> | 2024-02-13 11:26:49 +0000 |
---|---|---|
committer | Maxine Aubrey <max@ine.dev> | 2024-04-22 21:08:51 +0200 |
commit | def1a3bf27c5cf913bd2c6768a81703e50513be9 (patch) | |
tree | e2928bf01dbd0691f26374c99c61409ac0153cf2 /pkgs/desktops | |
parent | 99404bce0f22686475c52190c955f96207208d5c (diff) |
gnome.swell-foop: 41.1 → 46.0
https://gitlab.gnome.org/GNOME/swell-foop/-/compare/41.1...46.0 Port to GTK4. Changelog-Reviewed-By: Maxine Aubrey <max@ine.dev>
Diffstat (limited to 'pkgs/desktops')
-rw-r--r-- | pkgs/desktops/gnome/games/swell-foop/default.nix | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/pkgs/desktops/gnome/games/swell-foop/default.nix b/pkgs/desktops/gnome/games/swell-foop/default.nix index 98a01140fd8e6..a58db9829f444 100644 --- a/pkgs/desktops/gnome/games/swell-foop/default.nix +++ b/pkgs/desktops/gnome/games/swell-foop/default.nix @@ -6,26 +6,26 @@ , pkg-config , vala , glib -, gtk3 -, libgnome-games-support +, gtk4 +, libgee +, libgnome-games-support_2_0 +, pango , gnome , desktop-file-utils -, clutter -, clutter-gtk , gettext , itstool , libxml2 -, wrapGAppsHook +, wrapGAppsHook4 , python3 }: stdenv.mkDerivation rec { pname = "swell-foop"; - version = "41.1"; + version = "46.0"; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; - sha256 = "JD96VeXnU6UQhu7CVoMg12ktWxWmanI6tZFwXg2O9t0="; + hash = "sha256-BvireAfXHOyUi4aDcfR/ut7vzLXDV+E9HvPISBiR/KM="; }; nativeBuildInputs = [ @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { ninja vala pkg-config - wrapGAppsHook + wrapGAppsHook4 python3 itstool gettext @@ -43,17 +43,12 @@ stdenv.mkDerivation rec { buildInputs = [ glib - gtk3 - libgnome-games-support - clutter - clutter-gtk + gtk4 + libgee + libgnome-games-support_2_0 + pango ]; - postPatch = '' - chmod +x meson_post_install.py # patchShebangs requires executable file - patchShebangs meson_post_install.py - ''; - passthru = { updateScript = gnome.updateScript { packageName = pname; |