From 539638b0f9a509c3e5c868ba7068fc6500a027c7 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 17 Jan 2026 15:04:30 -0500 Subject: [PATCH] new bblfs: gui-libs/gtk4-layer-shell-1.1.1 --- gui-libs/gtk4-layer-shell-1.1.1.PKGBUILD | 44 ++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 gui-libs/gtk4-layer-shell-1.1.1.PKGBUILD diff --git a/gui-libs/gtk4-layer-shell-1.1.1.PKGBUILD b/gui-libs/gtk4-layer-shell-1.1.1.PKGBUILD new file mode 100644 index 0000000..d078e60 --- /dev/null +++ b/gui-libs/gtk4-layer-shell-1.1.1.PKGBUILD @@ -0,0 +1,44 @@ +pkgname=gtk4-layer-shell +pkgver=1.1.1 +pkgdesc="A library for using the Layer Shell Wayland protocol with GTK4." +homepage="https://github.com/wmww/gtk4-layer-shell" +license=("MIT") +depends=(vala wayland gtk:4 glib:2 meson ninja wayland-protocols wayland-scanner gobject-introspection) +sources=("${pkgname}-${pkgver}.tar.gz") +urls=("https://github.com/wmww/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz") +sha512sums=("5c47e1df308fe9ee53bc16458209b845854307fd1d939a0342568f3a1a22bc2b40b8d817642c69a81be4c2d291495b1f900c084276c605952eead103b3cb6a02") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + local meson_args=( + --prefix=/usr + --buildtype=release + --wrap-mode=nofallback + -D python.bytecompile=1 + -D examples=false + -D docs=false + -D tests=false + -D smoke-tests=false + -D introspection=true + -D vapi=true + ) + meson setup build "${meson_args[@]}" + meson compile -C build +} + +#src_check() { +# install -d -m 0700 "${TMPDIR}"/xdg-runtime +# export XDG_RUNTIME_DIR="${TMPDIR}"/xdg-runtime +# export GDK_BACKEND=wayland +# unset WAYLAND_DISPLAY +# meson test -C build +#} + +src_install() { + meson install -C build --destdir "$pkgdir" +} + +# vim:ft=sh syn=sh et sw=2: