|
1 | 1 | # Template file for 'gedit' |
2 | 2 | # keep major version in sync with gedit-plugins |
3 | 3 | pkgname=gedit |
4 | | -version=48.1 |
5 | | -revision=2 |
| 4 | +version=48.2 |
| 5 | +revision=1 |
| 6 | +_libgd_gitrev=3cccf99234288a6121b3945a25cd4ec3b7445c74 |
6 | 7 | build_helper="gir" |
7 | 8 | build_style=meson |
8 | | -pycompile_dirs="usr/lib/gedit/plugins" |
9 | 9 | configure_args="-Dgtk_doc=false" |
10 | | -hostmakedepends="itstool pkg-config glib-devel gdk-pixbuf perl gettext |
| 10 | +hostmakedepends="itstool pkg-config glib-devel gdk-pixbuf gettext |
11 | 11 | gtk-update-icon-cache desktop-file-utils" |
12 | 12 | makedepends="gsettings-desktop-schemas-devel gspell-devel libgedit-gtksourceview-devel |
13 | | - libpeas-devel python3-gobject-devel libgedit-amtk-devel libgedit-tepl-devel" |
| 13 | + libpeas-devel libgedit-amtk-devel libgedit-tepl-devel" |
14 | 14 | depends="desktop-file-utils gsettings-desktop-schemas iso-codes" |
15 | 15 | short_desc="Text editor for GNOME" |
16 | 16 | maintainer="Orphaned < [email protected]>" |
17 | 17 | license="GPL-2.0-or-later" |
18 | | -homepage="https://wiki.gnome.org/Apps/Gedit" |
| 18 | +homepage="https://gedit-text-editor.org" |
19 | 19 | changelog="https://gitlab.gnome.org/World/gedit/gedit/-/raw/${version}/NEWS" |
20 | | -distfiles="${GNOME_SITE}/gedit/${version%.*}/gedit-${version}.tar.xz" |
21 | | -checksum=971e7ac26bc0a3a3ded27a7563772415687db0e5a092b4547e5b10a55858b30a |
22 | | -python_version=3 |
23 | | -shlib_provides="libgedit-48.1.so" |
| 20 | +distfiles="https://gitlab.gnome.org/World/gedit/gedit/-/archive/${version}/gedit-${version}.tar.gz |
| 21 | + https://gitlab.gnome.org/GNOME/libgd/-/archive/${_libgd_gitrev}/libgd-${_libgd_gitrev}.tar.gz" |
| 22 | +checksum="a47f400d63222efdf9ad104c9dcc7c3939a6eb24fd882be5a5fa229e1ac19893 |
| 23 | + bb1387edfd79a764241b60e1288fe1da7277137328d4b412333e2ca2cb817586" |
| 24 | +skip_extraction="libgd-${_libgd_gitrev}.tar.gz" |
| 25 | +shlib_provides="libgedit-48.2.so" |
| 26 | + |
| 27 | +# gedit tarballs are no longer being produced for download.gnome.org. |
| 28 | +# See: https://gitlab.gnome.org/World/gedit/gedit/-/issues/611 |
| 29 | +# The tarballs from gitlab don't automatically include git submodules. |
| 30 | +# libgd is not versioned and is intended to be included in projects directly. |
| 31 | +# This works around the issue by downloading the revision corresponding to |
| 32 | +# the latest git head at the time of relesase. |
| 33 | +post_extract() { |
| 34 | + vsrcextract -C subprojects/libgd "libgd-${_libgd_gitrev}.tar.gz" |
| 35 | +} |
24 | 36 |
|
25 | 37 | gedit-devel_package() { |
26 | 38 | depends="${sourcepkg}>=${version}_${revision} gtk+3-devel libglib-devel |
|
0 commit comments