aboutsummaryrefslogtreecommitdiffstats
path: root/community/libwnck3/APKBUILD
blob: 42dda6f48adb7d0fe0c02947fb2021fa449aa716 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Sergey Lukin <sergej.lukin@gmail.com>
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libwnck3
pkgver=3.32.0
pkgrel=1
pkgdesc="Window Navigator Construction Kit"
url="https://gitlab.gnome.org/GNOME/libwnck"
arch="all"
license="LGPL-2.0-or-later"
subpackages="$pkgname-dev $pkgname-lang"
replaces="libwnck"
makedepends="glib-dev gtk+3.0-dev libx11-dev pango-dev cairo-dev meson
	startup-notification-dev libxres-dev gobject-introspection-dev"
options="!check" # no tests
source="https://download.gnome.org/sources/libwnck/${pkgver%.*}/libwnck-$pkgver.tar.xz"

builddir="$srcdir"/libwnck-$pkgver

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		-Dgtk_doc=false \
		. output
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="a939b96feda20b0eba2b87556b97a9ba4b9aaea4c82c0e274a23796a3a9b49cb93be582d79e32a52a87b5ca6e35182a9d617cb802802b3c2ba2bff2b028aa3de  libwnck-3.32.0.tar.xz"