1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="GNOME Text Editor"
8 url="https://wiki.gnome.org/Apps/Gedit"
11 depends=(gtksourceview4 gsettings-desktop-schemas libpeas gspell python-gobject)
12 makedepends=(yelp-tools vala gobject-introspection git gtk-doc meson
13 appstream-glib desktop-file-utils libxml2)
14 optdepends=('gedit-plugins: Additional features')
15 conflicts=('gedit-code-assistance<=3.16.0+4+gd19b879-1')
18 _commit=7de455c111ad507385451aa23747f95ca75b18cb # tags/42.2^0
19 source=("git+https://gitlab.gnome.org/GNOME/gedit.git#commit=$_commit"
20 "git+https://gitlab.gnome.org/GNOME/libgd.git")
26 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
33 git submodule set-url subprojects/libgd "$srcdir/libgd"
38 arch-meson gedit build \
40 -D require_all_tests=true
41 meson compile -C build
45 meson test -C build --print-errorlogs
49 meson install -C build --destdir "$pkgdir"