summaryrefslogtreecommitdiff
path: root/user/wlroots-0.18/APKBUILD
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-10-25 20:32:35 -0700
committerSíle Ekaterin Liszka <sheila@vulpine.house>2024-08-27 21:59:57 -0700
commit89e59e312c704502d10d59b9cb212abae6d1528c (patch)
treebae7412496816bd59f8b558ec00a3d270797dc2f /user/wlroots-0.18/APKBUILD
parentbd3515d29e6f833fcf9c42d4750aadde0533d098 (diff)
downloadpackages-89e59e312c704502d10d59b9cb212abae6d1528c.tar.gz
packages-89e59e312c704502d10d59b9cb212abae6d1528c.tar.bz2
packages-89e59e312c704502d10d59b9cb212abae6d1528c.tar.xz
packages-89e59e312c704502d10d59b9cb212abae6d1528c.zip
user/wlroots-0.18: move from wlroots, upgrade
Diffstat (limited to 'user/wlroots-0.18/APKBUILD')
-rw-r--r--user/wlroots-0.18/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/wlroots-0.18/APKBUILD b/user/wlroots-0.18/APKBUILD
new file mode 100644
index 000000000..405ab7e9e
--- /dev/null
+++ b/user/wlroots-0.18/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=wlroots-0.18
+pkgver=0.18.0
+pkgrel=0
+pkgdesc="Library for building Wayland compositors"
+url="https://swaywm.org/"
+arch="all"
+license="MIT"
+depends="wayland>=1.19.0"
+makedepends="cmake elogind-dev eudev-dev ffmpeg-dev glslang-dev hwdata
+ lcms2-dev libdisplay-info-dev libinput-dev libliftoff-dev libxkbcommon-dev
+ mesa-dev meson ninja pixman-dev seatd-dev vulkan-loader-dev
+ wayland-dev>=1.19.0 wayland-protocols>=1.21 xcb-util-errors-dev
+ xcb-util-renderutil-dev xcb-util-wm-dev xorg-server-dev"
+subpackages="$pkgname-dev"
+source="https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$pkgver/downloads/wlroots-$pkgver.tar.gz"
+builddir="$srcdir/wlroots-$pkgver"
+
+build() {
+ meson setup \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ . output
+ meson compile -C output
+}
+
+check() {
+ ninja -C output test
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C output
+}
+
+sha512sums="2cf848aa67f41089b60cc7d01c3a344ebaf7f5bbced459675fef885cd4b3e6b99d9a49d6b127518314d0ae38e52e9aff7991611592b2add4cba96f15aa0bf1c6 wlroots-0.18.0.tar.gz"