From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-wm/dwl/
Date: Mon, 29 Jul 2024 07:33:53 +0000 (UTC) [thread overview]
Message-ID: <1722238429.c0dd78795006770655c40b06d7077f448d2e2a0d.juippis@gentoo> (raw)
commit: c0dd78795006770655c40b06d7077f448d2e2a0d
Author: Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Sat Jul 13 23:55:34 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jul 29 07:33:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0dd7879
gui-wm/dwl: drop 9999-r1, sync 9999
dwl main branch now uses wlroots-9999
Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
gui-wm/dwl/dwl-9999-r1.ebuild | 86 -------------------------------------------
gui-wm/dwl/dwl-9999.ebuild | 42 ++++++++-------------
2 files changed, 16 insertions(+), 112 deletions(-)
diff --git a/gui-wm/dwl/dwl-9999-r1.ebuild b/gui-wm/dwl/dwl-9999-r1.ebuild
deleted file mode 100644
index 631ff290e732..000000000000
--- a/gui-wm/dwl/dwl-9999-r1.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit savedconfig toolchain-funcs
-
-MY_P="${PN}-v${PV}"
-
-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
-
- # 9999-r0: main (latest stable wlroots release)
- # 9999-r1: wlroots-next (wlroots-9999)
- case ${PVR} in
- 9999)
- EGIT_BRANCH=main
- ;;
- 9999-r1)
- EGIT_BRANCH=wlroots-next
- WLROOTS_DEP="~gui-libs/wlroots-9999:=[libinput,session,X?]"
- ;;
- esac
-else
- SRC_URI="https://codeberg.org/${PN}/${PN}/releases/download/v${PV}/${MY_P}.tar.gz"
- S="${WORKDIR}/${MY_P}"
- KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-fi
-
-DESCRIPTION="dwm for Wayland"
-HOMEPAGE="https://codeberg.org/dwl/dwl"
-
-LICENSE="CC0-1.0 GPL-3+ MIT"
-SLOT="0"
-IUSE="X"
-
-CDEPEND="
- ${WLROOTS_DEP}
- dev-libs/libinput:=
- dev-libs/wayland
- x11-libs/libxkbcommon
- X? (
- x11-libs/libxcb:=
- x11-libs/xcb-util-wm
- )
-"
-RDEPEND="
- ${CDEPEND}
- X? (
- x11-base/xwayland
- )
-"
-# uses <linux/input-event-codes.h>
-DEPEND="
- ${CDEPEND}
- sys-kernel/linux-headers
-"
-BDEPEND="
- >=dev-libs/wayland-protocols-1.32
- >=dev-util/wayland-scanner-1.23
- virtual/pkgconfig
-"
-
-src_prepare() {
- restore_config config.h
-
- default
-}
-
-src_compile() {
- emake PKG_CONFIG="$(tc-getPKG_CONFIG)" CC="$(tc-getCC)" \
- XWAYLAND="$(usev X -DXWAYLAND)" XLIBS="$(usev X "xcb xcb-icccm")" dwl
-}
-
-src_install() {
- emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
- dodoc CHANGELOG.md README.md
-
- save_config config.h
-}
diff --git a/gui-wm/dwl/dwl-9999.ebuild b/gui-wm/dwl/dwl-9999.ebuild
index f94a2aa83609..55db23917d62 100644
--- a/gui-wm/dwl/dwl-9999.ebuild
+++ b/gui-wm/dwl/dwl-9999.ebuild
@@ -5,30 +5,13 @@ EAPI=8
inherit savedconfig toolchain-funcs
-MY_P="${PN}-v${PV}"
-
-WLROOTS_DEP="
- >=gui-libs/wlroots-0.17:=[libinput,session,X?]
- <gui-libs/wlroots-0.18:=
-"
-
-if [[ ${PV} == *9999* ]]; then
+if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://codeberg.org/dwl/dwl.git"
inherit git-r3
-
- # 9999-r0: main (latest stable wlroots release)
- # 9999-r1: wlroots-next (wlroots-9999)
- case ${PVR} in
- 9999)
- EGIT_BRANCH=main
- ;;
- 9999-r1)
- EGIT_BRANCH=wlroots-next
- WLROOTS_DEP="~gui-libs/wlroots-9999:=[libinput,session,X?]"
- ;;
- esac
else
- SRC_URI="https://codeberg.org/${PN}/${PN}/releases/download/v${PV}/${MY_P}.tar.gz"
+ MY_PV="${PV/_rc/-rc}"
+ MY_P="${PN}-v${MY_PV}"
+ SRC_URI="https://codeberg.org/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
fi
@@ -40,8 +23,15 @@ LICENSE="CC0-1.0 GPL-3+ MIT"
SLOT="0"
IUSE="X"
-CDEPEND="
- ${WLROOTS_DEP}
+if [[ ${PV} == 9999 ]]; then
+ COMMON_DEPEND="~gui-libs/wlroots-9999:=[libinput,session,X?]"
+else
+ COMMON_DEPEND="
+ >=gui-libs/wlroots-0.19:=[libinput,session,X?]
+ <gui-libs/wlroots-0.20:="
+fi
+
+COMMON_DEPEND+="
dev-libs/libinput:=
dev-libs/wayland
x11-libs/libxkbcommon
@@ -51,19 +41,19 @@ CDEPEND="
)
"
RDEPEND="
- ${CDEPEND}
+ ${COMMON_DEPEND}
X? (
x11-base/xwayland
)
"
# uses <linux/input-event-codes.h>
DEPEND="
- ${CDEPEND}
+ ${COMMON_DEPEND}
sys-kernel/linux-headers
"
BDEPEND="
>=dev-libs/wayland-protocols-1.32
- dev-util/wayland-scanner
+ >=dev-util/wayland-scanner-1.23
virtual/pkgconfig
"
next reply other threads:[~2024-07-29 7:33 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-29 7:33 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-28 6:11 [gentoo-commits] repo/gentoo:master commit in: gui-wm/dwl/ Joonas Niilola
2024-07-29 7:33 Joonas Niilola
2024-07-29 7:33 Joonas Niilola
2024-07-29 7:33 Joonas Niilola
2024-07-04 1:18 Sam James
2024-07-04 1:18 Sam James
2024-07-04 1:18 Sam James
2024-07-04 1:18 Sam James
2024-07-04 1:18 Sam James
2024-01-24 19:05 Michał Górny
2024-01-03 18:39 Arthur Zamarin
2023-11-29 6:37 Sam James
2023-11-29 6:20 Sam James
2023-11-29 6:20 Sam James
2023-11-29 6:20 Sam James
2023-09-26 2:59 Sam James
2023-09-25 2:00 Sam James
2023-09-25 2:00 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1722238429.c0dd78795006770655c40b06d7077f448d2e2a0d.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox