From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C429A138334 for ; Sun, 1 Dec 2019 04:37:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8202E084E; Sun, 1 Dec 2019 04:37:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8AD74E084E for ; Sun, 1 Dec 2019 04:37:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2705334D637 for ; Sun, 1 Dec 2019 04:37:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D30098C6 for ; Sun, 1 Dec 2019 04:37:20 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1575174926.4be0e2ffbed7ec50f59a29b1fb0c17626a59a497.heroxbd@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: media-libs/DualContouringSample/files/, media-libs/DualContouringSample/ X-VCS-Repository: proj/sci X-VCS-Files: media-libs/DualContouringSample/DualContouringSample-0_p20191111.ebuild media-libs/DualContouringSample/files/DualContouringSample-0_glm.patch media-libs/DualContouringSample/metadata.xml X-VCS-Directories: media-libs/DualContouringSample/files/ media-libs/DualContouringSample/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 4be0e2ffbed7ec50f59a29b1fb0c17626a59a497 X-VCS-Branch: master Date: Sun, 1 Dec 2019 04:37:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3ede0b5d-a861-4264-b842-62ff230502ca X-Archives-Hash: cc69950d1993de5b2dd00749252ca799 commit: 4be0e2ffbed7ec50f59a29b1fb0c17626a59a497 Author: Benda Xu gentoo org> AuthorDate: Sun Dec 1 03:57:31 2019 +0000 Commit: Benda XU gentoo org> CommitDate: Sun Dec 1 04:35:26 2019 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=4be0e2ff media-libs/DualContouringSample: initial commit of 0_p20191111 This is included as a dependency of sci-physics/opticks. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Benda Xu gentoo.org> .../DualContouringSample-0_p20191111.ebuild | 28 ++++++++++++++++++ .../files/DualContouringSample-0_glm.patch | 33 ++++++++++++++++++++++ media-libs/DualContouringSample/metadata.xml | 7 +++++ 3 files changed, 68 insertions(+) diff --git a/media-libs/DualContouringSample/DualContouringSample-0_p20191111.ebuild b/media-libs/DualContouringSample/DualContouringSample-0_p20191111.ebuild new file mode 100644 index 000000000..4caa506bb --- /dev/null +++ b/media-libs/DualContouringSample/DualContouringSample-0_p20191111.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils git-r3 + +DESCRIPTION="A sample Dual Contouring implementation" +HOMEPAGE="https://github.com/simoncblyth/DualContouringSample" + +EGIT_REPO_URI="https://github.com/simoncblyth/${PN}.git" +EGIT_COMMIT="d5ed08c21228575f948292422cd8542cbdce255c" +KEYWORDS="~amd64" + +LICENSE="GPL-3" +SLOT="0" + +DEPEND="dev-util/bcm" + +PATCHES=( "${FILESDIR}"/DualContouringSample-0_glm.patch ) + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_INCLUDEDIR=include/${PN} + ) + + cmake-utils_src_configure +} diff --git a/media-libs/DualContouringSample/files/DualContouringSample-0_glm.patch b/media-libs/DualContouringSample/files/DualContouringSample-0_glm.patch new file mode 100644 index 000000000..efa40b66e --- /dev/null +++ b/media-libs/DualContouringSample/files/DualContouringSample-0_glm.patch @@ -0,0 +1,33 @@ +Index: DualContouringSample-0_p20191111/CMakeLists.txt +=================================================================== +--- DualContouringSample-0_p20191111.orig/CMakeLists.txt ++++ DualContouringSample-0_p20191111/CMakeLists.txt +@@ -3,18 +3,11 @@ set(name DualContouringSample) + 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) + +-find_package(GLM REQUIRED) ++find_package(glm REQUIRED) + + + set(SOURCES +@@ -37,7 +30,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 diff --git a/media-libs/DualContouringSample/metadata.xml b/media-libs/DualContouringSample/metadata.xml new file mode 100644 index 000000000..7203fb853 --- /dev/null +++ b/media-libs/DualContouringSample/metadata.xml @@ -0,0 +1,7 @@ + + + + + heroxbd@gentoo.org + +