From 504cd85fdfe6df24e23034eab75b8ce00c806be0 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 19 Nov 2024 07:26:06 -0500 Subject: [PATCH] showtime: 46.3 -> 47.0 Diff: https://gitlab.gnome.org/GNOME/Incubator/showtime/-/compare/refs/tags/46.3...47.0 (cherry picked from commit 645133d1f018a024c7307a29429dbc166ebc6d19) --- pkgs/by-name/sh/showtime/package.nix | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/sh/showtime/package.nix b/pkgs/by-name/sh/showtime/package.nix index 1411121c0751..68945b8c27ab 100644 --- a/pkgs/by-name/sh/showtime/package.nix +++ b/pkgs/by-name/sh/showtime/package.nix @@ -1,40 +1,45 @@ { lib, - python3Packages, - fetchFromGitLab, appstream, blueprint-compiler, desktop-file-utils, + fetchFromGitLab, glib, gobject-introspection, gst_all_1, + gtk4, libadwaita, meson, ninja, + nix-update-script, pkg-config, + python3Packages, wrapGAppsHook4, }: python3Packages.buildPythonApplication rec { pname = "showtime"; - version = "46.3"; + version = "47.0"; pyproject = false; src = fetchFromGitLab { + domain = "gitlab.gnome.org"; group = "GNOME"; owner = "Incubator"; repo = "showtime"; rev = "refs/tags/${version}"; - hash = "sha256-0qT62VoodRcrxYNTtZk+KqxzhflxFU/HPtj2u0wRSH0="; - domain = "gitlab.gnome.org"; + hash = "sha256-Bnz+LFyvwSjkrbePmoVZZqy2pNLqiyJTsZsSuUyDy+E="; }; + strictDeps = true; + nativeBuildInputs = [ appstream blueprint-compiler desktop-file-utils - glib # for `glib-compile-schemas` + glib # For `glib-compile-schemas` gobject-introspection + gtk4 # For `gtk-update-icon-cache` meson ninja pkg-config @@ -42,12 +47,12 @@ python3Packages.buildPythonApplication rec { ]; buildInputs = [ - gst_all_1.gstreamer gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gst_all_1.gst-plugins-rs gst_all_1.gst-plugins-ugly + gst_all_1.gstreamer libadwaita ]; @@ -58,6 +63,10 @@ python3Packages.buildPythonApplication rec { pythonImportsCheck = [ "showtime" ]; + passthru = { + updateScript = nix-update-script { }; + }; + meta = { description = "Watch without distraction"; homepage = "https://apps.gnome.org/Showtime";