public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Denis Strizhkin" <strdenis02@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-libs/libnvidia-container/
Date: Fri,  6 Sep 2024 08:48:31 +0000 (UTC)	[thread overview]
Message-ID: <1725612453.010a72f5cb7d9e08155844b03b3cf1086ad34fbd.strdenis02@gentoo> (raw)

commit:     010a72f5cb7d9e08155844b03b3cf1086ad34fbd
Author:     Denis Strizhkin <strdenis02 <AT> gmail <DOT> com>
AuthorDate: Fri Sep  6 08:47:33 2024 +0000
Commit:     Denis Strizhkin <strdenis02 <AT> gmail <DOT> com>
CommitDate: Fri Sep  6 08:47:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=010a72f5

sys-libs/libnvidia-container: fix 9999 ebuild

Signed-off-by: Denis Strizhkin <strdenis02 <AT> gmail.com>

 .../libnvidia-container-9999.ebuild                 | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/sys-libs/libnvidia-container/libnvidia-container-9999.ebuild b/sys-libs/libnvidia-container/libnvidia-container-9999.ebuild
index 2aa3cbf3f..b7d6fa9e1 100644
--- a/sys-libs/libnvidia-container/libnvidia-container-9999.ebuild
+++ b/sys-libs/libnvidia-container/libnvidia-container-9999.ebuild
@@ -15,12 +15,14 @@ if [[ "${PV}" == "9999" ]] ; then
 else
 	SRC_URI="
 		https://github.com/NVIDIA/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz
-		https://github.com/NVIDIA/nvidia-modprobe/archive/${NVMODV}.tar.gz -> ${PN}-nvidia-modprobe-${NVMODV}.tar.gz
 	"
 	S="${WORKDIR}/${PN}-${PV/_rc/-rc.}"
-	NVMODS="${WORKDIR}/nvidia-modprobe-${NVMODV}"
 	KEYWORDS="~amd64"
 fi
+NVMODS="${WORKDIR}/nvidia-modprobe-${NVMODV}"
+SRC_URI+="
+	https://github.com/NVIDIA/nvidia-modprobe/archive/${NVMODV}.tar.gz -> ${PN}-nvidia-modprobe-${NVMODV}.tar.gz
+"
 
 LICENSE="Apache-2.0"
 SLOT="0/${PV}"
@@ -50,6 +52,13 @@ PATCHES=(
 
 DOCS=( COPYING COPYING.LESSER LICENSE NOTICE README.md)
 
+src_unpack() {
+	default_src_unpack
+	if [[ "${PV}" == "9999" ]] ; then
+		git-r3_src_unpack
+	fi
+}
+
 src_prepare() {
 	# nvidia-modprobe patching based on libnvidia-container/mk/nvidia-modprobe.mk
 	mkdir -p "${S}"/deps/src/nvidia-modprobe-"${NVMODV}" || die
@@ -69,10 +78,7 @@ src_compile() {
 	emake \
 		CGO_CFLAGS="${CFLAGS}" \
 		CGO_LDFLAGS="${LDFLAGS}" \
-		GO_LDFLAGS="-compressdwarf=false -linkmode=external" \
-		REVISION="${PV}" \
-		LIB_VERSION="${MY_LIB_VERSION}" \
-		LIB_TAG="${MY_LIB_TAG}"
+		GO_LDFLAGS="-compressdwarf=false -linkmode=external"
 }
 
 src_install() {
@@ -80,9 +86,6 @@ src_install() {
 		CGO_CFLAGS="${CFLAGS}" \
 		CGO_LDFLAGS="${LDFLAGS}" \
 		GO_LDFLAGS="-compressdwarf=false -linkmode=external" \
-		REVISION="${PV}" \
-		LIB_VERSION="${MY_LIB_VERSION}" \
-		LIB_TAG="${MY_LIB_TAG}" \
 		DESTDIR="${D}" \
 		install
 	# Install docs


             reply	other threads:[~2024-09-06  8:48 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-06  8:48 Denis Strizhkin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-07 18:26 [gentoo-commits] repo/proj/guru:dev commit in: sys-libs/libnvidia-container/ Denis Strizhkin
2023-06-20 18:37 David Reed
2023-06-03  7:48 David Reed
2023-03-22 13:20 Rui Huang
2023-03-22 13:20 Rui Huang
2023-03-22 13:20 Rui Huang
2022-07-08  4:51 Rui Huang
2022-07-08  4:51 Rui Huang
2022-07-08  4:51 Rui Huang
2022-04-01 10:35 Rui Huang
2022-04-01 10:35 Rui Huang
2021-07-28  2:38 Rui Huang
2021-04-29 10:54 Rui Huang
2021-02-13 15:02 Rui Huang
2021-02-13 15:02 Rui Huang
2021-01-01  9:55 Rui Huang
2020-12-28 11:59 Rui Huang
2020-12-28  8:25 Rui Huang
2020-10-05 13:21 Rui Huang
2020-09-18  9:33 Rui Huang
2020-07-25  3:24 [gentoo-commits] repo/proj/guru:master " Rui Huang
2020-07-25  3:24 ` [gentoo-commits] repo/proj/guru:dev " Rui Huang

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=1725612453.010a72f5cb7d9e08155844b03b3cf1086ad34fbd.strdenis02@gentoo \
    --to=strdenis02@gmail.com \
    --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