aboutsummaryrefslogtreecommitdiffstats
path: root/community/meld/APKBUILD
blob: 29e2c555c4f02bc2375e5fe9f6c20288574008e3 (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
44
45
46
47
48
49
50
51
# Contributor: August Klein <amatcoder@gmail.com>
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=meld
pkgver=3.22.1
pkgrel=1
pkgdesc="Visual diff and merge tool"
url="https://meldmerge.org"
arch="noarch"
license="GPL-2.0-or-later"
depends="
	dconf
	gsettings-desktop-schemas
	gtksourceview4
	py3-cairo
	py3-gobject3
	python3
	"
makedepends="
	glib-dev
	gtksourceview4-dev
	itstool
	libxml2-utils
	meson
	py3-cairo-dev
	py3-gobject3-dev
	python3-dev
	"
checkdepends="
	gtk-update-icon-cache
	py3-pytest
	"
subpackages="$pkgname-lang $pkgname-doc $pkgname-pyc"
source="https://download.gnome.org/sources/meld/${pkgver%.*}/meld-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	pytest
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
7cb4c64a8134d02ee629c5459d5361c8ee1b1fb80efb02b9f3d2c577ecb69dca2ff66b90affb479682b7fceda41c60717ef859d93e3b93070a84901ae772b2cd  meld-3.22.1.tar.xz
"