From ff716ae3e8852218b24ff4c29a72a490459d5f22 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sun, 24 Jan 2021 12:35:32 +0100 Subject: media-libs/implicitmesher: update snapshot Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan --- media-libs/implicitmesher/Manifest | 1 + .../files/implicitmesher-0_glm.patch | 44 ++++++++++++---------- .../implicitmesher-0_p20191111.ebuild | 29 -------------- .../implicitmesher-0_p20200413.ebuild | 31 +++++++++++++++ 4 files changed, 56 insertions(+), 49 deletions(-) create mode 100644 media-libs/implicitmesher/Manifest delete mode 100644 media-libs/implicitmesher/implicitmesher-0_p20191111.ebuild create mode 100644 media-libs/implicitmesher/implicitmesher-0_p20200413.ebuild (limited to 'media-libs') diff --git a/media-libs/implicitmesher/Manifest b/media-libs/implicitmesher/Manifest new file mode 100644 index 000000000..2feca3fdf --- /dev/null +++ b/media-libs/implicitmesher/Manifest @@ -0,0 +1 @@ +DIST implicitmesher-0_p20200413.tar.gz 23224 BLAKE2B fd7d10406f56c88a42821b5aa9848d228317147e4a7d8283b13719ebd9a6e57fecc5b4fb140c1ae23da16e45f90332d9953d5daa1be80ec633c7c011342f00f5 SHA512 5641a44d8a02ef3868d23e92afb053556e775f5beeb5d618dabf7d3e3f19a0a597693134524be2d92387481306af89d8be54c1677fa61fa111dae72ed25b3ea4 diff --git a/media-libs/implicitmesher/files/implicitmesher-0_glm.patch b/media-libs/implicitmesher/files/implicitmesher-0_glm.patch index c3707e210..2f1841f4d 100644 --- a/media-libs/implicitmesher/files/implicitmesher-0_glm.patch +++ b/media-libs/implicitmesher/files/implicitmesher-0_glm.patch @@ -1,34 +1,38 @@ -Index: implicitmesher-0_p20191111/CMakeLists.txt -=================================================================== ---- implicitmesher-0_p20191111.orig/CMakeLists.txt -+++ implicitmesher-0_p20191111/CMakeLists.txt -@@ -3,19 +3,12 @@ set(name ImplicitMesher) +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d1a0cf3..f9013cb 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,7 +1,6 @@ + cmake_minimum_required (VERSION 3.5) + set(name ImplicitMesher) project(${name} VERSION 0.1.0) - - include(CTest) -include(OpticksBuildOptions) -- --include(GNUInstallDirs) --set(CMAKE_INSTALL_INCLUDEDIR "externals/include/${name}") --set(CMAKE_INSTALL_LIBDIR "externals/lib") --set(CMAKE_INSTALL_BINDIR "lib") --set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}") - find_package(BCM REQUIRED) - include(BCMDeploy) - #include(EchoTarget) + #[=[ + Hmm OpticksBuildOptions sets CMAKE_INSTALL_INCLUDEDIR to "include/${name}" +@@ -14,7 +13,7 @@ set(CMAKE_INSTALL_LIBDIR "externals/lib") + set(CMAKE_INSTALL_BINDIR "lib") + -find_package(GLM REQUIRED) -+find_package(glm REQUIRED) ++find_package(glm REQUIRED) set(SOURCES -@@ -45,7 +38,7 @@ set(HEADERS +@@ -44,7 +43,7 @@ set(HEADERS ) add_library(${name} SHARED ${SOURCES}) -target_link_libraries(${name} PUBLIC Opticks::GLM) +target_link_libraries(${name} PUBLIC glm) - # needed for tests that use non-installed headers - target_include_directories(${name} PUBLIC + if(UNIX AND NOT APPLE) + message(STATUS "adding stdc++ m for UNIX AND NOT APPLE") +@@ -74,7 +73,6 @@ if(PC_VERBOSE) + endif() + + +-bcm_deploy(TARGETS ${name} NAMESPACE Opticks:: SKIP_HEADER_INSTALL) + install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) + + add_subdirectory(tests) diff --git a/media-libs/implicitmesher/implicitmesher-0_p20191111.ebuild b/media-libs/implicitmesher/implicitmesher-0_p20191111.ebuild deleted file mode 100644 index 92156267e..000000000 --- a/media-libs/implicitmesher/implicitmesher-0_p20191111.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit mercurial cmake-utils - -EHG_REPO_URI="https://bitbucket.org/simoncblyth/${PN}" -EHG_REVISION="a087394946d788bfd35a20b4b07909fa62f76a7a" - -DESCRIPTION="Real-time implicit surface polygonization" -HOMEPAGE="https://bitbucket.org/simoncblyth/implicitmesher" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="media-libs/glm" -DEPEND="${RDEPEND}" - -PATCHES=( "${FILESDIR}"/implicitmesher-0_glm.patch ) - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_INCLUDEDIR=include/ImplicitMesher - ) - - cmake-utils_src_configure -} diff --git a/media-libs/implicitmesher/implicitmesher-0_p20200413.ebuild b/media-libs/implicitmesher/implicitmesher-0_p20200413.ebuild new file mode 100644 index 000000000..e6fae861d --- /dev/null +++ b/media-libs/implicitmesher/implicitmesher-0_p20200413.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +COMMIT="4b7a47056074" + +DESCRIPTION="Real-time implicit surface polygonization" +HOMEPAGE="https://bitbucket.org/simoncblyth/implicitmesher" +SRC_URI="https://bitbucket.org/simoncblyth/implicitmesher/get/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="media-libs/glm" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/simoncblyth-${PN}-${COMMIT}" + +PATCHES=( "${FILESDIR}"/implicitmesher-0_glm.patch ) + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_INCLUDEDIR=include/ImplicitMesher + ) + + cmake_src_configure +} -- cgit v1.2.3-65-gdbad