diff options
author | Bernd Waibel <waebbl-gentoo@posteo.net> | 2021-03-26 17:36:25 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-03-31 09:29:14 +0300 |
commit | 7e7987b872728dfbb033d5ec3b75ef0c017020ff (patch) | |
tree | 5456c47cf63f78cac2106d62062570bf92400ddb /media-gfx | |
parent | net-analyzer/openvas-scanner: fix build with lld (diff) | |
download | gentoo-7e7987b872728dfbb033d5ec3b75ef0c017020ff.tar.gz gentoo-7e7987b872728dfbb033d5ec3b75ef0c017020ff.tar.bz2 gentoo-7e7987b872728dfbb033d5ec3b75ef0c017020ff.zip |
media-gfx/openexr_viewers: last rite
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-gfx')
5 files changed, 0 insertions, 188 deletions
diff --git a/media-gfx/openexr_viewers/Manifest b/media-gfx/openexr_viewers/Manifest deleted file mode 100644 index dd864f9214f5..000000000000 --- a/media-gfx/openexr_viewers/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST openexr_viewers-2.3.0.tar.gz 532154 BLAKE2B 353c69a6efbdab6ef7669f531be22b34c11cce3cc790b513eb99d323fc5e1827cb4b0656eab2db61ee89f01c02169c3c855cc4222275964156f31928ae08e015 SHA512 2b7ce7c75733f390bec5c3f9c49edc08da2631e3a45ae20a732dddf9fd813137c3124d0c6e90450fa2b9068f0c40c76374ee7ff9cf0d8697080b2b180c624c5d diff --git a/media-gfx/openexr_viewers/files/openexr_viewers-2.3.0--with-cg-libdir.patch b/media-gfx/openexr_viewers/files/openexr_viewers-2.3.0--with-cg-libdir.patch deleted file mode 100644 index 9d118e362d4c..000000000000 --- a/media-gfx/openexr_viewers/files/openexr_viewers-2.3.0--with-cg-libdir.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/m4/path.cb.m4 b/m4/path.cb.m4 -index 7e38708..b5675b1 100644 ---- a/m4/path.cb.m4 -+++ b/m4/path.cb.m4 -@@ -10,9 +10,17 @@ dnl - AC_ARG_WITH(cg-prefix,[ --with-cg-prefix=PFX Prefix where Cg is installed (optional)], - cg_prefix="$withval", cg_prefix="") - -+AC_ARG_WITH(cg-libdir, [ --with-cg-libdir=PATH Directory where Cg libraries are installed (optional)], -+ cg_libdir="$withval", cg_libdir="") -+ - if test x$cg_prefix != x ; then - CG_CXXFLAGS="-I$cg_prefix/include" -- CG_LDFLAGS="-L$cg_prefix/lib -lGL -lCg -lCgGL -lGLU -lpthread -lglut" -+ if test x$cg_libdir != x; then -+ CG_LDFLAGS="-L$cg_libdir" -+ else -+ CG_LDFLAGS="-L$cg_prefix/lib" -+ fi -+ CG_LDFLAGS="$CG_LDFLAGS -lGL -lCg -lCgGL -lGLU -lpthread -lglut" - else - case $host_os in - darwin*) diff --git a/media-gfx/openexr_viewers/files/openexr_viewers-2.3.0-fix-configure.patch b/media-gfx/openexr_viewers/files/openexr_viewers-2.3.0-fix-configure.patch deleted file mode 100644 index f9d51d5045b6..000000000000 --- a/media-gfx/openexr_viewers/files/openexr_viewers-2.3.0-fix-configure.patch +++ /dev/null @@ -1,83 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 0ae7531..f2cdfee 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -4,8 +4,7 @@ AC_SUBST(OPENEXR_VIEWERS_VERSION, 2.3.0) - AC_CANONICAL_HOST - AC_CONFIG_SRCDIR(playexr/main.cpp) - AM_CONFIG_HEADER(config/OpenEXR_ViewersConfig.h) --AM_INIT_AUTOMAKE(1.6.3) dnl Require automake 1.6.3 or better --AM_MAINTAINER_MODE -+AM_INIT_AUTOMAKE - - - LIBTOOL_CURRENT=24 -@@ -19,7 +18,7 @@ AC_PROG_CXX - AC_PROG_INSTALL - AC_PROG_CC - AC_PROG_LN_S --AC_PROG_LIBTOOL -+LT_INIT - AC_PROG_MAKE_SET - - dnl -@@ -124,19 +109,8 @@ AC_ARG_ENABLE(threading, - [multithread="${enableval}"], [multithread=yes]) - - if test x$PKG_CONFIG == xno && test "x${multithread}" != xno ; then -- ACX_PTHREAD( -- [ -- AC_DEFINE(HAVE_PTHREAD) -- OPENEXR_LIBS="$PTHREAD_LIBS $OPENEXR_LIBS" -- OPENEXR_CXXFLAGS="$OPENEXR_CXXFLAGS $PTHREAD_CFLAGS" -- OPENEXR_CTL_LIBS="$PTHREAD_LIBS $OPENEXR_CTL_LIBS" -- OPENEXR_CTL_CXXFLAGS="$OPENEXR_CTL_CXXFLAGS $PTHREAD_CFLAGS" -- CC="$PTHREAD_CC" -- -- AM_POSIX_SEM() -- ], -- [AC_MSG_ERROR([POSIX thread support required])]) -- AC_MSG_NOTICE([multithread true, LIBS = $LIBS, CC = $CC, CXXFLAGS = $CXXFLAGS]) -+ AX_PTHREAD -+ AC_DEFINE([HAVE_PTHREAD], [1], [define if POSIX thread support is available]) - fi - - -@@ -233,10 +155,13 @@ AM_PATH_FLTK(have_fltk=yes, have_fltk=no) - dnl - dnl check for Cg - dnl --if test "${have_fltk}" = yes; then -+AC_ARG_ENABLE(cg, AS_HELP_STRING([--enable-cg], -+ [enable nvidia cg support [[default: test]]]), [want_cg="${enableval}"], [want_cg=yes]) -+ -+if test "${have_fltk}" = yes -a "${want_cg}" != no; then - AM_PATH_CG(have_cg=yes, have_cg=no) - if test "${have_cg}" = yes; then -- AC_DEFINE(HAVE_FRAGMENT_SHADERS) -+ AC_DEFINE([HAVE_FRAGMENT_SHADERS], [1], [define if Cg support is available]) - fi - else have_cg=no - fi -@@ -251,20 +176,10 @@ AC_C_CONST - AC_C_INLINE - AC_TYPE_SIZE_T - --dnl gcc optimization --AC_MSG_CHECKING(for gcc optimization flags) --old_cflags=$CFLAGS --CFLAGS="$CFLAGS -pipe" --AC_TRY_COMPILE([#include <stdio.h>], --[ printf ("hello, world"); ], --[ EXTRA_OPT_CFLAGS="-pipe"],[ EXTRA_OPT_CFLAGS=""]) --CFLAGS=$old_cflags --AC_MSG_RESULT([$EXTRA_OPT_CFLAGS]) -- - dnl Platform-specific stuff - case "$host" in - *darwin*) -- AC_DEFINE(HAVE_DARWIN) -+ AC_DEFINE([HAVE_DARWIN], [1], [define if compiling on darwin platform (OSX)]) - - dnl OS X universal binary support, requires --disable-dependency-tracking - AC_ARG_ENABLE(osx-universal-binaries, diff --git a/media-gfx/openexr_viewers/metadata.xml b/media-gfx/openexr_viewers/metadata.xml deleted file mode 100644 index 80b95a6d4e5c..000000000000 --- a/media-gfx/openexr_viewers/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>media-video@gentoo.org</email> - </maintainer> - <use> - <flag name="cg">Add support for nvidia's cg shaders</flag> - </use> - <upstream> - <remote-id type="github">openexr/openexr</remote-id> - </upstream> -</pkgmetadata> diff --git a/media-gfx/openexr_viewers/openexr_viewers-2.3.0.ebuild b/media-gfx/openexr_viewers/openexr_viewers-2.3.0.ebuild deleted file mode 100644 index 3c0b4ab63350..000000000000 --- a/media-gfx/openexr_viewers/openexr_viewers-2.3.0.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools flag-o-matic - -DESCRIPTION="OpenEXR Viewers" -HOMEPAGE="https://www.openexr.com/" -SRC_URI="https://github.com/openexr/openexr/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="cg" - -RDEPEND=" - ~media-libs/ilmbase-${PV}:= - ~media-libs/openexr-${PV}:= - virtual/opengl - x11-libs/fltk:1[opengl] - cg? ( media-gfx/nvidia-cg-toolkit ) -" - -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" - -DOCS=( ChangeLog README.md ) - -PATCHES=( - "${FILESDIR}/${P}-fix-configure.patch" - "${FILESDIR}/${P}--with-cg-libdir.patch" -) - -src_prepare() { - default - sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die - eautoreconf -} - -src_configure() { - local myeconfargs=( - --disable-openexrctltest - --with-fltk-config="/usr/bin/fltk-config" - ) - - if use cg; then - myeconfargs+=( - --enable-cg - --with-cg-prefix="/opt/nvidia-cg-toolkit" - --with-cg-libdir="/opt/nvidia-cg-toolkit/$(get_libdir)" - ) - append-ldflags "$(no-as-needed)" # binary-only libCg is not properly linked - fi - - econf "${myeconfargs[@]}" -} - -src_install() { - emake \ - DESTDIR="${D}" \ - docdir=/usr/share/doc/${PF}/pdf \ - install - - einstalldocs -} |