gui-wm/dwl: stop using SLOT/SUBSLOT to depend on gui-libs/wlroots

Closes: https://bugs.gentoo.org/933717
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Leonardo Hernández Hernández
2024-07-04 02:16:38 +01:00
committed by Sam James
parent 4cb3c933b4
commit 3fa0318cd3
2 changed files with 18 additions and 8 deletions
+9 -4
View File
@@ -1,4 +1,4 @@
# Copyright 2022-2023 Gentoo Authors
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,7 +6,12 @@ EAPI=8
inherit savedconfig toolchain-funcs
MY_P="${PN}-v${PV}"
WLROOTS_SLOT="0/18"
WLROOTS_DEP="
>=gui-libs/wlroots-0.18:=[libinput,session,X?]
<gui-libs/wlroots-0.19:=
"
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://codeberg.org/dwl/dwl.git"
inherit git-r3
@@ -19,7 +24,7 @@ if [[ ${PV} == *9999* ]]; then
;;
9999-r1)
EGIT_BRANCH=wlroots-next
WLROOTS_SLOT="0/9999"
WLROOTS_DEP="~gui-libs/wlroots-9999:=[libinput,session,X?]"
;;
esac
else
@@ -36,9 +41,9 @@ SLOT="0"
IUSE="X"
RDEPEND="
${WLROOTS_DEP}
dev-libs/libinput:=
dev-libs/wayland
gui-libs/wlroots:${WLROOTS_SLOT}[libinput,session,X?]
x11-libs/libxkbcommon
X? (
x11-libs/libxcb:=
+9 -4
View File
@@ -1,4 +1,4 @@
# Copyright 2022-2023 Gentoo Authors
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,7 +6,12 @@ EAPI=8
inherit savedconfig toolchain-funcs
MY_P="${PN}-v${PV}"
WLROOTS_SLOT="0/17"
WLROOTS_DEP="
>=gui-libs/wlroots-0.17:=[libinput,session,X?]
<gui-libs/wlroots-0.18:=
"
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://codeberg.org/dwl/dwl.git"
inherit git-r3
@@ -19,7 +24,7 @@ if [[ ${PV} == *9999* ]]; then
;;
9999-r1)
EGIT_BRANCH=wlroots-next
WLROOTS_SLOT="0/9999"
WLROOTS_DEP="~gui-libs/wlroots-9999:=[libinput,session,X?]"
;;
esac
else
@@ -36,9 +41,9 @@ SLOT="0"
IUSE="X"
RDEPEND="
${WLROOTS_DEP}
dev-libs/libinput:=
dev-libs/wayland
gui-libs/wlroots:${WLROOTS_SLOT}[libinput,session,X?]
x11-libs/libxkbcommon
X? (
x11-libs/libxcb:=