1 |
commit: 312449f7a29fbd212f0b365c729324c3ec7a12f3 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 15 18:32:06 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 15 18:32:26 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=312449f7 |
7 |
|
8 |
media-gfx/nvidia-texture-tools: Drop old |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
media-gfx/nvidia-texture-tools/metadata.xml | 1 - |
14 |
.../nvidia-texture-tools-2.0.8-r3.ebuild | 72 ---------------------- |
15 |
2 files changed, 73 deletions(-) |
16 |
|
17 |
diff --git a/media-gfx/nvidia-texture-tools/metadata.xml b/media-gfx/nvidia-texture-tools/metadata.xml |
18 |
index 0d4c5582813..20324d728bf 100644 |
19 |
--- a/media-gfx/nvidia-texture-tools/metadata.xml |
20 |
+++ b/media-gfx/nvidia-texture-tools/metadata.xml |
21 |
@@ -4,7 +4,6 @@ |
22 |
<!-- maintainer-needed --> |
23 |
<use> |
24 |
<flag name="cg">Enable NVIDIA C graphics compiler toolkit plug-in</flag> |
25 |
- <flag name="cuda">Enable NVIDIA CUDA toolkit support</flag> |
26 |
<flag name="glew">Enable support for The OpenGL Extension Wrangler Library (<pkg>media-libs/glew</pkg>)</flag> |
27 |
</use> |
28 |
</pkgmetadata> |
29 |
|
30 |
diff --git a/media-gfx/nvidia-texture-tools/nvidia-texture-tools-2.0.8-r3.ebuild b/media-gfx/nvidia-texture-tools/nvidia-texture-tools-2.0.8-r3.ebuild |
31 |
deleted file mode 100644 |
32 |
index d8f2a464d7e..00000000000 |
33 |
--- a/media-gfx/nvidia-texture-tools/nvidia-texture-tools-2.0.8-r3.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,72 +0,0 @@ |
36 |
-# Copyright 1999-2018 Gentoo Foundation |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=6 |
40 |
- |
41 |
-inherit cmake-utils eutils |
42 |
- |
43 |
-DESCRIPTION="A set of cuda-enabled texture tools and compressors" |
44 |
-HOMEPAGE="http://developer.nvidia.com/object/texture_tools.html" |
45 |
-SRC_URI="https://${PN}.googlecode.com/files/${P}-1.tar.gz |
46 |
- https://dev.gentoo.org/~soap/distfiles/${P}-patchset-1-r1.tar.xz" |
47 |
- |
48 |
-LICENSE="MIT" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="amd64 x86" |
51 |
-IUSE="cg cuda glew glut openexr" |
52 |
- |
53 |
-RDEPEND=" |
54 |
- media-libs/ilmbase:= |
55 |
- media-libs/libpng:0= |
56 |
- media-libs/tiff:0 |
57 |
- sys-libs/zlib |
58 |
- virtual/jpeg:0 |
59 |
- virtual/opengl |
60 |
- x11-libs/libX11 |
61 |
- cg? ( media-gfx/nvidia-cg-toolkit ) |
62 |
- cuda? ( dev-util/nvidia-cuda-toolkit ) |
63 |
- glew? ( media-libs/glew:0= ) |
64 |
- glut? ( media-libs/freeglut ) |
65 |
- openexr? ( media-libs/openexr:= ) |
66 |
-" |
67 |
-DEPEND="${RDEPEND} |
68 |
- virtual/pkgconfig |
69 |
-" |
70 |
- |
71 |
-PATCHES=( |
72 |
- "${FILESDIR}/${P}-cg.patch" # fix bug #414509 |
73 |
- "${FILESDIR}/${P}-gcc-4.7.patch" # fix bug #423965 |
74 |
- "${FILESDIR}/${P}-openexr.patch" # fix bug #462494 |
75 |
- "${FILESDIR}/${P}-clang.patch" # fix clang build |
76 |
- "${FILESDIR}/${P}-cpp14.patch" # fix bug #594938 |
77 |
- "${WORKDIR}/patches" |
78 |
-) |
79 |
- |
80 |
-S="${WORKDIR}/${PN}" |
81 |
- |
82 |
-pkg_setup() { |
83 |
- if use cuda; then |
84 |
- if [[ $(( $(gcc-major-version) * 10 + $(gcc-minor-version) )) -gt 44 ]] ; then |
85 |
- eerror "gcc 4.5 and up are not supported for useflag cuda!" |
86 |
- die "gcc 4.5 and up are not supported for useflag cuda!" |
87 |
- fi |
88 |
- fi |
89 |
-} |
90 |
- |
91 |
-src_prepare() { |
92 |
- edos2unix cmake/* |
93 |
- cmake-utils_src_prepare |
94 |
-} |
95 |
- |
96 |
-src_configure() { |
97 |
- local mycmakeargs=( |
98 |
- -DLIBDIR=$(get_libdir) |
99 |
- -DNVTT_SHARED=TRUE |
100 |
- -DCG=$(usex cg) |
101 |
- -DCUDA=$(usex cuda) |
102 |
- -DGLEW=$(usex glew) |
103 |
- -DGLUT=$(usex glut) |
104 |
- -DOPENEXR=$(usex openexr) |
105 |
- ) |
106 |
- cmake-utils_src_configure |
107 |
-} |