summaryrefslogtreecommitdiff
path: root/user/wayfire/APKBUILD
blob: b1f8ab2d16f61f09fbfa42c90e85fdf120d81e4e (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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=wayfire
pkgver=0.9.0
pkgrel=0
pkgdesc="A modular and extensible Wayland compositor"
url="https://wayfire.org/"
arch="all"
license="MIT"
depends=""
makedepends="cairo-dev freetype-dev glm libdrm-dev libevdev-dev libglvnd-dev
	libinput-dev libjpeg-turbo-dev libpng-dev libxkbcommon-dev libxml2-dev
	meson pango-dev pixman-dev wayland-dev wayland-protocols wf-config-dev
	wlroots-0.17-dev json"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/WayfireWM/wayfire/releases/download/v$pkgver/wayfire-$pkgver.tar.xz"

build() {
	meson setup \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		--wrap-mode=nofallback \
		. output
	meson compile -C output
}

check() {
	meson test -C output
}

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

sha512sums="572bfbe1821490842eae33285a0a5607f70b96b0d5b994246ffe6f0bd74ef03d8d699f3f429bff4d376a0a9390312aa67332e8f614fefa2400e0b844b2d74ab9  wayfire-0.9.0.tar.xz"