public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/nvidia-cg-toolkit/
@ 2019-04-08 20:14 Aaron Bauman
  0 siblings, 0 replies; 7+ messages in thread
From: Aaron Bauman @ 2019-04-08 20:14 UTC (permalink / raw
  To: gentoo-commits

commit:     dced5fed9eae9ff8068250102285f131019308cd
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  8 20:13:41 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Apr  8 20:14:27 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dced5fed

media-gfx/nvidia-cg-toolkit: amd64 stable wrt bug #681516

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r5.ebuild b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r5.ebuild
index 389b9a1b831..7f8c81f2e73 100644
--- a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r5.ebuild
+++ b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="NVIDIA-r1"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples multilib"
 
 RESTRICT="strip"


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/nvidia-cg-toolkit/
@ 2019-09-28 13:01 Sergei Trofimovich
  0 siblings, 0 replies; 7+ messages in thread
From: Sergei Trofimovich @ 2019-09-28 13:01 UTC (permalink / raw
  To: gentoo-commits

commit:     b6e217fcbafd0989249823842ec475a03fa2116e
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 28 13:01:22 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Sep 28 13:01:22 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6e217fc

media-gfx/nvidia-cg-toolkit: drop old

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 .../nvidia-cg-toolkit-3.1.0013-r3.ebuild           | 146 ---------------------
 1 file changed, 146 deletions(-)

diff --git a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r3.ebuild b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r3.ebuild
deleted file mode 100644
index 93cd75d8d7a..00000000000
--- a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r3.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-inherit multilib multilib-minimal prefix versionator
-
-MY_PV="$(get_version_component_range 1-2)"
-MY_DATE="April2012"
-
-DESCRIPTION="NVIDIA's C graphics compiler toolkit"
-HOMEPAGE="http://developer.nvidia.com/cg_toolkit"
-SRC_URI="
-	abi_x86_32? (
-		http://developer.download.nvidia.com/cg/Cg_${MY_PV}/Cg-${MY_PV}_${MY_DATE}_x86.tgz
-	)
-	abi_x86_64? (
-		http://developer.download.nvidia.com/cg/Cg_${MY_PV}/Cg-${MY_PV}_${MY_DATE}_x86_64.tgz
-	)"
-
-LICENSE="NVIDIA-r1"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples"
-
-RESTRICT="strip"
-
-RDEPEND="
-	x11-libs/libICE
-	x11-libs/libSM
-	x11-libs/libX11
-	x11-libs/libXext
-	x11-libs/libXi
-	x11-libs/libXmu
-	x11-libs/libXt
-	media-libs/glu
-	media-libs/mesa[X(+)]
-	media-libs/freeglut
-	amd64? ( abi_x86_32? (
-		>=media-libs/glu-9.0.0-r1[abi_x86_32(-)]
-		>=media-libs/mesa-9.1.6[abi_x86_32(-)]
-		>=media-libs/freeglut-2.8.1[abi_x86_32(-)]
-		>=x11-libs/libICE-1.0.8-r1[abi_x86_32(-)]
-		>=x11-libs/libSM-1.2.1-r1[abi_x86_32(-)]
-		>=x11-libs/libX11-1.6.2[abi_x86_32(-)]
-		>=x11-libs/libXext-1.3.2[abi_x86_32(-)]
-		>=x11-libs/libXi-1.7.2[abi_x86_32(-)]
-		>=x11-libs/libXmu-1.1.1-r1[abi_x86_32(-)]
-		>=x11-libs/libXt-1.1.4[abi_x86_32(-)]
-	) )
-	x86? ( virtual/libstdc++:3.3 )"
-DEPEND=""
-
-S=${WORKDIR}
-
-DEST=/opt/${PN}
-
-QA_PREBUILT="${DEST}/*"
-
-src_unpack() {
-	multilib_src_unpack() {
-		mkdir -p "${BUILD_DIR}" || die
-		cd "${BUILD_DIR}" || die
-
-		local i
-		for i in ${A}; do
-			if [[ ${i} == *x86_64* && ${ABI} == amd64 ]]; then
-				unpack "${i}"
-			elif [[ ${i} != *x86_64* && ${ABI} != amd64 ]]; then
-				unpack "${i}"
-			fi
-		done
-	}
-
-	multilib_foreach_abi multilib_src_unpack
-}
-
-install_pkgconfig() {
-	# One arg: .pc file
-	insinto /usr/$(get_libdir)/pkgconfig
-	sed \
-		-e "s:GENTOO_LIBDIR:$(get_libdir):g" \
-		-e "s:DESCRIPTION:${DESCRIPTION}:g" \
-		-e "s:VERSION:${PV}:g" \
-		-e "s|HOMEPAGE|${HOMEPAGE}|g" \
-		-e "s:SUFFIX::g" \
-		"${FILESDIR}/${1}.in" > "${T}/${1}" || die
-		eprefixify "${T}/${1}"
-	doins "${T}/${1}"
-}
-
-src_install() {
-	local LDPATH=()
-
-	multilib-minimal_src_install
-}
-
-multilib_src_install() {
-	LDPATH+=( "${EPREFIX}${DEST}/$(get_libdir)" )
-	into ${DEST}
-
-	if [[ ${ABI} == amd64 ]]; then
-		dolib usr/lib64/*
-	else
-		dolib usr/lib/*
-	fi
-	install_pkgconfig nvidia-cg-toolkit.pc
-	install_pkgconfig nvidia-cg-toolkit-gl.pc
-
-	insinto ${DEST}/include
-	doins -r usr/include/Cg
-
-	if multilib_is_native_abi; then
-		dobin usr/bin/{cgc,cgfxcat,cginfo}
-
-		insinto ${DEST}
-		dodoc usr/local/Cg/README
-		if use doc; then
-			dodoc usr/local/Cg/docs/*.{txt,pdf}
-			dohtml -r usr/local/Cg/docs/html/*
-		fi
-		if use examples; then
-			insinto /usr/share/${PN}
-			doins -r usr/local/Cg/examples
-		fi
-	fi
-}
-
-multilib_src_install_all() {
-	local ldpath=${LDPATH[*]}
-
-	sed \
-		-e "s|ELDPATH|${ldpath// /:}|g" \
-		"${FILESDIR}"/80cgc-opt-2 > "${T}"/80cgc-opt || die
-	eprefixify "${T}"/80cgc-opt
-	doenvd "${T}"/80cgc-opt
-}
-
-pkg_postinst() {
-	if [[ ${REPLACING_VERSIONS} < 2.1.0016 ]]; then
-		einfo "Starting with ${CATEGORY}/${PN}-2.1.0016, ${PN} is installed in"
-		einfo "${DEST}. Packages might have to add something like:"
-		einfo "  append-cppflags -I${DEST}/include"
-	fi
-}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/nvidia-cg-toolkit/
@ 2020-02-18 20:22 Sergei Trofimovich
  0 siblings, 0 replies; 7+ messages in thread
From: Sergei Trofimovich @ 2020-02-18 20:22 UTC (permalink / raw
  To: gentoo-commits

commit:     6e2a3a2a0adc886ab4d5f15350ec99d7b9d8e1bd
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 18 20:22:11 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Feb 18 20:22:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e2a3a2a

media-gfx/nvidia-cg-toolkit: drop old pkg_postinst(), bug #705258

Drop lexicographical version compare.

Closes: https://bugs.gentoo.org/705258
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 .../nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r5.ebuild     | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r5.ebuild b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r5.ebuild
index 9b989032fff..d1edb044866 100644
--- a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r5.ebuild
+++ b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -129,11 +129,3 @@ multilib_src_install_all() {
 	eprefixify "${T}"/80cgc-opt
 	doenvd "${T}"/80cgc-opt
 }
-
-pkg_postinst() {
-	if [[ ${REPLACING_VERSIONS} < 2.1.0016 ]]; then
-		einfo "Starting with ${CATEGORY}/${PN}-2.1.0016, ${PN} is installed in"
-		einfo "${DEST}. Packages might have to add something like:"
-		einfo "  append-cppflags -I${DEST}/include"
-	fi
-}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/nvidia-cg-toolkit/
@ 2021-11-25 13:10 Marek Szuba
  0 siblings, 0 replies; 7+ messages in thread
From: Marek Szuba @ 2021-11-25 13:10 UTC (permalink / raw
  To: gentoo-commits

commit:     ca75ebbfbdfafd61333761a34e45ecf3ba437f82
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 25 13:07:20 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Nov 25 13:10:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca75ebbf

media-gfx/nvidia-cg-toolkit: update EAPI 5 -> 8

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 .../nvidia-cg-toolkit-3.1.0013-r6.ebuild           | 130 +++++++++++++++++++++
 1 file changed, 130 insertions(+)

diff --git a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r6.ebuild b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r6.ebuild
new file mode 100644
index 000000000000..d480e93dbdbf
--- /dev/null
+++ b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r6.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit prefix multilib-minimal
+
+MY_PV="$(ver_cut 1-2)"
+MY_DATE="April2012"
+
+DESCRIPTION="NVIDIA's C graphics compiler toolkit"
+HOMEPAGE="https://developer.nvidia.com/cg-toolkit"
+SRC_URI="
+	abi_x86_32? (
+		https://developer.download.nvidia.com/cg/Cg_${MY_PV}/Cg-${MY_PV}_${MY_DATE}_x86.tgz
+	)
+	abi_x86_64? (
+		https://developer.download.nvidia.com/cg/Cg_${MY_PV}/Cg-${MY_PV}_${MY_DATE}_x86_64.tgz
+	)"
+
+LICENSE="NVIDIA-r1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples multilib"
+
+RESTRICT="strip"
+
+RDEPEND="
+	>=media-libs/glu-9.0.0-r1[${MULTILIB_USEDEP}]
+	>=x11-libs/libICE-1.0.8-r1[${MULTILIB_USEDEP}]
+	>=x11-libs/libSM-1.2.1-r1[${MULTILIB_USEDEP}]
+	>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+	>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
+	>=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}]
+	>=x11-libs/libXmu-1.1.1-r1[${MULTILIB_USEDEP}]
+	>=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}]
+	>=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
+	amd64? (
+		abi_x86_32? (
+			>=media-libs/freeglut-2.8.1[abi_x86_32(-)]
+		)
+	)"
+
+S=${WORKDIR}
+
+DEST=/opt/${PN}
+
+QA_PREBUILT="${DEST}/.* /usr/share/.*"
+
+src_unpack() {
+	multilib_src_unpack() {
+		mkdir -p "${BUILD_DIR}" || die
+		cd "${BUILD_DIR}" || die
+
+		local i
+		for i in ${A}; do
+			if [[ ${i} == *x86_64* && ${ABI} == amd64 ]]; then
+				unpack "${i}"
+			elif [[ ${i} != *x86_64* && ${ABI} != amd64 ]]; then
+				unpack "${i}"
+			fi
+		done
+	}
+
+	multilib_foreach_abi multilib_src_unpack
+}
+
+install_pkgconfig() {
+	# One arg: .pc file
+	insinto /usr/$(get_libdir)/pkgconfig
+	sed \
+		-e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+		-e "s:DESCRIPTION:${DESCRIPTION}:g" \
+		-e "s:VERSION:${PV}:g" \
+		-e "s|HOMEPAGE|${HOMEPAGE}|g" \
+		-e "s:SUFFIX::g" \
+		"${FILESDIR}/${1}.in" > "${T}/${1}" || die
+		eprefixify "${T}/${1}"
+	doins "${T}/${1}"
+}
+
+src_install() {
+	local LDPATH=()
+
+	multilib-minimal_src_install
+}
+
+multilib_src_install() {
+	LDPATH+=( "${EPREFIX}${DEST}/$(get_libdir)" )
+	into ${DEST}
+
+	if [[ ${ABI} == amd64 ]]; then
+		dolib.so usr/lib64/*.so
+	else
+		dolib.so usr/lib/*.so
+	fi
+	install_pkgconfig nvidia-cg-toolkit.pc
+	install_pkgconfig nvidia-cg-toolkit-gl.pc
+
+	insinto ${DEST}/include
+	doins -r usr/include/Cg
+
+	if multilib_is_native_abi; then
+		dobin usr/bin/{cgc,cgfxcat,cginfo}
+
+		insinto ${DEST}
+		dodoc usr/local/Cg/README
+		if use doc; then
+			DOCS=( usr/local/Cg/docs/*.{txt,pdf} )
+			HTML_DOCS=( usr/local/Cg/docs/html/. )
+			einstalldocs
+		fi
+		if use examples; then
+			dodir /usr/share/${PN}
+			mv usr/local/Cg/examples "${ED}"/usr/share/${PN}/
+		fi
+	fi
+}
+
+multilib_src_install_all() {
+	local ldpath=${LDPATH[*]}
+
+	sed \
+		-e "s|ELDPATH|${ldpath// /:}|g" \
+		"${FILESDIR}"/80cgc-opt-2 > "${T}"/80cgc-opt || die
+	eprefixify "${T}"/80cgc-opt
+	doenvd "${T}"/80cgc-opt
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/nvidia-cg-toolkit/
@ 2021-12-15 16:42 Jakov Smolić
  0 siblings, 0 replies; 7+ messages in thread
From: Jakov Smolić @ 2021-12-15 16:42 UTC (permalink / raw
  To: gentoo-commits

commit:     0a68a5d0aa1a3b44d16cf6c72f3c956f3282f1b4
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 15 16:42:28 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Dec 15 16:42:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a68a5d0

media-gfx/nvidia-cg-toolkit: Stabilize 3.1.0013-r6 amd64, #828715

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r6.ebuild b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r6.ebuild
index d480e93dbdbf..d7403bfeb33a 100644
--- a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r6.ebuild
+++ b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r6.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="NVIDIA-r1"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples multilib"
 
 RESTRICT="strip"


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/nvidia-cg-toolkit/
@ 2021-12-16 18:06 Jakov Smolić
  0 siblings, 0 replies; 7+ messages in thread
From: Jakov Smolić @ 2021-12-16 18:06 UTC (permalink / raw
  To: gentoo-commits

commit:     01dc7c50c2576cc4545710690dc168161273be35
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 16 18:06:20 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Dec 16 18:06:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01dc7c50

media-gfx/nvidia-cg-toolkit: Stabilize 3.1.0013-r6 x86, #828715

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r6.ebuild b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r6.ebuild
index d7403bfeb33a..41568efe3593 100644
--- a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r6.ebuild
+++ b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r6.ebuild
@@ -22,7 +22,7 @@ SRC_URI="
 
 LICENSE="NVIDIA-r1"
 SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples multilib"
 
 RESTRICT="strip"


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/nvidia-cg-toolkit/
@ 2021-12-16 18:15 Jakov Smolić
  0 siblings, 0 replies; 7+ messages in thread
From: Jakov Smolić @ 2021-12-16 18:15 UTC (permalink / raw
  To: gentoo-commits

commit:     0df69cce9824c8a6f92fe03195412ea808dad254
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 16 18:14:07 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Dec 16 18:14:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0df69cce

media-gfx/nvidia-cg-toolkit: Drop EAPI-5 ebuild

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 .../nvidia-cg-toolkit-3.1.0013-r5.ebuild           | 131 ---------------------
 1 file changed, 131 deletions(-)

diff --git a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r5.ebuild b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r5.ebuild
deleted file mode 100644
index d1edb0448661..000000000000
--- a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r5.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-
-inherit eutils multilib multilib-minimal prefix versionator
-
-MY_PV="$(get_version_component_range 1-2)"
-MY_DATE="April2012"
-
-DESCRIPTION="NVIDIA's C graphics compiler toolkit"
-HOMEPAGE="http://developer.nvidia.com/cg_toolkit"
-SRC_URI="
-	abi_x86_32? (
-		http://developer.download.nvidia.com/cg/Cg_${MY_PV}/Cg-${MY_PV}_${MY_DATE}_x86.tgz
-	)
-	abi_x86_64? (
-		http://developer.download.nvidia.com/cg/Cg_${MY_PV}/Cg-${MY_PV}_${MY_DATE}_x86_64.tgz
-	)"
-
-LICENSE="NVIDIA-r1"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples multilib"
-
-RESTRICT="strip"
-
-RDEPEND="
-	>=media-libs/glu-9.0.0-r1[${MULTILIB_USEDEP}]
-	>=x11-libs/libICE-1.0.8-r1[${MULTILIB_USEDEP}]
-	>=x11-libs/libSM-1.2.1-r1[${MULTILIB_USEDEP}]
-	>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
-	>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
-	>=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}]
-	>=x11-libs/libXmu-1.1.1-r1[${MULTILIB_USEDEP}]
-	>=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}]
-	>=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
-	amd64? (
-		abi_x86_32? (
-			>=media-libs/freeglut-2.8.1[abi_x86_32(-)]
-		)
-	)"
-DEPEND=""
-
-S=${WORKDIR}
-
-DEST=/opt/${PN}
-
-QA_PREBUILT="${DEST}/.* /usr/share/.*"
-
-src_unpack() {
-	multilib_src_unpack() {
-		mkdir -p "${BUILD_DIR}" || die
-		cd "${BUILD_DIR}" || die
-
-		local i
-		for i in ${A}; do
-			if [[ ${i} == *x86_64* && ${ABI} == amd64 ]]; then
-				unpack "${i}"
-			elif [[ ${i} != *x86_64* && ${ABI} != amd64 ]]; then
-				unpack "${i}"
-			fi
-		done
-	}
-
-	multilib_foreach_abi multilib_src_unpack
-}
-
-install_pkgconfig() {
-	# One arg: .pc file
-	insinto /usr/$(get_libdir)/pkgconfig
-	sed \
-		-e "s:GENTOO_LIBDIR:$(get_libdir):g" \
-		-e "s:DESCRIPTION:${DESCRIPTION}:g" \
-		-e "s:VERSION:${PV}:g" \
-		-e "s|HOMEPAGE|${HOMEPAGE}|g" \
-		-e "s:SUFFIX::g" \
-		"${FILESDIR}/${1}.in" > "${T}/${1}" || die
-		eprefixify "${T}/${1}"
-	doins "${T}/${1}"
-}
-
-src_install() {
-	local LDPATH=()
-
-	multilib-minimal_src_install
-}
-
-multilib_src_install() {
-	LDPATH+=( "${EPREFIX}${DEST}/$(get_libdir)" )
-	into ${DEST}
-
-	if [[ ${ABI} == amd64 ]]; then
-		dolib usr/lib64/*
-	else
-		dolib usr/lib/*
-	fi
-	install_pkgconfig nvidia-cg-toolkit.pc
-	install_pkgconfig nvidia-cg-toolkit-gl.pc
-
-	insinto ${DEST}/include
-	doins -r usr/include/Cg
-
-	if multilib_is_native_abi; then
-		dobin usr/bin/{cgc,cgfxcat,cginfo}
-
-		insinto ${DEST}
-		dodoc usr/local/Cg/README
-		if use doc; then
-			DOCS=( usr/local/Cg/docs/*.{txt,pdf} )
-			HTML_DOCS=( usr/local/Cg/docs/html/. )
-			einstalldocs
-		fi
-		if use examples; then
-			dodir /usr/share/${PN}
-			mv usr/local/Cg/examples "${ED}"/usr/share/${PN}/
-		fi
-	fi
-}
-
-multilib_src_install_all() {
-	local ldpath=${LDPATH[*]}
-
-	sed \
-		-e "s|ELDPATH|${ldpath// /:}|g" \
-		"${FILESDIR}"/80cgc-opt-2 > "${T}"/80cgc-opt || die
-	eprefixify "${T}"/80cgc-opt
-	doenvd "${T}"/80cgc-opt
-}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-12-16 18:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-15 16:42 [gentoo-commits] repo/gentoo:master commit in: media-gfx/nvidia-cg-toolkit/ Jakov Smolić
  -- strict thread matches above, loose matches on Subject: below --
2021-12-16 18:15 Jakov Smolić
2021-12-16 18:06 Jakov Smolić
2021-11-25 13:10 Marek Szuba
2020-02-18 20:22 Sergei Trofimovich
2019-09-28 13:01 Sergei Trofimovich
2019-04-08 20:14 Aaron Bauman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox