# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gedit pkgver=40.0 pkgrel=0 pkgdesc="gedit is the GNOME text editor" url="https://wiki.gnome.org/Apps/Gedit" arch="all !s390x !mips !mips64" # Limited by librsvg license="GPL-2.0-only" depends_dev="gedit=$pkgver-r$pkgrel" makedepends="meson glib-dev gtk+3.0-dev gtksourceview4-dev libpeas-dev libxml2-dev libsoup-dev gspell-dev libx11-dev gobject-introspection-dev vala gtk-doc itstool perl tepl-dev" checkdepends="appstream-glib desktop-file-utils" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/gedit/${pkgver%.*}/gedit-$pkgver.tar.xz" build() { abuild-meson \ -Ddocumentation=true \ . output meson compile ${JOBS:+-j ${JOBS}} -C output } check() { meson test --no-rebuild -v -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums="b1f6fc4f4894c3ada8e85b81df2fca6870acf725074b56b2c85b1c8f04e004f193e8fad3ac0c641bd0df6a704604ec054e130c60f0480c1abf62a91cb181429e gedit-40.0.tar.xz"