From: "Patrick Nicolas" <patricknicolas@laposte.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-libs/wivrn/
Date: Mon, 11 Aug 2025 13:34:55 +0000 (UTC) [thread overview]
Message-ID: <1754919252.154168de1462786af53ec1ed1dacdbc35665b5e5.patricknicolas@gentoo> (raw)
commit: 154168de1462786af53ec1ed1dacdbc35665b5e5
Author: Patrick Nicolas <patricknicolas <AT> laposte <DOT> net>
AuthorDate: Mon Aug 11 13:34:12 2025 +0000
Commit: Patrick Nicolas <patricknicolas <AT> laposte <DOT> net>
CommitDate: Mon Aug 11 13:34:12 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=154168de
media-libs/wivrn: Fix version display in live ebuild
Signed-off-by: Patrick Nicolas <patricknicolas <AT> laposte.net>
media-libs/wivrn/wivrn-9999.ebuild | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/media-libs/wivrn/wivrn-9999.ebuild b/media-libs/wivrn/wivrn-9999.ebuild
index 7f2e0c9712..8b7bc3721b 100644
--- a/media-libs/wivrn/wivrn-9999.ebuild
+++ b/media-libs/wivrn/wivrn-9999.ebuild
@@ -16,6 +16,7 @@ REQUIRED_USE="|| ( nvenc vaapi x264 )"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/WiVRn/WiVRn.git"
+ EGIT_MIN_CLONE_TYPE="single+tags"
MONADO_REPO_URI="https://gitlab.freedesktop.org/monado/monado.git"
else
SRC_URI="
@@ -84,6 +85,12 @@ if [[ ${PV} == 9999 ]]; then
git-r3_src_unpack
default_src_unpack
+ # export those before Monado is checked out
+ export GIT_DESC=$(git -C "${EGIT_DIR}" describe "${EGIT_VERSION}" --tags --always)
+ export GIT_COMMIT=${EGIT_VERSION}
+
+ # Only use those for the main repo
+ unset EGIT_BRANCH EGIT_COMMIT
local MONADO_COMMIT=$(cat "${P}/monado-rev")
git-r3_fetch "${MONADO_REPO_URI}" "${MONADO_COMMIT}"
git-r3_checkout "${MONADO_REPO_URI}" "${WORKDIR}/monado-src"
@@ -105,10 +112,7 @@ fi
multilib_src_configure() {
use debug || append-cflags "-DNDEBUG"
use debug || append-cxxflags "-DNDEBUG"
- if [[ ${PV} == 9999 ]]; then
- GIT_DESC=$(git describe --tags --always)
- GIT_COMMIT=$(git rev-parse HEAD)
- else
+ if [[ ${PV} != 9999 ]]; then
GIT_DESC=v${PV}
GIT_COMMIT=v${PV}
fi
next reply other threads:[~2025-08-11 13:34 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-11 13:34 Patrick Nicolas [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-18 6:15 [gentoo-commits] repo/proj/guru:dev commit in: media-libs/wivrn/ Patrick Nicolas
2025-08-11 9:20 Patrick Nicolas
2025-08-10 9:53 Patrick Nicolas
2025-08-09 14:10 Patrick Nicolas
2025-08-09 8:38 Patrick Nicolas
2025-06-29 9:21 Patrick Nicolas
2025-06-26 19:31 Patrick Nicolas
2025-05-21 18:53 Patrick Nicolas
2025-05-18 15:36 Patrick Nicolas
2025-05-18 15:36 Patrick Nicolas
2025-04-10 11:41 Patrick Nicolas
2025-04-04 19:21 Patrick Nicolas
2025-03-24 11:50 Patrick Nicolas
2025-03-24 11:50 Patrick Nicolas
2025-03-21 14:02 Patrick Nicolas
2025-03-20 20:00 Patrick Nicolas
2025-02-17 17:00 Patrick Nicolas
2025-02-17 17:00 Patrick Nicolas
2025-02-16 9:51 Patrick Nicolas
2025-02-15 15:12 Patrick Nicolas
2025-02-12 23:33 Patrick Nicolas
2025-02-08 18:29 Patrick Nicolas
2025-02-05 16:24 Patrick Nicolas
2025-02-05 15:33 Patrick Nicolas
2025-02-02 16:55 Patrick Nicolas
2024-12-06 12:28 Patrick Nicolas
2024-11-03 16:58 Patrick Nicolas
2024-11-03 16:58 Patrick Nicolas
2024-10-27 10:40 Patrick Nicolas
2024-10-14 21:44 Patrick Nicolas
2024-10-14 21:28 Patrick Nicolas
2024-10-10 16:59 Patrick Nicolas
2024-10-06 8:27 Takuya Wakazono
2024-10-05 22:21 Patrick Nicolas
2024-09-20 7:01 Patrick Nicolas
2024-09-20 7:01 Patrick Nicolas
2024-09-03 8:10 Patrick Nicolas
2024-08-15 11:10 Patrick Nicolas
2024-08-13 16:47 Patrick Nicolas
2024-07-15 12:36 Lucio Sauer
2024-07-14 20:18 Patrick Nicolas
2024-07-14 20:18 Patrick Nicolas
2024-06-27 8:53 Patrick Nicolas
2024-06-17 15:40 Patrick Nicolas
2024-06-14 15:45 Patrick Nicolas
2024-06-14 15:45 Patrick Nicolas
2024-06-05 17:25 Patrick Nicolas
2024-05-20 12:29 Patrick Nicolas
2024-05-19 11:47 Patrick Nicolas
2024-04-26 15:39 Patrick Nicolas
2024-03-30 22:36 Patrick Nicolas
2024-03-30 22:36 Patrick Nicolas
2024-03-30 22:36 Patrick Nicolas
2024-03-09 22:24 Patrick Nicolas
2024-03-06 12:54 Patrick Nicolas
2024-03-06 12:54 Patrick Nicolas
2024-03-05 9:38 Patrick Nicolas
2024-02-18 16:15 Patrick Nicolas
2024-02-18 16:15 Patrick Nicolas
2024-01-04 16:30 Patrick Nicolas
2023-12-19 17:46 Patrick Nicolas
2023-12-19 17:46 Patrick Nicolas
2023-11-25 13:20 Patrick Nicolas
2023-11-23 21:21 Mason Rocha
2023-11-23 18:50 Patrick Nicolas
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=1754919252.154168de1462786af53ec1ed1dacdbc35665b5e5.patricknicolas@gentoo \
--to=patricknicolas@laposte.net \
--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