summaryrefslogtreecommitdiff
path: root/user/wlroots/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-12-23 19:44:29 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-12-23 19:44:29 +0000
commitb739649cdbed3529abf0df1264a95519bbc88e09 (patch)
tree7dec7033ffdcd3c4f7854a66743e49d1daa18ac2 /user/wlroots/APKBUILD
parent06569dc9dad5d7a0ad1f93fd58d4d4fd14622a7c (diff)
parent876965cd5e2dcee16e148d9279f14fa395ade3bc (diff)
downloadpackages-b739649cdbed3529abf0df1264a95519bbc88e09.tar.gz
packages-b739649cdbed3529abf0df1264a95519bbc88e09.tar.bz2
packages-b739649cdbed3529abf0df1264a95519bbc88e09.tar.xz
packages-b739649cdbed3529abf0df1264a95519bbc88e09.zip
Merge branch 'new/wlroots' into 'master'
Package wlroots See merge request adelie/packages!592
Diffstat (limited to 'user/wlroots/APKBUILD')
-rw-r--r--user/wlroots/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/wlroots/APKBUILD b/user/wlroots/APKBUILD
new file mode 100644
index 000000000..8af0de066
--- /dev/null
+++ b/user/wlroots/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor:
+# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
+pkgname=wlroots
+pkgver=0.12.0
+pkgrel=0
+pkgdesc="Library for building Wayland compositors"
+url="https://swaywm.org/"
+arch="all"
+license="MIT"
+depends="wayland>=1.18.0"
+makedepends="cmake elogind-dev eudev-dev ffmpeg-dev libinput-dev
+ libxkbcommon-dev mesa-dev meson ninja pixman-dev wayland-dev>=1.18.0
+ wayland-protocols>=1.17.0 xcb-util-errors-dev xcb-util-wm-dev"
+subpackages="$pkgname-dev"
+source="https://github.com/swaywm/wlroots/releases/download/$pkgver/wlroots-$pkgver.tar.gz"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ -Dlogind-provider=elogind \
+ . output
+ ninja -C output
+}
+
+check() {
+ ninja -C output test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="560eae30932b777c1f07fb44592d5601c5d10ef74b31b6b9e4166a14caadab2bfa88d39282f159785d4c7f22f78d204f9bb7fab65d58afaf14b72a8486f9b415 wlroots-0.12.0.tar.gz"