summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-11 12:44:35 -0800
committerSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-11 14:14:34 -0800
commit26d482c5465b6217d2a889ace2628e7bbf6388e1 (patch)
tree9fdd0f328cd9224542c4567f71193ec38e5f74f1
parent6652ec54b9a660735da73137a4ee6a4e5fa4fd58 (diff)
downloadpackages-new/weston.tar.gz
packages-new/weston.tar.bz2
packages-new/weston.tar.xz
packages-new/weston.zip
user/weston: new packagenew/weston
-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"