commit:     e20a41bae7747c32f2ff6da63017414f81b4a7ad
Author:     sin-ack <sin-ack <AT> protonmail <DOT> com>
AuthorDate: Tue Sep 16 20:05:18 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 17 10:37:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e20a41ba

gui-libs/gtk4-layer-shell: new package, add 1.1.1-r1

Promoted from the existing GURU package, as x11-terms/ghostty-1.2.0
requires it. The revision has been preserved to keep parity with the
version in ::guru, so that once this is merged in ::gentoo and users who
had previously installed it in GURU upgrade their systems, there isn't a
confusing downgrade.

Co-authored-by: unlsycn <unlsycn <AT> unlsycn.com>
Signed-off-by: sin-ack <sin-ack <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43819
Signed-off-by: Sam James <sam <AT> gentoo.org>

 gui-libs/gtk4-layer-shell/Manifest                 |  1 +
 .../gtk4-layer-shell-1.1.1-r1.ebuild               | 57 ++++++++++++++++++++++
 gui-libs/gtk4-layer-shell/metadata.xml             | 23 +++++++++
 3 files changed, 81 insertions(+)

diff --git a/gui-libs/gtk4-layer-shell/Manifest 
b/gui-libs/gtk4-layer-shell/Manifest
new file mode 100644
index 000000000000..0125604f844f
--- /dev/null
+++ b/gui-libs/gtk4-layer-shell/Manifest
@@ -0,0 +1 @@
+DIST gtk4-layer-shell-1.1.1.tar.gz 70227 BLAKE2B 
f90e6456b4d793609183127f4e4137363f2ef1f3527c7e405dd41ec17ffed4407dc1566dca1f5336cea6cab8541bcad9bcca81f8297abd2a34bd3f03f1fd8089
 SHA512 
5c47e1df308fe9ee53bc16458209b845854307fd1d939a0342568f3a1a22bc2b40b8d817642c69a81be4c2d291495b1f900c084276c605952eead103b3cb6a02

diff --git a/gui-libs/gtk4-layer-shell/gtk4-layer-shell-1.1.1-r1.ebuild 
b/gui-libs/gtk4-layer-shell/gtk4-layer-shell-1.1.1-r1.ebuild
new file mode 100644
index 000000000000..f167c2acc905
--- /dev/null
+++ b/gui-libs/gtk4-layer-shell/gtk4-layer-shell-1.1.1-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A library for using the Layer Shell Wayland protocol with GTK4."
+HOMEPAGE="https://github.com/wmww/gtk4-layer-shell";
+SRC_URI="https://github.com/wmww/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="examples doc test smoke-tests introspection vala"
+REQUIRED_USE="vala? ( introspection )"
+
+RESTRICT="!test? ( test )"
+
+PYTHON_COMPAT=( python3_{11..13} )
+inherit meson python-any-r1 vala
+
+DEPEND="
+       >=dev-libs/wayland-1.10.0
+       >=gui-libs/gtk-4.10.5:4[wayland]
+       dev-libs/glib:2
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+       >=dev-build/meson-0.54.0
+       >=dev-build/ninja-1.8.2
+       >=dev-libs/wayland-protocols-1.16
+       >=dev-util/wayland-scanner-1.10.0
+       introspection? ( dev-libs/gobject-introspection )
+       doc? ( dev-util/gtk-doc )
+       test? ( >=dev-lang/python-3.8.19 )
+       vala? ( dev-lang/vala[vapigen(+)] )
+       smoke-tests? (
+               dev-lang/luajit
+               dev-lua/lgi
+       )
+"
+
+pkg_setup() {
+       use vala && vala_setup
+}
+
+src_configure() {
+       local emesonargs=(
+               $(meson_use examples)
+               $(meson_use doc docs)
+               $(meson_use test tests)
+               $(meson_use smoke-tests)
+               $(meson_use introspection)
+               $(meson_use vala vapi)
+       )
+       meson_src_configure
+}

diff --git a/gui-libs/gtk4-layer-shell/metadata.xml 
b/gui-libs/gtk4-layer-shell/metadata.xml
new file mode 100644
index 000000000000..a3c800afc1d5
--- /dev/null
+++ b/gui-libs/gtk4-layer-shell/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person" proxied="yes">
+               <email>[email protected]</email>
+               <name>sin-ack</name>
+       </maintainer>
+       <maintainer type="project" proxied="proxy">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">wmww/gtk4-layer-shell</remote-id>
+       </upstream>
+       <longdescription lang="en">A library to create panels and other desktop 
components for Wayland using the Layer Shell protocol and GTK4</longdescription>
+       <use>
+               <flag name="examples">Build the example C apps</flag>
+               <flag name="smoke-tests">Test that all examples can run</flag>
+               <flag name="introspection">Build GObject Introspection 
data</flag>
+               <flag name="vala">Build VAPI data and Vala example. The VAPI 
file allows this library to be used
+                       in Vala. Requires introspection.</flag>
+       </use>
+</pkgmetadata>

Reply via email to