diff options
author | Bernd Waibel <waebbl-gentoo@posteo.net> | 2022-12-13 07:19:25 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-12-30 11:49:05 +0100 |
commit | 4e2d42e618ade8e4d1f5043e4f3fe55343912711 (patch) | |
tree | 7cfb75085f567b3fc5d7786c0c3b8452b8a9e14d | |
parent | dev-python/archspec: new package, add 0.1.4 (diff) | |
download | sci-4e2d42e6.tar.gz sci-4e2d42e6.tar.bz2 sci-4e2d42e6.zip |
media-gfx/netgen: drop 6.2.2105
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
-rw-r--r-- | media-gfx/netgen/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/netgen/files/netgen-6.2.2105-find-tk.patch | 35 | ||||
-rw-r--r-- | media-gfx/netgen/netgen-6.2.2105.ebuild | 102 |
3 files changed, 0 insertions, 138 deletions
diff --git a/media-gfx/netgen/Manifest b/media-gfx/netgen/Manifest index 5a2cfb72a..51e722f4d 100644 --- a/media-gfx/netgen/Manifest +++ b/media-gfx/netgen/Manifest @@ -1,2 +1 @@ -DIST netgen-6.2.2105.tar.gz 3372181 BLAKE2B 73ce8aff6e73a6a0ab79b0511c6c32c41240b9b6a743b8132cf27565b3c9f68820ad8337a9e761a37b74ffd7623a0321495a31dd868986ab4b90ff0dde66e9a8 SHA512 ed2727b7779af1ba564b0a7d9cc52fad5d3dccd478dcb71a4a77c7b9768a17eedfb6bfc2555f839cf592a7fc4ded5057f0e649239582e3d366d37ccfd030f4e9 DIST netgen-6.2.2204.tar.gz 3394806 BLAKE2B 2b99854cab0890662f1ab7ffee6fb444b60a28ba0bfe9970a89c80c0e4c930c40b8034f9c600ddd61c9b60f542d1cae758a8c220a1ba76949bf9f97fb2fe9020 SHA512 964c40753613c111b0372b0e403b19734cc0c559d1e7e45bbe6b452f4daba10c6bde8abaa5c9541c92b4bccff02d32ea6ba8e8e06ba64f11fec1733f2e374cbf diff --git a/media-gfx/netgen/files/netgen-6.2.2105-find-tk.patch b/media-gfx/netgen/files/netgen-6.2.2105-find-tk.patch deleted file mode 100644 index c638d83a7..000000000 --- a/media-gfx/netgen/files/netgen-6.2.2105-find-tk.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index dcc24af..24f444e 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -246,7 +246,8 @@ if (USE_GUI) - - add_definitions(-DTCL -DOPENGL -DUSE_TOGL_2) - include_directories(${TCL_INCLUDE_PATH}) -- include_directories(${TK_INCLUDE_PATH}) -+ include_directories(${TK_INCLUDE_PATH}/generic) -+ include_directories(${TK_INCLUDE_PATH}/unix) - set(LIBTOGL togl) - - if(WIN32) -@@ -268,7 +269,7 @@ else() - endif() - - if (USE_PYTHON) -- add_subdirectory(external_dependencies/pybind11) -+ find_package(pybind11) - find_path(PYBIND_INCLUDE_DIR pybind11/pybind11.h HINTS ${PYTHON_INCLUDE_DIR}) - if( PYBIND_INCLUDE_DIR ) - message(STATUS "Found Pybind11: ${PYBIND_INCLUDE_DIR}") -diff --git a/cmake/SuperBuild.cmake b/cmake/SuperBuild.cmake -index c24b631..2354a09 100644 ---- a/cmake/SuperBuild.cmake -+++ b/cmake/SuperBuild.cmake -@@ -39,7 +39,6 @@ endif(NOT WIN32) - ####################################################################### - if (USE_PYTHON) - find_path(PYBIND_INCLUDE_DIR pybind11/pybind11.h PATHS ${CMAKE_CURRENT_SOURCE_DIR}/external_dependencies/pybind11/include NO_DEFAULT_PATH) -- set(NG_INSTALL_PYBIND ON) - if( NOT PYBIND_INCLUDE_DIR ) - # if the pybind submodule is missing, try to initialize and update all submodules - execute_process(COMMAND git submodule update --init --recursive WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/media-gfx/netgen/netgen-6.2.2105.ebuild b/media-gfx/netgen/netgen-6.2.2105.ebuild deleted file mode 100644 index ed85bcb69..000000000 --- a/media-gfx/netgen/netgen-6.2.2105.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -inherit cmake desktop python-single-r1 xdg - -DESCRIPTION="Automatic 3d tetrahedral mesh generator" -HOMEPAGE="https://ngsolve.org/ https://github.com/NGSolve/netgen" -SRC_URI="https://github.com/NGSolve/netgen/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -SLOT="0" -LICENSE="LGPL-2.1" -KEYWORDS="~amd64 ~x86" - -IUSE="ffmpeg jpeg mpi opencascade openmp python +gui" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND=" - dev-lang/tcl:0/8.6 - dev-lang/tk:0/8.6 - dev-tcltk/tix - dev-tcltk/togl:0 - gui? ( - virtual/opengl - x11-libs/libX11 - x11-libs/libXmu - ) - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/pybind11[${PYTHON_USEDEP}] - dev-python/pybind11-stubgen[${PYTHON_USEDEP}] - ' - ) - mpi? ( - $(python_gen_cond_dep 'dev-python/mpi4py[${PYTHON_USEDEP}]' ) - ) - ) - opencascade? ( sci-libs/opencascade:* ) - ffmpeg? ( media-video/ffmpeg ) - jpeg? ( media-libs/libjpeg-turbo:0= ) - mpi? ( virtual/mpi sci-libs/parmetis opencascade? ( sci-libs/hdf5[mpi] ) ) -" -RDEPEND="${DEPEND}" -BDEPEND="dev-vcs/git" - -PATCHES=( "${FILESDIR}/${P}-find-tk.patch" ) - -src_prepare() { - # https://github.com/NGSolve/netgen/issues/72 - git init -q || die - git config --global user.email "you@example.com" || die - git config --global user.name "Your Name" || die - git add . || die - git commit -qm 'init' || die - git tag "${PV}" || die - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DUSE_MPI="$(usex mpi)" - -DUSE_JPEG="$(usex jpeg)" - -DUSE_MPEG="$(usex ffmpeg)" - -DUSE_GUI="$(usex gui)" - -DUSE_OCC="$(usex opencascade)" - -DUSE_PYTHON="$(usex python)" - -DTK_INCLUDE_PATH="/usr/$(get_libdir)/tk8.6/include" - -DNG_INSTALL_DIR_LIB="$(get_libdir)" - -DINSTALL_PROFILES=ON - -DUSE_INTERNAL_TCL=OFF - ) - if use python; then - mycmakeargs+=( - -DPYBIND_INCLUDE_DIR="/usr/lib/${EPYTHON}/site-packages/pybind11/include/" - -DNG_INSTALL_PYBIND=OFF - ) - fi - if use mpi && use python; then - mycmakeargs+=( -DUSE_MPI4PY=ON ) - else - mycmakeargs+=( -DUSE_MPI4PY=OFF ) - fi - cmake_src_configure -} - -src_install() { - cmake_src_install - local NETGENDIR="/usr/share/netgen" - - echo -e "NETGENDIR=${NETGENDIR} \nLDPATH=/usr/$(get_libdir)/Togl2.0" > ./99netgen - doenvd 99netgen - - mv "${D}"/usr/bin/{*.tcl,*.ocf} "${D}${NETGENDIR}" || die - - # Install icon and .desktop for menu entry - doicon "${FILESDIR}"/${PN}.png - domenu "${FILESDIR}"/${PN}.desktop -} |