gnome.zenity: 3.44.0 → 3.90.0

https://gitlab.gnome.org/GNOME/zenity/-/compare/3.44.0...3.90.0

Co-authored-by: Bobby Rong <rjl931189261@126.com>

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
Jan Tojnar 2023-02-25 03:03:04 +00:00
parent 91847b3c94
commit 7f0f298f4f
2 changed files with 8 additions and 24 deletions

View File

@ -6,26 +6,22 @@
, pkg-config
, libxml2
, gnome
, gtk3
, gtk4
, gettext
, libX11
, libadwaita
, itstool
, wrapGAppsHook
, wrapGAppsHook4
}:
stdenv.mkDerivation rec {
pname = "zenity";
version = "3.44.0";
version = "3.90.0";
src = fetchurl {
url = "mirror://gnome/sources/zenity/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "wVWCMB7ZC51CzlIdvM+ZqYnyLxIEG91SecZjbamev2U=";
sha256 = "XsvlcxBVqYfiDB+vBQdfECLd4wenLp0UUiRA1IHWhtA=";
};
patches = [
./fix-icon-install.patch
];
nativeBuildInputs = [
meson
ninja
@ -33,12 +29,12 @@ stdenv.mkDerivation rec {
gettext
itstool
libxml2
wrapGAppsHook
wrapGAppsHook4
];
buildInputs = [
gtk3
libX11
gtk4
libadwaita
];
passthru = {

View File

@ -1,12 +0,0 @@
diff --git a/data/meson.build b/data/meson.build
index 339b3cff..aca65efd 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -9,5 +9,6 @@ install_data(
'zenity-text.png',
'zenity-scale.png',
'zenity-entry.png',
- 'zenity-notification.png']
+ 'zenity-notification.png'],
+ install_dir: zenity_prefix / get_option('datadir') / 'icons/hicolor/48x48/apps',
)