media-gfx/nvidia-texture-tools: Drop old
authorMikle Kolyada <zlogene@gentoo.org>
Fri, 15 Feb 2019 18:32:06 +0000 (21:32 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Fri, 15 Feb 2019 18:32:26 +0000 (21:32 +0300)
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

media-gfx/nvidia-texture-tools/metadata.xml
media-gfx/nvidia-texture-tools/nvidia-texture-tools-2.0.8-r3.ebuild [deleted file]

index 0d4c5582813805d12e2ebe65881a78e331e82d14..20324d728bf06d69e641522b418087a6165ad7e4 100644 (file)
@@ -4,7 +4,6 @@
        <!-- maintainer-needed -->
        <use>
                <flag name="cg">Enable NVIDIA C graphics compiler toolkit plug-in</flag>
-               <flag name="cuda">Enable NVIDIA CUDA toolkit support</flag>
                <flag name="glew">Enable support for The OpenGL Extension Wrangler Library (<pkg>media-libs/glew</pkg>)</flag>
        </use>
 </pkgmetadata>
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
deleted file mode 100644 (file)
index d8f2a46..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils eutils
-
-DESCRIPTION="A set of cuda-enabled texture tools and compressors"
-HOMEPAGE="http://developer.nvidia.com/object/texture_tools.html"
-SRC_URI="https://${PN}.googlecode.com/files/${P}-1.tar.gz
-       https://dev.gentoo.org/~soap/distfiles/${P}-patchset-1-r1.tar.xz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="cg cuda glew glut openexr"
-
-RDEPEND="
-       media-libs/ilmbase:=
-       media-libs/libpng:0=
-       media-libs/tiff:0
-       sys-libs/zlib
-       virtual/jpeg:0
-       virtual/opengl
-       x11-libs/libX11
-       cg? ( media-gfx/nvidia-cg-toolkit )
-       cuda? ( dev-util/nvidia-cuda-toolkit )
-       glew? ( media-libs/glew:0= )
-       glut? ( media-libs/freeglut )
-       openexr? ( media-libs/openexr:= )
-"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig
-"
-
-PATCHES=(
-       "${FILESDIR}/${P}-cg.patch" # fix bug #414509
-       "${FILESDIR}/${P}-gcc-4.7.patch" # fix bug #423965
-       "${FILESDIR}/${P}-openexr.patch" # fix bug #462494
-       "${FILESDIR}/${P}-clang.patch" # fix clang build
-       "${FILESDIR}/${P}-cpp14.patch" # fix bug #594938
-       "${WORKDIR}/patches"
-)
-
-S="${WORKDIR}/${PN}"
-
-pkg_setup() {
-       if use cuda; then
-               if [[ $(( $(gcc-major-version) * 10 + $(gcc-minor-version) )) -gt 44 ]] ; then
-                       eerror "gcc 4.5 and up are not supported for useflag cuda!"
-                       die "gcc 4.5 and up are not supported for useflag cuda!"
-               fi
-       fi
-}
-
-src_prepare() {
-       edos2unix cmake/*
-       cmake-utils_src_prepare
-}
-
-src_configure() {
-       local mycmakeargs=(
-               -DLIBDIR=$(get_libdir)
-               -DNVTT_SHARED=TRUE
-               -DCG=$(usex cg)
-               -DCUDA=$(usex cuda)
-               -DGLEW=$(usex glew)
-               -DGLUT=$(usex glut)
-               -DOPENEXR=$(usex openexr)
-       )
-       cmake-utils_src_configure
-}