aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wayfire/APKBUILD
blob: 0c282eb6aaa65023b3cfb196eb0d539e0a6a392c (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
41
42
# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=wayfire
pkgver=0.7.2
pkgrel=0
pkgdesc="Compiz-clone Wayland compositor"
url="https://wayfire.org"
arch="all !ppc64le !mips64" # blocked by wlroots
license="MIT"
install="$pkgname.post-install"
makedepends="
	meson
	wlroots-dev
	glm-dev
	wf-config-dev
	cairo-dev
	libexecinfo-dev
	libxml2-dev
	wayland-protocols
	"
options="!check" # no testsuite
subpackages="$pkgname-dev"
source="https://github.com/WayfireWM/wayfire/releases/download/v$pkgver/wayfire-$pkgver.tar.xz"

build() {
	abuild-meson \
		-Duse_system_wlroots=enabled \
		-Duse_system_wfconfig=enabled \
		. output
	meson compile ${JOBS:+--j ${JOBS}} -C output
}

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

	install -Dm644 wayfire.ini "$pkgdir"/usr/share/wayfire/wayfire.ini.default
	install -Dm644 wayfire.desktop "$pkgdir"/usr/share/wayland-sessions/wayfire.desktop
}

sha512sums="
e1321605dbae2b9769a54aaacb0e4a4259b1e2ab4304e8a8c1257f7033b2d740b0632053309ecccc75e04f7b6d2bdf6d68dcebad6950fd914c3052b19bc58e24  wayfire-0.7.2.tar.xz
"