From 6fc09a93379aaa95cc0154369e9be4d18332d3fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20P=2E=20Stani=C4=87?= Date: Wed, 31 May 2023 08:26:06 +0000 Subject: [PATCH xf86-video-ati] testing/hyprland: new aport https://hyprland.org/ dynamic tiling Wayland compositor based on wlroots --- testing/hyprland/APKBUILD | 74 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 testing/hyprland/APKBUILD diff --git a/testing/hyprland/APKBUILD b/testing/hyprland/APKBUILD new file mode 100644 index 00000000000..f62a9aadfbf --- /dev/null +++ b/testing/hyprland/APKBUILD @@ -0,0 +1,74 @@ +# Contributor: Milan P. Stanić +# Maintainer: Milan P. Stanić +pkgname=hyprland +pkgver=0.26.0 +pkgrel=0 +pkgdesc="dynamic tiling Wayland compositor based on wlroots" +url="https://hyprland.org/" +arch="all" +license="BSD-3-Clause" +depends="" +makedepends=" + cairo-dev + cmake + mesa-dev + eudev-dev + gdk-pixbuf-dev + glslang-dev + json-c-dev + jq + libcap-utils + libevdev-dev + freeglut-dev + libdisplay-info-dev + libinput-dev + libxkbcommon-dev + meson + ninja + pango-dev + pcre2-dev + scdoc + wayland-dev + wayland-libs-egl + wayland-protocols + pixman-dev wayland-protocols-dev + wlroots-dev + " + +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/hyprwm/Hyprland/archive/refs/tags/v$pkgver.tar.gz" +builddir="$srcdir/"Hyprland-$pkgver + +build() { +# abuild-meson \ +# . output +# meson compile -C output +# cd "$_archive" + cd "$builddir" + cd subprojects/wlroots + meson build/ --prefix="$srcdir/tmpwlr" --buildtype=release + ninja -C build/ + mkdir -p "$srcdir/tmpwlr" + ninja -C build/ install + cd .. + cd subprojects/udis86 + cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -H./ -B./build -G Ninja + cmake --build ./build --config Release --target all + cd .. + make protocols + make release + pushd hyprctl + make all +} + +check() { + meson test --no-rebuild --print-errorlogs -C output +} + +package() { + DESTDIR="$pkgdir" meson install --no-rebuild -C output +} + +sha512sums=" +be3976687ab42ef043f42ec684269052e796dc53b2a8a6f91516d93043ae9cf16b813d3d6dadf9394878703c209df3b5db3978ad1e448fff94b52b343ec93403 hyprland-0.26.0.tar.gz +" -- 2.40.1