diff options
author | Bernd Waibel <waebbl-gentoo@posteo.net> | 2022-10-25 13:47:06 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-30 09:41:01 +0000 |
commit | c7f74a47af6241528b895cbad48325edcb396856 (patch) | |
tree | 9d3c1e2623038655044d2fce22b3fe8bbacf80fe /media-gfx/yafaray | |
parent | sys-libs/libseccomp: Rebase libseccomp-python-shared.patch (diff) | |
download | gentoo-c7f74a47af6241528b895cbad48325edcb396856.tar.gz gentoo-c7f74a47af6241528b895cbad48325edcb396856.tar.bz2 gentoo-c7f74a47af6241528b895cbad48325edcb396856.zip |
media-gfx/yafaray: drop 3.4.1
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/yafaray')
-rw-r--r-- | media-gfx/yafaray/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/yafaray/files/yafaray-3.4.1-0001-Respect-user-pre-defined-CXXFLAGS.patch | 35 | ||||
-rw-r--r-- | media-gfx/yafaray/yafaray-3.4.1.ebuild | 114 |
3 files changed, 0 insertions, 150 deletions
diff --git a/media-gfx/yafaray/Manifest b/media-gfx/yafaray/Manifest index e5363adde333..f10e833aaf1d 100644 --- a/media-gfx/yafaray/Manifest +++ b/media-gfx/yafaray/Manifest @@ -1,2 +1 @@ DIST yafaray-3.5.1.tar.gz 1136455 BLAKE2B 6002f3b96f3626b83f57015eaf3ddd53dcb6b6fd863277912f7fec06e4f176ec81dc48b889a068e6259edf17727dd04d4b1bbc51b571bfe6aad5e48148201e2e SHA512 3ead4d8becd2d524aa5bb4bbde4b9d98b56f8a38d872e7aa49ba19081094406336def02e9bf1503e424ca8e6cade0db4b042214cea8f9345bd4fc542c9346dbe -DIST yafaray-core-3.4.1.tar.gz 1136077 BLAKE2B a2ce3945f52315084ee744ff4a6733255018196f0000ca6b1786fbd2ec49ade64cb62e98dfba95dca4dec361f47235d59a8c9bd95ee7d095214fc0afbdcb1ee4 SHA512 a9116273fbc2aaaadbc38a65b1eaaa502070ff06f8a2929e880714a9db57188e65cf319c20a3f96e08146af36a67aea139709a633eb024be65319a64330e6f68 diff --git a/media-gfx/yafaray/files/yafaray-3.4.1-0001-Respect-user-pre-defined-CXXFLAGS.patch b/media-gfx/yafaray/files/yafaray-3.4.1-0001-Respect-user-pre-defined-CXXFLAGS.patch deleted file mode 100644 index 90b2786c3c54..000000000000 --- a/media-gfx/yafaray/files/yafaray-3.4.1-0001-Respect-user-pre-defined-CXXFLAGS.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 2f77edf05ed02955dc08821f322a529063dbfa28 Mon Sep 17 00:00:00 2001 -From: Bernd Waibel <waebbl@gmail.com> -Date: Sun, 19 Apr 2020 15:39:45 +0200 -Subject: [PATCH] Respect user pre-defined CXXFLAGS - -Signed-off-by: Bernd Waibel <waebbl@gmail.com> ---- - CMakeLists.txt | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 047456f..6733b7d 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -224,7 +224,7 @@ if(NOT WIN32) - endif(NOT YAF_BINDINGS_RUBY_DIR) - - # build flags -- set(CMAKE_CXX_FLAGS "-Wall" CACHE STRING "Default compiler flags" FORCE) -+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall" CACHE STRING "Default compiler flags" FORCE) - - if(USER_RELEASE_OPTIMIZATION_FLAGS) - set(YAF_CXX_FLAGS_RELEASE ${USER_RELEASE_OPTIMIZATION_FLAGS}) -@@ -263,7 +263,7 @@ else(NOT WIN32) - - # build flags - if(MINGW) -- set(CMAKE_CXX_FLAGS "-Wall" CACHE STRING "Default compiler flags" FORCE) -+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall" CACHE STRING "Default compiler flags" FORCE) - - if(USER_RELEASE_OPTIMIZATION_FLAGS) - set(YAF_CXX_FLAGS_RELEASE ${USER_RELEASE_OPTIMIZATION_FLAGS}) --- -2.26.1 - diff --git a/media-gfx/yafaray/yafaray-3.4.1.ebuild b/media-gfx/yafaray/yafaray-3.4.1.ebuild deleted file mode 100644 index 4efd96180ca1..000000000000 --- a/media-gfx/yafaray/yafaray-3.4.1.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) - -# doesn't build with ninja when qt5 and python USE flags are both enabled -CMAKE_MAKEFILE_GENERATOR="emake" - -inherit cmake flag-o-matic python-single-r1 - -DESCRIPTION="A free open-source montecarlo raytracing engine" -HOMEPAGE="http://www.yafaray.org" -SRC_URI="https://github.com/YafaRay/Core/archive/v${PV}.tar.gz -> ${PN}-core-${PV}.tar.gz" - -S="${WORKDIR}/Core-${PV}" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+fastmath +fasttrig jpeg opencv openexr png +python qt5 tiff truetype" -RESTRICT="test" - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -# Note: according to upstream, the blender plugin doesn't work with blender-2.8 (yet). -RDEPEND=" - dev-libs/boost:=[nls] - dev-libs/libxml2:2 - sys-libs/zlib - jpeg? ( virtual/jpeg:0 ) - opencv? ( >=media-libs/opencv-3.1.0:= ) - openexr? ( >=media-libs/openexr-2.2.0:= ) - png? ( media-libs/libpng:0= ) - python? ( ${PYTHON_DEPS} ) - qt5? ( dev-qt/qtwidgets:5 ) - tiff? ( media-libs/tiff:0 ) - truetype? ( media-libs/freetype:2 ) -" -DEPEND="${RDEPEND}" -BDEPEND="python? ( dev-lang/swig )" - -PATCHES=( - "${FILESDIR}/${P}-0001-Respect-user-pre-defined-CXXFLAGS.patch" -) - -DOCS=( AUTHORS CHANGELOG CODING INSTALL README ) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - append-flags -pthread - append-ldflags -pthread - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - # enabling BLENDER_ADDON doesn't build anything, but set's some wierd - # installation paths, so keep it off and install the files manually. - -DBLENDER_ADDON=OFF - -DCMAKE_SKIP_RPATH=ON # NULL DT_RUNPATH security problem - -DFAST_MATH=$(usex fastmath) - -DFAST_TRIG=$(usex fasttrig) - -DWITH_Freetype=$(usex truetype) - -DWITH_JPEG=$(usex jpeg) - -DWITH_OpenCV=$(usex opencv) - -DWITH_OpenEXR=$(usex openexr) - -DWITH_PNG=$(usex png) - -DWITH_QT=$(usex qt5) - -DWITH_TIFF=$(usex tiff) - -DWITH_XML_LOADER=ON # internal - -DWITH_YAF_PY_BINDINGS=$(usex python) - -DWITH_YAF_RUBY_BINDINGS=OFF - -DYAF_LIB_DIR=$(get_libdir) - ) - - if use python; then - mycmakeargs+=( -DYAF_PY_VERSION=${EPYTHON#python} ) - fi - - cmake_src_configure -} - -src_install() { - cmake_src_install - - if use python; then - python_domodule "${BUILD_DIR}/src/bindings/yafaray_v3_interface.py" - mv "${ED}"/usr/$(get_libdir)/_yafaray_v3_interface.so "${ED}"/$(python_get_sitedir)/ || die - rm -v "${ED}"/usr/$(get_libdir)/yafaray_v3_interface.py || die - - if use qt5; then - python_domodule "${BUILD_DIR}/src/bindings/yafqt.py" - mv "${ED}"/usr/$(get_libdir)/_yafqt.so "${ED}"/$(python_get_sitedir)/ || die - rm -v "${ED}"/usr/$(get_libdir)/yafqt.py || die - fi - fi - - rm -rv "${ED}"/usr/share/doc/${PN} || die -} - -pkg_postinst() { - einfo "To confirm your installation is working as expected, run" - einfo "yafaray-xml with /usr/share/yafaray/tests/test01/test01.xml" - einfo "as an input file, then compare the result to" - einfo "'/usr/share/yafaray/tests/test01/test01 - expected render result.png'" -} |