public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-wm/dwl/
Date: Mon, 25 Sep 2023 02:00:30 +0000 (UTC)	[thread overview]
Message-ID: <1695607143.6ce7c841bd1b7fa3e53e805f9200210fc548d29c.sam@gentoo> (raw)

commit:     6ce7c841bd1b7fa3e53e805f9200210fc548d29c
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Mon Sep 25 01:31:50 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <leohdz172 <AT> proton.me>
Closes: https://github.com/gentoo/gentoo/pull/33043
Signed-off-by: Sam James <sam <AT> 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
 


             reply	other threads:[~2023-09-25  2:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-25  2:00 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-09-25  2:00 [gentoo-commits] repo/gentoo:master commit in: gui-wm/dwl/ Sam James
2023-09-26  2:59 Sam James
2023-11-29  6:20 Sam James
2023-11-29  6:20 Sam James
2023-11-29  6:20 Sam James
2023-11-29  6:37 Sam James
2024-01-03 18:39 Arthur Zamarin
2024-01-24 19:05 Michał Górny
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-07-29  7:33 Joonas Niilola
2024-07-29  7:33 Joonas Niilola
2024-07-29  7:33 Joonas Niilola
2024-07-29  7:33 Joonas Niilola
2024-08-28  6:11 Joonas Niilola

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=1695607143.6ce7c841bd1b7fa3e53e805f9200210fc548d29c.sam@gentoo \
    --to=sam@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