From 07988a0fb48417545ea5807fea7ab92d3d703f56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 22 Jun 2026 12:41:31 +0200 Subject: [PATCH] xfce-base/xfwl4: New package, 4.21.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The first prerelease of a new Wayland compositor for Xfce. Experimental, see https://docs.xfce.org/xfce/xfwl4/start. Signed-off-by: Michał Górny --- xfce-base/xfwl4/Manifest | 3 ++ xfce-base/xfwl4/metadata.xml | 8 +++ xfce-base/xfwl4/xfwl4-4.21.0.ebuild | 76 +++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 xfce-base/xfwl4/Manifest create mode 100644 xfce-base/xfwl4/metadata.xml create mode 100644 xfce-base/xfwl4/xfwl4-4.21.0.ebuild diff --git a/xfce-base/xfwl4/Manifest b/xfce-base/xfwl4/Manifest new file mode 100644 index 0000000000000..59f46c7d31a77 --- /dev/null +++ b/xfce-base/xfwl4/Manifest @@ -0,0 +1,3 @@ +DIST smithay-4645e03d6bd9377aa368de20e91d69951450392d.gh.tar.gz 845353 BLAKE2B 1ef6a89f294540f8044a9e70ed5a659a7d7ddcccdb899dea3d3dc23d1cc446e7ae2d3822680b1845a7e7c2ff823a7833cb93872b1da43863b21f8a1b6b11d8cc SHA512 6e78cb38e51a5f53e325a2efaed70c16d69e15d7f2098d4333ffe666c4c8fd4c163b01ccce2fc607e6ad93024d16a4e1aacce119165e75ddad9bcc8605ac474d +DIST xfwl4-4.21.0-crates.tar.xz 35232868 BLAKE2B 63b93344427a848d08ccf0d73c71ddcb14ee4531162c5f633b40bb7fea6fae98917678c6d69d0c7311ddcf02f83612039fea5807f1775133eb841e08e6781040 SHA512 152e5949e65a18b939c7a26fab2f6c486339556775b1fe37f09bdf2e30f619cfcd5a80eb142b88aa22bc2fead902a84d500899981634a1934a0ed2c0b5efaa61 +DIST xfwl4-4.21.0.tar.xz 506728 BLAKE2B 96d6cdd69d5c75331ce21048d3328cba9be1ccecd8e84bae52d10ffeb7f7a5b574b3e31e32aad133c087a09a9b27211697d9b8496351dcf848deb913454654e6 SHA512 824d58da8c57e687eb5836472ebe6d6e0a910a06a33edd749ef5cfa41de8214f2f2edb6f3980d398f35ef8ea5c7b4e0de693782383493b4718f57604b8b0ccf4 diff --git a/xfce-base/xfwl4/metadata.xml b/xfce-base/xfwl4/metadata.xml new file mode 100644 index 0000000000000..fb3a6777ad9f6 --- /dev/null +++ b/xfce-base/xfwl4/metadata.xml @@ -0,0 +1,8 @@ + + + + + xfce@gentoo.org + XFCE Team + + diff --git a/xfce-base/xfwl4/xfwl4-4.21.0.ebuild b/xfce-base/xfwl4/xfwl4-4.21.0.ebuild new file mode 100644 index 0000000000000..43a042a8b3d36 --- /dev/null +++ b/xfce-base/xfwl4/xfwl4-4.21.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" +RUST_MIN_VER="1.92.0" + +declare -A GIT_CRATES=( + [smithay-drm-extras]='https://github.com/smithay/smithay;4645e03d6bd9377aa368de20e91d69951450392d;smithay-%commit%/smithay-drm-extras' + [smithay]='https://github.com/smithay/smithay;4645e03d6bd9377aa368de20e91d69951450392d;smithay-%commit%' +) + +inherit cargo meson + +DESCRIPTION="Xfce's [experimental] Wayland Compositor" +HOMEPAGE=" + https://docs.xfce.org/xfce/xfwl4/start + https://gitlab.xfce.org/xfce/xfwl4 +" +SRC_URI=" + https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.xz + https://github.com/gentoo-crate-dist/xfwl4/releases/download/${P}/${P}-crates.tar.xz + ${CARGO_CRATE_URIS} +" + +LICENSE="GPL-3+" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC LGPL-2.1 MIT + MPL-2.0 Unicode-3.0 ZLIB +" +SLOT="0" +IUSE="debug" + +DEPEND=" + >=dev-libs/glib-2.72.0 + >=x11-libs/gtk+-3.24.0:3 + >=xfce-base/libxfce4ui-4.21.4:= + >=xfce-base/xfconf-4.21.2:= + + >=dev-libs/libinput-1.28.0 + >=media-libs/libdisplay-info-0.3.0:= + >=media-libs/mesa-25.0.0[opengl] + >=sys-auth/seatd-0.9.0 + >=virtual/libudev-257:= + >=x11-libs/libdrm-2.4.0 + >=x11-libs/libxkbcommon-0.8.0 + >=x11-libs/pixman-0.44.0 +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-libs/glib + sys-devel/gettext + virtual/pkgconfig +" + +# Rust +QA_FLAGS_IGNORED="usr/bin/xfwl4" + +src_configure() { + local emesonargs=( + # leave these all at defaults for now, deps are unconditional anyway + # -Dbackends=... + -Degl=true + -Dxwayland=true + $(meson_use debug debug-rendering) + -Duse-system-gettext=true + ) + use debug && EMESON_BUILDTYPE=debug + + meson_src_configure +}