aboutsummaryrefslogtreecommitdiffstats
path: root/community/gedit/APKBUILD
blob: 1996f1083949731cff17f4d7ba4e2759f7a74212 (plain) (blame)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gedit
pkgver=3.38.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="0c80df4631e4e8527999ebccc46f192fe1d42f83fdef1b217b6f7a18eb424b8aa54e69572959d884b0c379b8c207386a64a28ad16f52b8b106b618d0df207423  gedit-3.38.0.tar.xz"