summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2024-08-27 22:09:50 -0700
committerSíle Ekaterin Liszka <sheila@vulpine.house>2024-08-27 22:09:50 -0700
commit676efb6e5d3d7e6d1a4e8b2541b0a2429d3fef96 (patch)
treeab369d45114968a2737cd28ba2829fb346561720 /user
parent89e59e312c704502d10d59b9cb212abae6d1528c (diff)
downloadpackages-676efb6e5d3d7e6d1a4e8b2541b0a2429d3fef96.tar.gz
packages-676efb6e5d3d7e6d1a4e8b2541b0a2429d3fef96.tar.bz2
packages-676efb6e5d3d7e6d1a4e8b2541b0a2429d3fef96.tar.xz
packages-676efb6e5d3d7e6d1a4e8b2541b0a2429d3fef96.zip
user/wlroots-0.17: new package
Diffstat (limited to 'user')
-rw-r--r--user/wlroots-0.17/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/wlroots-0.17/APKBUILD b/user/wlroots-0.17/APKBUILD
new file mode 100644
index 000000000..e968f463c
--- /dev/null
+++ b/user/wlroots-0.17/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=wlroots-0.17
+pkgver=0.17.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 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="ca7314d7dca3ddac3e6970476b4145a0a2566a6632054f406c6e74ea7280a805cdf9b6972cca15c3170a5f41c83677768843b648b6b98ab6428e4ecde43aa4de wlroots-0.17.0.tar.gz"