gtranslator: 42.0 → 45.1

https://gitlab.gnome.org/GNOME/gtranslator/-/compare/42.0...45.1

Ported to GTK4. Replaced gspell with libspelling.

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
Bobby Rong 2023-09-21 14:55:03 +00:00 committed by Jan Tojnar
parent 66b8fd8530
commit 9936fb3b16

View File

@ -6,28 +6,27 @@
, pkg-config
, itstool
, gettext
, python3
, wrapGAppsHook
, wrapGAppsHook4
, libxml2
, libadwaita
, libgda6
, libhandy
, libsoup_3
, libspelling
, json-glib
, gspell
, glib
, gtk3
, gtksourceview4
, gtk4
, gtksourceview5
, gnome
, gsettings-desktop-schemas
}:
stdenv.mkDerivation rec {
pname = "gtranslator";
version = "42.0";
version = "45.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "Kme8v+ZDBhsGltiaEIR9UL81kF/zNhuYcTV9PjQi8Ts=";
sha256 = "Os7bmr5hTXzcnS+qhuhIdDebZxAreirl4hG0lzNm+hs=";
};
nativeBuildInputs = [
@ -36,29 +35,23 @@ stdenv.mkDerivation rec {
pkg-config
itstool
gettext
python3
wrapGAppsHook
wrapGAppsHook4
];
buildInputs = [
libxml2
glib
gtk3
gtksourceview4
gtk4
gtksourceview5
libadwaita
libgda6
libhandy
libsoup_3
libspelling
json-glib
gettext
gspell
gsettings-desktop-schemas
];
postPatch = ''
chmod +x build-aux/meson/meson_post_install.py
patchShebangs build-aux/meson/meson_post_install.py
'';
passthru = {
updateScript = gnome.updateScript {
packageName = pname;