From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CF4CB158021 for ; Fri, 2 Dec 2022 18:16:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 250EA2BC068; Fri, 2 Dec 2022 18:16:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EEA9E2BC067 for ; Fri, 2 Dec 2022 18:16:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 06F30341298 for ; Fri, 2 Dec 2022 18:16:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 68465773 for ; Fri, 2 Dec 2022 18:16:34 +0000 (UTC) From: "Leonardo Hernandez" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Leonardo Hernandez" Message-ID: <1670004658.9363aa3abceb27e9cf4ff9b41de9193d6f10b315.leohdz172@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-wm/dwl/ X-VCS-Repository: repo/proj/guru X-VCS-Files: gui-wm/dwl/dwl-9999-r1.ebuild gui-wm/dwl/dwl-9999.ebuild X-VCS-Directories: gui-wm/dwl/ X-VCS-Committer: leohdz172 X-VCS-Committer-Name: Leonardo Hernandez X-VCS-Revision: 9363aa3abceb27e9cf4ff9b41de9193d6f10b315 X-VCS-Branch: dev Date: Fri, 2 Dec 2022 18:16:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 05975d4f-f75c-43b4-bf1d-ea74be8f4253 X-Archives-Hash: 25e43a3c75afd8db95bb9da875cb9451 commit: 9363aa3abceb27e9cf4ff9b41de9193d6f10b315 Author: Leonardo Hernández Hernández outlook com> AuthorDate: Fri Dec 2 18:10:58 2022 +0000 Commit: Leonardo Hernandez outlook com> CommitDate: Fri Dec 2 18:10:58 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9363aa3a gui-wm/dwl: new live ebuild (like dev-vcs/git) Signed-off-by: Leonardo Hernández Hernández outlook.com> gui-wm/dwl/{dwl-9999.ebuild => dwl-9999-r1.ebuild} | 27 ++++++++++++++++++---- gui-wm/dwl/dwl-9999.ebuild | 27 ++++++++++++++++++---- 2 files changed, 46 insertions(+), 8 deletions(-) diff --git a/gui-wm/dwl/dwl-9999.ebuild b/gui-wm/dwl/dwl-9999-r1.ebuild similarity index 61% copy from gui-wm/dwl/dwl-9999.ebuild copy to gui-wm/dwl/dwl-9999-r1.ebuild index 0b7bde09f..b456ff6b8 100644 --- a/gui-wm/dwl/dwl-9999.ebuild +++ b/gui-wm/dwl/dwl-9999-r1.ebuild @@ -3,21 +3,40 @@ EAPI=8 -inherit flag-o-matic git-r3 savedconfig toolchain-funcs +inherit flag-o-matic savedconfig toolchain-funcs + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/djpohly/dwl" + inherit git-r3 + + # 9999-r0: main (latest wlroots release) + # 9999-r1: wlroots-next (wlroots-9999) + case ${PVR} in + 9999) + EGIT_BRANCH=main + WLROOTS_SLOT="0/16" + ;; + 9999-r1) + EGIT_BRANCH=wlroots-next + WLROOTS_SLOT="0/9999" + ;; + esac +else + SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi DESCRIPTION="dwm for Wayland" HOMEPAGE="https://github.com/djpohly/dwl" -EGIT_REPO_URI="https://github.com/djpohly/dwl" LICENSE="CC0-1.0 GPL-3 MIT" SLOT="0" -KEYWORDS="" IUSE="X" RDEPEND=" dev-libs/libinput:= dev-libs/wayland - gui-libs/wlroots:0:16[X(-)?] + gui-libs/wlroots:${WLROOTS_SLOT}[X(-)?] x11-libs/libxkbcommon X? ( x11-libs/libxcb:= diff --git a/gui-wm/dwl/dwl-9999.ebuild b/gui-wm/dwl/dwl-9999.ebuild index 0b7bde09f..b456ff6b8 100644 --- a/gui-wm/dwl/dwl-9999.ebuild +++ b/gui-wm/dwl/dwl-9999.ebuild @@ -3,21 +3,40 @@ EAPI=8 -inherit flag-o-matic git-r3 savedconfig toolchain-funcs +inherit flag-o-matic savedconfig toolchain-funcs + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/djpohly/dwl" + inherit git-r3 + + # 9999-r0: main (latest wlroots release) + # 9999-r1: wlroots-next (wlroots-9999) + case ${PVR} in + 9999) + EGIT_BRANCH=main + WLROOTS_SLOT="0/16" + ;; + 9999-r1) + EGIT_BRANCH=wlroots-next + WLROOTS_SLOT="0/9999" + ;; + esac +else + SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi DESCRIPTION="dwm for Wayland" HOMEPAGE="https://github.com/djpohly/dwl" -EGIT_REPO_URI="https://github.com/djpohly/dwl" LICENSE="CC0-1.0 GPL-3 MIT" SLOT="0" -KEYWORDS="" IUSE="X" RDEPEND=" dev-libs/libinput:= dev-libs/wayland - gui-libs/wlroots:0:16[X(-)?] + gui-libs/wlroots:${WLROOTS_SLOT}[X(-)?] x11-libs/libxkbcommon X? ( x11-libs/libxcb:=