aboutsummaryrefslogtreecommitdiffstats
path: root/community/gedit-plugins/APKBUILD
blob: 90d06872e8d84c73dc0e133ff05407a22a8bd7af (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gedit-plugins
pkgver=3.38.1
pkgrel=0
pkgdesc="Plugins for gedit, the GNOME text editor"
url="https://wiki.gnome.org/Apps/Gedit/PluginsLists"
arch="all !s390x !mips !mips64" # Limited by gedit-dev and gtksourceview4-dev
license="GPL-2.0-only"
depends="python3 py3-gobject3 vte3 gucharmap py3-dbus libpeas-python3"
makedepends="glib-dev gtk+3.0-dev gtksourceview4-dev libpeas-dev gedit-dev vala
	libgit2-glib-dev itstool vte3-dev gucharmap-dev py3-dbus-dev meson"
checkdepends="appstream-glib"
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/gedit-plugins/${pkgver%.*}/gedit-plugins-$pkgver.tar.xz"

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="d5cc3e82ac6a488f5ab06eaf4eb5ad32bdbe50b74f2f215e114b5cb3bb0a089da00caa3815d6638a679c1c902983a0754a16ef88e15ff88d8321a247288ad237  gedit-plugins-3.38.1.tar.xz"