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 D672D158089 for ; Mon, 25 Sep 2023 02:00:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 012A12BC02C; Mon, 25 Sep 2023 02:00:34 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E0AD52BC02C for ; Mon, 25 Sep 2023 02:00:33 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B9470335C7E for ; Mon, 25 Sep 2023 02:00:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F122D1188 for ; Mon, 25 Sep 2023 02:00:30 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1695607143.6ce7c841bd1b7fa3e53e805f9200210fc548d29c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gui-wm/dwl/ X-VCS-Repository: repo/gentoo X-VCS-Files: gui-wm/dwl/dwl-0.4.ebuild gui-wm/dwl/dwl-9999-r1.ebuild gui-wm/dwl/dwl-9999.ebuild X-VCS-Directories: gui-wm/dwl/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6ce7c841bd1b7fa3e53e805f9200210fc548d29c X-VCS-Branch: master Date: Mon, 25 Sep 2023 02:00:30 +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: e45f267c-dbab-4597-bc02-725c18f30f47 X-Archives-Hash: 404936293bf1c7263a1bba06b2e98079 commit: 6ce7c841bd1b7fa3e53e805f9200210fc548d29c Author: Leonardo Hernández Hernández proton me> AuthorDate: Mon Sep 25 01:31:50 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Sep 25 01:59:03 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ce7c841 gui-wm/dwl: fix nonexistent ${S} and install desktop file (only for 0.4) Signed-off-by: Leonardo Hernández Hernández proton.me> Closes: https://github.com/gentoo/gentoo/pull/33043 Signed-off-by: Sam James gentoo.org> gui-wm/dwl/dwl-0.4.ebuild | 7 ++++++- gui-wm/dwl/dwl-9999-r1.ebuild | 4 +++- gui-wm/dwl/dwl-9999.ebuild | 4 +++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gui-wm/dwl/dwl-0.4.ebuild b/gui-wm/dwl/dwl-0.4.ebuild index a80953766ba4..8a5fd16b0c32 100644 --- a/gui-wm/dwl/dwl-0.4.ebuild +++ b/gui-wm/dwl/dwl-0.4.ebuild @@ -5,6 +5,7 @@ EAPI=8 inherit savedconfig toolchain-funcs +MY_P="${PN}-v${PV}" WLROOTS_SLOT="0/16" if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://github.com/djpohly/dwl" @@ -22,7 +23,8 @@ if [[ ${PV} == *9999* ]]; then ;; esac else - SRC_URI="https://github.com/djpohly/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/djpohly/${PN}/releases/download/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${MY_P}" KEYWORDS="~amd64 ~x86" fi @@ -70,5 +72,8 @@ src_install() { emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install dodoc README.md + insinto /usr/share/wayland-session + doins "${FILESDIR}/dwl.desktop" + save_config config.h } diff --git a/gui-wm/dwl/dwl-9999-r1.ebuild b/gui-wm/dwl/dwl-9999-r1.ebuild index 9e7a7bdcfaf3..f093811e7e8a 100644 --- a/gui-wm/dwl/dwl-9999-r1.ebuild +++ b/gui-wm/dwl/dwl-9999-r1.ebuild @@ -5,6 +5,7 @@ EAPI=8 inherit savedconfig toolchain-funcs +MY_P="${PN}-v${PV}" WLROOTS_SLOT="0/16" if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://github.com/djpohly/dwl" @@ -22,7 +23,8 @@ if [[ ${PV} == *9999* ]]; then ;; esac else - SRC_URI="https://github.com/djpohly/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/djpohly/${PN}/releases/download/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${MY_P}" KEYWORDS="~amd64 ~x86" fi diff --git a/gui-wm/dwl/dwl-9999.ebuild b/gui-wm/dwl/dwl-9999.ebuild index a80953766ba4..6bb47768ea96 100644 --- a/gui-wm/dwl/dwl-9999.ebuild +++ b/gui-wm/dwl/dwl-9999.ebuild @@ -5,6 +5,7 @@ EAPI=8 inherit savedconfig toolchain-funcs +MY_P="${PN}-v${PV}" WLROOTS_SLOT="0/16" if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://github.com/djpohly/dwl" @@ -22,7 +23,8 @@ if [[ ${PV} == *9999* ]]; then ;; esac else - SRC_URI="https://github.com/djpohly/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/djpohly/${PN}/releases/download/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${MY_P}" KEYWORDS="~amd64 ~x86" fi