aboutsummaryrefslogtreecommitdiffstats
path: root/community/glade/APKBUILD
blob: 2e5c9ea8a63fee8d8c3fabe716db4cfbbd64d8e7 (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
34
35
36
37
38
39
40
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=glade
pkgver=3.22.2
pkgrel=0
pkgdesc="User Interface Designer for GTK+ and GNOME"
url="https://glade.gnome.org/"
arch="all"
license="GPL-2.0-or-later"
makedepends="gtk+3.0-dev libxml2-dev itstool gtk-doc paxmark intltool
	webkit2gtk-dev py3-gobject3-dev gobject-introspection-dev"
checkdepends="xvfb-run ibus adwaita-icon-theme"
options="!check" # If adwaita-icon-theme wasn't installed e before we'd have to updathe the icon cache
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/glade/${pkgver%.*}/glade-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-compile-warnings=no \
		--enable-gtk-doc \
		--enable-gladeui
	make
}

check() {
	xvfb-run make check
}

package() {
	make DESTDIR="$pkgdir" DATADIRNAME=share install
	paxmark -r "$pkgdir"/usr/bin/glade
}

sha512sums="cb82684423ae055bc8e84a8705529ecdc72957563f444633c2c5c24a922130de84c212537323b6ed259f0e29349b52dff608822610b87babb8fc3cb468a5f4b0  glade-3.22.2.tar.xz"