summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/weston/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/user/weston/APKBUILD b/user/weston/APKBUILD
new file mode 100644
index 000000000..e2b5f58c1
--- /dev/null
+++ b/user/weston/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=weston
+pkgver=12.0.2
+pkgrel=0
+pkgdesc="Reference compositor for Wayland"
+url="https://gitlab.freedesktop.org/wayland/weston"
+arch="all"
+license="MIT AND HPND-sell-variant"
+depends=""
+checkdepends="xcb-util-cursor-dev"
+makedepends="meson ninja cairo-dev eudev-dev gstreamer-dev gst-plugins-base-dev
+ lcms2-dev libdisplay-info-dev libdrm-dev libevdev-dev libinput-dev
+ libva-dev libwebp-dev libxcursor-dev libxkbcommon-dev linux-pam-dev
+ mesa-dev pango-dev pixman-dev seatd-dev wayland-dev wayland-protocols
+ xorg-server-xwayland"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://gitlab.freedesktop.org/wayland/weston/-/releases/$pkgver/downloads/weston-$pkgver.tar.xz"
+
+build() {
+ meson setup \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ --wrap-mode=nofallback \
+ -Dbackend-pipewire=false \
+ -Dbackend-rdp=false \
+ -Dbackend-vnc=false \
+ -Dsystemd=false \
+ -Dpipewire=false \
+ . output
+ meson compile -C output
+}
+
+check() {
+ export XDG_RUNTIME_DIR="$(mktemp -d)"
+ meson test -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C output
+}
+
+sha512sums="4277cc71a2001768816d6c30df6c01f09ee24efd16651e7048d425afa63c78f92d6def0cca78150965b0f3fa946675b0325881ff9d2878925dedea216a968d59 weston-12.0.2.tar.xz"