From 9e049e844a45d8f5975ba0de7a8002a113eb8241 Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Thu, 23 Jan 2025 18:08:44 +0100 Subject: gui-wm/sommelier: add 9999, drop 0.12_p20241015 --- gui-wm/sommelier/sommelier-0.12_p20241015.ebuild | 67 ------------------------ gui-wm/sommelier/sommelier-9999.ebuild | 50 ++++++++++++++++++ 2 files changed, 50 insertions(+), 67 deletions(-) delete mode 100644 gui-wm/sommelier/sommelier-0.12_p20241015.ebuild create mode 100644 gui-wm/sommelier/sommelier-9999.ebuild diff --git a/gui-wm/sommelier/sommelier-0.12_p20241015.ebuild b/gui-wm/sommelier/sommelier-0.12_p20241015.ebuild deleted file mode 100644 index edf60da..0000000 --- a/gui-wm/sommelier/sommelier-0.12_p20241015.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11,12,13} ) - -inherit meson python-any-r1 - -DESCRIPTION="Nested Wayland compositor with support for X11 forwarding" -HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/+/refs/heads/main/vm_tools/sommelier/" - -SRC_URI=" - https://github.com/WhatAmISupposedToPutHere/sommelier/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -PATCHES=" - ${FILESDIR}/${PN}-0.12-revert-cross-domain-identifiers.patch - ${FILESDIR}/${PN}-0.12-dont-call-fixup_plane0.patch - ${FILESDIR}/${PN}-0.12-no-unused-wl-assert.patch -" -# ${FILESDIR}/${PN}-0.12-enforce-16k-alignment.patch - -IUSE="test" - -RESTRICT="!test? ( test )" - -BDEPEND=" - dev-util/wayland-scanner - $(python_gen_any_dep ' - dev-python/jinja2[${PYTHON_USEDEP}] - ') -" - -DEPEND=" - media-libs/mesa - x11-libs/libdrm - x11-libs/pixman - x11-libs/libxcb - x11-libs/libxkbcommon - dev-libs/wayland - test? ( - dev-cpp/gtest - ) -" - -RDEPEND=" - ${DEPEND} - x11-base/xwayland -" - -python_check_deps() { - python_has_version "dev-python/jinja2[${PYTHON_USEDEP}]" -} - -src_configure() { - local emesonargs=( - -Dxwayland_path="${BROOT}"/usr/bin/Xwayland - -Dxwayland_gl_driver_path="${EPREFIX}/usr/$(get_libdir)/dri" - -Dwith_tests=$(usex test true false) - ) - meson_src_configure -} diff --git a/gui-wm/sommelier/sommelier-9999.ebuild b/gui-wm/sommelier/sommelier-9999.ebuild new file mode 100644 index 0000000..46aed0b --- /dev/null +++ b/gui-wm/sommelier/sommelier-9999.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11,12,13} ) + +inherit meson python-any-r1 git-r3 + +DESCRIPTION="Nested Wayland compositor with support for X11 forwarding" +HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/+/refs/heads/main/vm_tools/sommelier/" + +EGIT_REPO_URI="https://github.com/akvadrako/sommelier" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +BDEPEND=" + dev-util/wayland-scanner + $(python_gen_any_dep ' + dev-python/jinja2[${PYTHON_USEDEP}] + ') +" + +DEPEND=" + media-libs/mesa + x11-libs/libdrm + x11-libs/pixman + x11-libs/libxcb + x11-libs/libxkbcommon + dev-libs/wayland +" + +RDEPEND=" + ${DEPEND} + x11-base/xwayland +" + +python_check_deps() { + python_has_version "dev-python/jinja2[${PYTHON_USEDEP}]" +} + +src_configure() { + local emesonargs=( + -Dxwayland_path="${BROOT}"/usr/bin/Xwayland + -Dxwayland_gl_driver_path="${EPREFIX}/usr/$(get_libdir)/dri" + ) + meson_src_configure +} -- cgit v1.2.3