Date: Wednesday, November 16, 2022 @ 17:39:42 Author: heftig Revision: 1349223
43.1-1 Modified: gedit/trunk/PKGBUILD ----------+ PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 37 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-11-16 17:34:26 UTC (rev 1349222) +++ PKGBUILD 2022-11-16 17:39:42 UTC (rev 1349223) @@ -2,24 +2,41 @@ # Contributor: Jan de Groot <[email protected]> pkgname=gedit -pkgver=42.2 -pkgrel=2 +pkgver=43.1 +pkgrel=1 pkgdesc="GNOME Text Editor" url="https://wiki.gnome.org/Apps/Gedit" arch=(x86_64) license=(GPL) -depends=(gtksourceview4 gsettings-desktop-schemas libpeas gspell python-gobject) -makedepends=(yelp-tools vala gobject-introspection git gtk-doc meson - appstream-glib desktop-file-utils libxml2) +depends=( + amtk + gsettings-desktop-schemas + gspell + libpeas + python-gobject + tepl +) +makedepends=( + appstream-glib + desktop-file-utils + git + gobject-introspection + gtk-doc + meson + vala + yelp-tools +) optdepends=('gedit-plugins: Additional features') conflicts=('gedit-code-assistance<=3.16.0+4+gd19b879-1') groups=(gnome-extra) options=(debug) -_commit=7de455c111ad507385451aa23747f95ca75b18cb # tags/42.2^0 -source=("git+https://gitlab.gnome.org/GNOME/gedit.git#commit=$_commit" - "git+https://gitlab.gnome.org/GNOME/libgd.git") -sha256sums=('SKIP' - 'SKIP') +_commit=549daad83dbe515c83a9fe5828a584989bc6a6e0 # tags/43.1^0 +source=( + "git+https://gitlab.gnome.org/GNOME/gedit.git#commit=$_commit" + "git+https://gitlab.gnome.org/GNOME/libgd.git" +) +b2sums=('SKIP' + 'SKIP') pkgver() { cd gedit @@ -29,6 +46,9 @@ prepare() { cd gedit + # Fix API version + git cherry-pick -n 57bb3a5cbf9d92031a7769d494ef12f01a983ec3 + git submodule init git submodule set-url subprojects/libgd "$srcdir/libgd" git -c protocol.file.allow=always submodule update @@ -35,9 +55,12 @@ } build() { - arch-meson gedit build \ - -D gtk_doc=true \ + local meson_options=( + -D gtk_doc=true -D require_all_tests=true + ) + + arch-meson gedit build "${meson_options[@]}" meson compile -C build } @@ -48,3 +71,5 @@ package() { meson install -C build --destdir "$pkgdir" } + +# vim:set sw=2 sts=-1 et:
