Group: Development/Tools
Source0: https://download.gnome.org/sources/gitg/41/%{name}-%{version}.tar.xz
# Source0-md5: ce7df0f2ce36488291444537df86936d
+Patch0: meson0.60.patch
URL: https://wiki.gnome.org/Apps/Gitg
BuildRequires: gettext-tools >= 0.17
%{?with_glade:BuildRequires: glade-devel >= 3.2}
%prep
%setup -q
+%patch0 -p1
%build
%meson build \
%files -n python3-gitg
%defattr(644,root,root,755)
-%{py3_sitedir}/gi/overrides/GitgExt.py
+%{py3_sitescriptdir}/gi/overrides/GitgExt.py
%files -n vala-gitg
%defattr(644,root,root,755)
--- /dev/null
+--- gitg-41/data/meson.build~ 2021-12-27 14:02:54.000000000 +0100
++++ gitg-41/data/meson.build 2022-04-03 21:41:19.936484001 +0200
+@@ -6,7 +6,6 @@
+ desktop_config.set('icon', application_id)
+ desktop_config.set('binary', gitg_name)
+ i18n.merge_file(
+- desktop,
+ type: 'desktop',
+ input: configure_file(
+ input: desktop + '.in.in',
+@@ -42,7 +41,6 @@
+ appdata_config.set('app-id', application_id)
+ appdata_config.set('gettext', gitg_name)
+ i18n.merge_file(
+- appdata,
+ type: 'xml',
+ input: configure_file(
+ input: appdata + '.in.in',