summaryrefslogtreecommitdiff
path: root/gui-libs/gtk4-layer-shell/gtk4-layer-shell-1.1.1-r1.ebuild
diff options
context:
space:
mode:
authorsin-ack <sin-ack@protonmail.com>2025-09-16 22:05:18 +0200
committerSam James <sam@gentoo.org>2025-09-17 11:37:21 +0100
commite20a41bae7747c32f2ff6da63017414f81b4a7ad (patch)
tree75fb827be6d031824f800afc49de3face1e53865 /gui-libs/gtk4-layer-shell/gtk4-layer-shell-1.1.1-r1.ebuild
parent6d276d718c221ce6dd89b38d839bfa3df074b2a8 (diff)
downloadgentoo-e20a41bae7747c32f2ff6da63017414f81b4a7ad.tar.gz
gentoo-e20a41bae7747c32f2ff6da63017414f81b4a7ad.tar.bz2
gentoo-e20a41bae7747c32f2ff6da63017414f81b4a7ad.zip
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@unlsycn.com> Signed-off-by: sin-ack <sin-ack@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43819 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'gui-libs/gtk4-layer-shell/gtk4-layer-shell-1.1.1-r1.ebuild')
-rw-r--r--gui-libs/gtk4-layer-shell/gtk4-layer-shell-1.1.1-r1.ebuild57
1 files changed, 57 insertions, 0 deletions
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
+}