commit: f2b386accfd7596dac1cc1555abc912b19ff9e91 Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> AuthorDate: Thu May 22 00:33:35 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu May 22 21:47:21 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2b386ac
gui-libs/gtk-layer-shell: add 0.9.2 Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> Part-of: https://github.com/gentoo/gentoo/pull/42198 Closes: https://github.com/gentoo/gentoo/pull/42198 Signed-off-by: Sam James <sam <AT> gentoo.org> gui-libs/gtk-layer-shell/Manifest | 1 + .../gtk-layer-shell/gtk-layer-shell-0.9.2.ebuild | 57 ++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/gui-libs/gtk-layer-shell/Manifest b/gui-libs/gtk-layer-shell/Manifest index 1efecd478c3f..618ef70e0cd3 100644 --- a/gui-libs/gtk-layer-shell/Manifest +++ b/gui-libs/gtk-layer-shell/Manifest @@ -1 +1,2 @@ DIST gtk-layer-shell-0.9.1.tar.gz 143619 BLAKE2B 961f5ea47f275bc21d7cfeac5258a5f7b357689becf311b1e0a1f1b745d0167ff57dd3e53606672aaae7722be60b14c442ac3282b05cbd3a65c0dbca60423b20 SHA512 f01954dda7be7bedcc8800d55f61070949e6a9c9f783ee32b1f064cd3f8151b7b136590eb6cde2a9209c59a87a3fc363a399317d7caf4d781b4666697a39bf78 +DIST gtk-layer-shell-0.9.2.tar.gz 136254 BLAKE2B 23b2bef816b8a781d3a39671c48ef718e697bb6070e25f48fbda53eeb3423c4ba4bb8b2904b741f37cc917ca343dda6a2e922e0d6adc91584021e8501eee588c SHA512 7ecbefca73f3bcba709f2b5f4153203592cb345ebce8aee27e75365d615e9a8f66ec28f9d42bae8828da9427082b0df190e820593301a80ac8b730c61a75b708 diff --git a/gui-libs/gtk-layer-shell/gtk-layer-shell-0.9.2.ebuild b/gui-libs/gtk-layer-shell/gtk-layer-shell-0.9.2.ebuild new file mode 100644 index 000000000000..3c1385e2ef95 --- /dev/null +++ b/gui-libs/gtk-layer-shell/gtk-layer-shell-0.9.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +VALA_USE_DEPEND="vapigen" +inherit vala meson python-any-r1 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/wmww/${PN}" +else + SRC_URI="https://github.com/wmww/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +DESCRIPTION="Library to create desktop components for Wayland using the Layer Shell protocol" +HOMEPAGE="https://github.com/wmww/gtk-layer-shell" + +LICENSE="MIT-with-advertising LGPL-3+" +SLOT="0" +IUSE="examples gtk-doc introspection test vala" +RESTRICT="!test? ( test )" + +REQUIRED_USE="vala? ( introspection )" + +DEPEND=" + >=x11-libs/gtk+-3.24.39:3[introspection?,wayland] + >=dev-libs/wayland-1.10.0 + >=dev-libs/wayland-protocols-1.16 +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-util/wayland-scanner + virtual/pkgconfig + x11-base/xorg-proto + gtk-doc? ( dev-util/gtk-doc ) + test? ( ${PYTHON_DEPS} ) + vala? ( $(vala_depend) ) +" + +src_prepare() { + default + use vala && vala_setup +} + +src_configure() { + local emesonargs=( + $(meson_use examples) + $(meson_use gtk-doc docs) + $(meson_use test tests) + $(meson_use introspection) + $(meson_use vala vapi) + ) + meson_src_configure +}
