gnome3.gnome-mahjongg: 3.36.2 -> 3.38.1

Changelogs:
- https://ftp.gnome.org/pub/GNOME/sources/gnome-mahjongg/3.38/gnome-mahjongg-3.38.0.news
- https://ftp.gnome.org/pub/GNOME/sources/gnome-mahjongg/3.38/gnome-mahjongg-3.38.1.news

Signed-off-by: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
Piotr Bogdan 2020-08-25 08:30:47 +01:00 committed by Jan Tojnar
parent a0024ddc42
commit 9d016e6393
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
1 changed files with 18 additions and 14 deletions

View File

@ -1,41 +1,45 @@
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook { stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
, librsvg, gettext, itstool, libxml2 , librsvg, gettext, itstool, libxml2
, meson, ninja, python3, vala, desktop-file-utils , meson, ninja, glib, vala, desktop-file-utils
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-mahjongg"; pname = "gnome-mahjongg";
version = "3.36.2"; version = "3.38.1";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-mahjongg/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-mahjongg/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "15xfp2acqdnn0pcwg5d77dpv758jjyclwb042wm12gg07rbg3s6j"; sha256 = "N0LcYxD8M/NewYfwJpnfIDzVb27pS0Hz7vJdrinutkc=";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "gnome-mahjongg"; attrPath = "gnome3.gnome-mahjongg"; };
}; };
nativeBuildInputs = [ nativeBuildInputs = [
meson ninja vala python3 desktop-file-utils meson ninja vala desktop-file-utils
pkgconfig gnome3.adwaita-icon-theme pkgconfig gnome3.adwaita-icon-theme
libxml2 itstool gettext wrapGAppsHook libxml2 itstool gettext wrapGAppsHook
glib # for glib-compile-schemas
]; ];
buildInputs = [ buildInputs = [
gtk3 librsvg glib
gtk3
librsvg
]; ];
postPatch = '' mesonFlags = [
chmod +x data/meson_post_install.py "-Dcompile-schemas=enabled"
patchShebangs data/meson_post_install.py ];
'';
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://wiki.gnome.org/Apps/Mahjongg"; homepage = "https://wiki.gnome.org/Apps/Mahjongg";
description = "Disassemble a pile of tiles by removing matching pairs"; description = "Disassemble a pile of tiles by removing matching pairs";
maintainers = teams.gnome.members; maintainers = teams.gnome.members;
license = licenses.gpl2; license = licenses.gpl3Plus;
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }