Updated to 0.19.2

This commit is contained in:
2025-11-24 10:52:07 +01:00
parent caf81729cb
commit 30215740a9
3 changed files with 16 additions and 17 deletions

View File

@@ -1,2 +1,2 @@
DIST wlroots-0.18.2.tar.gz 629379 BLAKE2B db88626c208085f5e3744ab90427469f828a602d3842d8fefd8fa35efa10928e5ff1f38bfc40fee69106dfb60d84847ddf3fee380fd71535482aff5a2e567dfb SHA512 a03826f51dbca287ecbb217aadc361a1dedbbe5e225ee7b9ca22779456156c1035acaea7301ca509c410bfef9d0c33cf94cba140bba25d979608b14a99be8c8a
DIST wlroots-0.19.0.tar.gz 669326 BLAKE2B 7f98bab6c21dee7d1634042c8d430c77b572dc760913fae8d4ae6defc525909b6eb65174ed21a84eda1d4da9dceb91b2029cf754775ec15df8cbca6f23c4d581 SHA512 f48055b9bf480f05c97d1d65597697ac9a68cc0529f09bd8667e86555eea5c4635613045076017f87dee6a1b72419b9828d3493991e563ac7b9e614684d7bcde DIST wlroots-0.19.0.tar.gz 669326 BLAKE2B 7f98bab6c21dee7d1634042c8d430c77b572dc760913fae8d4ae6defc525909b6eb65174ed21a84eda1d4da9dceb91b2029cf754775ec15df8cbca6f23c4d581 SHA512 f48055b9bf480f05c97d1d65597697ac9a68cc0529f09bd8667e86555eea5c4635613045076017f87dee6a1b72419b9828d3493991e563ac7b9e614684d7bcde
DIST wlroots-0.19.2.tar.gz 670983 BLAKE2B b1feba85ea31a1ded7ab13429aeac7d7f8aa44ee831b0031b9befa9354e9c3eadc82d7ecb7f2362c2a1d6bcaf92c14844491e5cc3256bbb06835b2861370c7dd SHA512 8228bdd463f3b79c02cc36311f93eb3a2fe2c8406222316a9996abebfbefa39cc4a9587ea800d677961d59b27c82ae906e538dceaf565403bbb3f2b1ae19eff1

View File

@@ -11,10 +11,10 @@ HOMEPAGE="https://gitlab.freedesktop.org/wlroots/wlroots"
if [[ ${PV} == 9999 ]]; then if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git" EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git"
inherit git-r3 inherit git-r3
SLOT="0.18" SLOT="0.19"
else else
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/releases/${PV}/downloads/${P}.tar.gz" SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/releases/${PV}/downloads/${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86"
SLOT="$(ver_cut 1-2)" SLOT="$(ver_cut 1-2)"
fi fi
@@ -22,22 +22,18 @@ LICENSE="MIT"
IUSE="liftoff +libinput +drm +session lcms vulkan x11-backend xcb-errors X +phoc-patch" IUSE="liftoff +libinput +drm +session lcms vulkan x11-backend xcb-errors X +phoc-patch"
REQUIRED_USE=" REQUIRED_USE="
drm? ( session ) drm? ( session )
lcms? ( vulkan )
libinput? ( session ) libinput? ( session )
liftoff? ( drm ) liftoff? ( drm )
xcb-errors? ( || ( x11-backend X ) ) xcb-errors? ( || ( x11-backend X ) )
" "
DEPEND=" DEPEND="
>=dev-libs/wayland-1.23.0 >=dev-libs/wayland-1.23.1
media-libs/libglvnd media-libs/libglvnd
|| (
>=media-libs/mesa-24.1.0_rc1[opengl] >=media-libs/mesa-24.1.0_rc1[opengl]
<media-libs/mesa-24.1.0_rc1[egl(+),gles2]
)
>=x11-libs/libdrm-2.4.122 >=x11-libs/libdrm-2.4.122
x11-libs/libxkbcommon >=x11-libs/libxkbcommon-1.8.0
>=x11-libs/pixman-0.42.0 >=x11-libs/pixman-0.43.0
drm? ( drm? (
media-libs/libdisplay-info:= media-libs/libdisplay-info:=
sys-apps/hwdata sys-apps/hwdata
@@ -69,17 +65,18 @@ RDEPEND="
${DEPEND} ${DEPEND}
" "
BDEPEND=" BDEPEND="
>=dev-libs/wayland-protocols-1.35 >=dev-libs/wayland-protocols-1.41
dev-util/wayland-scanner dev-util/wayland-scanner
virtual/pkgconfig virtual/pkgconfig
" "
PATCHES=( PATCHES=(
"${FILESDIR}"/0001-Revert-layer-shell-error-on-0-dimension-without-anch.patch "${FILESDIR}"/0001-Revert-layer-shell-error-on-0-dimension-without-anch.patch
"${FILESDIR}"/0001-seat-Don-t-forget-to-destroy-touch-points-on-touch-u.patch
"${FILESDIR}"/0001-xwm-Handle-NET_WM_WINDOW_OPACITY.patch
) )
src_configure() { src_configure() {
# assert SLOT matches the version
grep -q -e "version.*${SLOT}" meson.build || die "SLOT ${SLOT} does not match the version in meson.build"
local backends=( local backends=(
$(usev drm) $(usev drm)
$(usev libinput) $(usev libinput)
@@ -106,6 +103,8 @@ src_install() {
} }
pkg_postinst() { pkg_postinst() {
if use !session; then
elog "You must be in the input group to allow your compositor" elog "You must be in the input group to allow your compositor"
elog "to access input devices via libinput." elog "to access input devices via libinput."
fi
} }

View File

@@ -45,7 +45,7 @@ RDEPEND="
x11-libs/libxkbcommon x11-libs/libxkbcommon
dev-util/gi-docgen dev-util/gi-docgen
dev-libs/gmobile dev-libs/gmobile
>=gui-libs/wlroots-0.18.0[phoc-patch] >=gui-libs/wlroots-0.19.2[phoc-patch]
" "
BDEPEND=" BDEPEND="