blob: b11cfff6732eb1487158cc6f59af40ffdfb0a464 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gedit
pkgver=42.1
pkgrel=0
pkgdesc="gedit is the GNOME text editor"
url="https://wiki.gnome.org/Apps/Gedit"
arch="all"
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"
depends="gsettings-desktop-schemas"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gedit/${pkgver%.*}/gedit-$pkgver.tar.xz"
prepare() {
default_prepare
case $CARCH in
# sigsegv
s390x) sed -i '/test-open-links/d' plugins/openlinks/unit-tests/meson.build ;;
esac
}
build() {
abuild-meson . 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="
b7b1dd4ab31412a2bdeb6298065d1e3f52a9c813e26e943aea606b30e3de9b7690cc8ba478e2d0e49fb51bed57dd3f7c441184964270629d51dc1f6d132045a6 gedit-42.1.tar.xz
"
|