xfce-base/xfwl4: New package, 4.21.0

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 <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-06-22 12:41:31 +02:00
parent 7f56f5c6ad
commit 07988a0fb4
3 changed files with 87 additions and 0 deletions

3
xfce-base/xfwl4/Manifest Normal file
View File

@@ -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

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>xfce@gentoo.org</email>
<name>XFCE Team</name>
</maintainer>
</pkgmetadata>

View File

@@ -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
}