commit: cd86bd0d5447e8174ae6314a8ccb1dfe63a1e335 Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> AuthorDate: Thu Oct 30 14:39:50 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Oct 31 09:55:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd86bd0d
gui-libs/gtk-layer-shell: add 0.10.0 Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> Part-of: https://github.com/gentoo/gentoo/pull/44388 Closes: https://github.com/gentoo/gentoo/pull/44388 Signed-off-by: Sam James <sam <AT> gentoo.org> gui-libs/gtk-layer-shell/Manifest | 1 + .../gtk-layer-shell/gtk-layer-shell-0.10.0.ebuild | 57 ++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/gui-libs/gtk-layer-shell/Manifest b/gui-libs/gtk-layer-shell/Manifest index ff32459b8371..1b38fa0d2d39 100644 --- a/gui-libs/gtk-layer-shell/Manifest +++ b/gui-libs/gtk-layer-shell/Manifest @@ -1 +1,2 @@ +DIST gtk-layer-shell-0.10.0.tar.gz 139247 BLAKE2B 72448dea465b2fbc4af8f3abf538678de419bc5d6ada88252f5ee0dd43b00ee7647d91a8058faafaee10933eadac988aecc079fa1b503dfcfcf2cc58627cbeab SHA512 126ad6a407a026fea4e740c2578bb218c9d19de10c03ba759b57b60c19e4ea86481a1c80bcbde9003e0c27a70d83b3ae853512ad5014c04e8c4949f9573e746f 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.10.0.ebuild b/gui-libs/gtk-layer-shell/gtk-layer-shell-0.10.0.ebuild new file mode 100644 index 000000000000..2d49329127de --- /dev/null +++ b/gui-libs/gtk-layer-shell/gtk-layer-shell-0.10.0.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_{11..14} ) +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 +}
