summaryrefslogtreecommitdiff
path: root/media-gfx/nvidia-cg-toolkit
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/nvidia-cg-toolkit')
-rw-r--r--media-gfx/nvidia-cg-toolkit/Manifest1
-rw-r--r--media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013-r3.ebuild146
2 files changed, 0 insertions, 147 deletions
diff --git a/media-gfx/nvidia-cg-toolkit/Manifest b/media-gfx/nvidia-cg-toolkit/Manifest
index 2f1587d312cf..db114eaaa1fc 100644
--- a/media-gfx/nvidia-cg-toolkit/Manifest
+++ b/media-gfx/nvidia-cg-toolkit/Manifest
@@ -4,6 +4,5 @@ AUX nvidia-cg-toolkit-gl.pc.in 278 BLAKE2B ef0bfb9b76386c078e36b700166069fd961b0
AUX nvidia-cg-toolkit.pc.in 242 BLAKE2B 45f19a2791310975169f8a31bf65d77a86b4e4487502c40101622070a28e316ae3bb910e7bb3d8af0073ac281ab4ca0786a081e1c1ff8955c125bd3fe1b5403b SHA512 601505a228eb4f70813d3ab6346a51c1552751278549c81b7721273dd58c053639cad49cfe82982455b1399d8b494f8351a0a479efbdb33171d28c3dd0b69073
DIST Cg-3.1_April2012_x86.tgz 23332348 BLAKE2B e8253cfd1b569e1eb083ca394ae969ca43677641763eb77c24381198914cb1508bd41489224d8cc1afefca2affb485320022bd35e7ffaa48aaadafcf42f89183 SHA512 7b2addad157e151eb42b320aea31ccddfd53ec5640cb97bc86a3d461c1b08a2dff280bfc3f7859d124c311e1710e39d40405c387e5724ebc82d95303b250837a
DIST Cg-3.1_April2012_x86_64.tgz 24829131 BLAKE2B f1425f391022aa57fe2b23581786576ab8762a48e9ffc875853d55399d3a996ac85debb099d0b906dcce6c95989a06c3980bfb59dc69edc16d1378ba5dc89c73 SHA512 591b51195193e7e3bbb9f1c2579336d24a179b0a88b955a01f4661bda55543fbccd73cac53033912f2eea8a1068e4c1394c6d286f195963cfb33a0d8b4428e27
-EBUILD nvidia-cg-toolkit-3.1.0013-r3.ebuild 3276 BLAKE2B f220bfe2757030965ecb976888741e4b45e63092adef1295dfd2a7d1ce5e55b1c602986ee68d9c8d9752278eccde873ab959fd419fa67cd724a985ff7df43fe4 SHA512 0728caa22289a34db3f4ddc60f9ef8df8213e0d07d71e94f1bbe707c109a3a5fc493220d4db007c3a6c7aa7854dae216a3e1c3ddd4d89a1180182e77c1002a64
EBUILD nvidia-cg-toolkit-3.1.0013-r5.ebuild 3177 BLAKE2B 75152e6051dbe1fbb6c9c1f176b1733a7a7910fc47f4998e2e14ef109dd89cca1f21e20afd74b092078bd87154defb9a7269f9d1af51dbffce265ba1fe66a21b SHA512 194f642e56728a90c69115281ec7fdd0d346b50755ed337f8c1f31d4e877b1b6942cbf0ff562d3c05d478a8c20b32fdda9b82b6a25aa17b6d486ad7c18732dae
MISC metadata.xml 652 BLAKE2B 8bb1f448a07402e9de7b8265b50318595c3b7de92b8b444b92dce29ac428682ab856f6d4ed668579a8fcda48b8d17f975b69d08154a54cefe7dce8916db0e0a3 SHA512 cde9ca3c2c16c3a83593c4fbdd1b05f5b79596f42d77df5f20470d7e2cbca2e445fcac254dcc7f31e41938f756d1bd5b314c7aa1a2dc6a7bc19f170a4d7e1656
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 93cd75d8d7ac..000000000000
--- 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
-}