aboutsummaryrefslogtreecommitdiffstats
path: root/testing/weston/APKBUILD
blob: 537750c3d7b24182b8e1173d85d8a02e318f6413 (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=weston
pkgver=1.12.0
pkgrel=0
pkgdesc="Reference implementation of a Wayland compositor"
url="http://wayland.freedesktop.org"
arch="x86_64 armhf"
license="MIT"
depends=""
makedepends="wayland-protocols libxkbcommon-dev libinput-dev
	libunwind-dev poppler-glib mtdev-dev libxcursor-dev
	glu-dev pango-dev colord-dev"
subpackages="$pkgname-doc"
source="http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz
	musl-fixes.patch"

builddir="$srcdir/$pkgname-$pkgver"
build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--libexecdir=/usr/lib/weston \
		--disable-weston-launch \
		--enable-libinput-backend \
		|| return 1
	make || return 1
}

package() {
	make DESTDIR="$pkgdir" \
		-C "$builddir" install || return 1
}

md5sums="310af6d7f8ba03c3418cec8ad72ea748  weston-1.12.0.tar.xz
6f68d03829f100d358283a5714573d37  musl-fixes.patch"
sha256sums="ac7ac2a32e3b9f50131fccded5d2326bd36b2226712d90b61999118a09af5033  weston-1.12.0.tar.xz
03b6225fa84b52523afe571b0ec820342933e1052d87b8a8f6eb1177847ecfae  musl-fixes.patch"
sha512sums="80cf7c01951cc72b32284a5a6960c2ae7a8dfffffb155cb0f94cd3585b0afa3f06bb8e2b87467d18ab95f0fd673ad9319a6e14ee5f3cec1d3b72c7c0146c927e  weston-1.12.0.tar.xz
f9f892cdba13b1ae4d2726cfda5543364da545e725fabbf2145cd977648e84a138bb65197c604aae43a5e8415e3a58a45ec8d7a15e23eb72b7b95edefca531bc  musl-fixes.patch"