diff options
| author | root <root@alpha.trunkmasters.com> | 2026-08-02 03:04:46 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-08-02 03:04:46 -0500 |
| commit | 964d39efcc2b2e0270dd6ab8341eb85bb5275852 (patch) | |
| tree | d9c187d35f14c1f5bc6ca70898cae4706daee5b7 /gui-libs/gtk4-layer-shell | |
| parent | 6344ec0d45ab5c6dc7f52b9c7ba2a4fdfa37fb17 (diff) | |
| download | baldeagleos-repo-964d39efcc2b2e0270dd6ab8341eb85bb5275852.tar.gz baldeagleos-repo-964d39efcc2b2e0270dd6ab8341eb85bb5275852.tar.xz baldeagleos-repo-964d39efcc2b2e0270dd6ab8341eb85bb5275852.zip | |
Adding metadata
Diffstat (limited to 'gui-libs/gtk4-layer-shell')
| -rw-r--r-- | gui-libs/gtk4-layer-shell/Manifest | 1 | ||||
| -rw-r--r-- | gui-libs/gtk4-layer-shell/gtk4-layer-shell-1.3.0.ebuild | 77 |
2 files changed, 78 insertions, 0 deletions
diff --git a/gui-libs/gtk4-layer-shell/Manifest b/gui-libs/gtk4-layer-shell/Manifest index 0125604f844f..1f779ad6e8aa 100644 --- a/gui-libs/gtk4-layer-shell/Manifest +++ b/gui-libs/gtk4-layer-shell/Manifest @@ -1 +1,2 @@ DIST gtk4-layer-shell-1.1.1.tar.gz 70227 BLAKE2B f90e6456b4d793609183127f4e4137363f2ef1f3527c7e405dd41ec17ffed4407dc1566dca1f5336cea6cab8541bcad9bcca81f8297abd2a34bd3f03f1fd8089 SHA512 5c47e1df308fe9ee53bc16458209b845854307fd1d939a0342568f3a1a22bc2b40b8d817642c69a81be4c2d291495b1f900c084276c605952eead103b3cb6a02 +DIST gtk4-layer-shell-1.3.0.tar.gz 79405 BLAKE2B e65fc7ff36f9210e0b16f9e606f5c62ac89b8c95ca1fb3eda7754f46d1e604e0d4bc954e13e47fe90572e945ea2ed277de863c1006532c3023f74ffd9a36f99d SHA512 dab8350caa6713406e4dd8a3f701f1ed1fb287913d96d697f7c3875efd27b24a504e01010c2e1cf90d45241ef3e1efa5dc678c69182946f0abf7010648700eff diff --git a/gui-libs/gtk4-layer-shell/gtk4-layer-shell-1.3.0.ebuild b/gui-libs/gtk4-layer-shell/gtk4-layer-shell-1.3.0.ebuild new file mode 100644 index 000000000000..344be9e57982 --- /dev/null +++ b/gui-libs/gtk4-layer-shell/gtk4-layer-shell-1.3.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +inherit meson python-any-r1 vala + +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="doc examples introspection +smoke-tests test vala" +REQUIRED_USE="vala? ( introspection )" + +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-libs/wayland-1.10.0 + >=gui-libs/gtk-4.10.5:4[wayland] + dev-libs/glib:2 +" +RDEPEND="${DEPEND}" +BDEPEND=" + >=dev-libs/wayland-protocols-1.16 + >=dev-util/wayland-scanner-1.10.0 + introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2 ) + doc? ( dev-util/gtk-doc ) + vala? ( dev-lang/vala[vapigen(+)] ) + test? ( + ${PYTHON_DEPS} + examples? ( + smoke-tests? ( + dev-lang/luajit + dev-lua/lgi + ) + ) + ) +" + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + if use vala; then + vala_setup + else + # Disable the vala smoke test if not built with vala + sed '/test-vala-example/d' -i test/smoke-tests/meson.build || die + rm test/smoke-tests/test-vala-example.py || die + fi + + default + + use test && python_fix_shebang "${S}" +} + +src_configure() { + local emesonargs=( + $(meson_use examples) + $(meson_use doc docs) + $(meson_use test tests) + $(meson_use introspection) + $(meson_use vala vapi) + ) + if use test && use examples; then + emesonargs+=( $(meson_use smoke-tests) ) + else + emesonargs+=( -Dsmoke-tests=false ) + fi + meson_src_configure +} |
