[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/

2022-01-23 Thread Andrew Ammerlaan
commit: 6cadf8b1f8ea93759d76d287e74f5d10a98880d2
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Jan 23 12:50:34 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Jan 23 12:50:34 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6cadf8b1

media-libs/yocto-gl: remove opticks lib

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/yocto-gl/metadata.xml  |  7 --
 media-libs/yocto-gl/yocto-gl-3.3.0.ebuild | 39 ---
 2 files changed, 46 deletions(-)

diff --git a/media-libs/yocto-gl/metadata.xml b/media-libs/yocto-gl/metadata.xml
deleted file mode 100644
index 7203fb853..0
--- a/media-libs/yocto-gl/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd";>
-
-   
-   hero...@gentoo.org
-   
-

diff --git a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild 
b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
deleted file mode 100644
index e6102dde1..0
--- a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="dev-python/mkdocs-material"
-
-inherit cmake python-any-r1 docs
-
-DESCRIPTION="Single File Libraries for Physically-Based Graphics"
-HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
-SRC_URI="https://github.com/xelatihy/yocto-gl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-util/bcm"
-
-src_prepare() {
-   sed -i -e 's/isnan/std::isnan/g' libs/yocto/yocto_mesh.cpp || die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
-   )
-
-   cmake_src_configure
-}
-
-src_compile() {
-   docs_compile
-   cmake_src_compile
-}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/

2022-01-23 Thread Andrew Ammerlaan
commit: 6cadf8b1f8ea93759d76d287e74f5d10a98880d2
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Jan 23 12:50:34 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Jan 23 12:50:34 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6cadf8b1

media-libs/yocto-gl: remove opticks lib

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/yocto-gl/metadata.xml  |  7 --
 media-libs/yocto-gl/yocto-gl-3.3.0.ebuild | 39 ---
 2 files changed, 46 deletions(-)

diff --git a/media-libs/yocto-gl/metadata.xml b/media-libs/yocto-gl/metadata.xml
deleted file mode 100644
index 7203fb853..0
--- a/media-libs/yocto-gl/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd";>
-
-   
-   hero...@gentoo.org
-   
-

diff --git a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild 
b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
deleted file mode 100644
index e6102dde1..0
--- a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="dev-python/mkdocs-material"
-
-inherit cmake python-any-r1 docs
-
-DESCRIPTION="Single File Libraries for Physically-Based Graphics"
-HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
-SRC_URI="https://github.com/xelatihy/yocto-gl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-util/bcm"
-
-src_prepare() {
-   sed -i -e 's/isnan/std::isnan/g' libs/yocto/yocto_mesh.cpp || die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
-   )
-
-   cmake_src_configure
-}
-
-src_compile() {
-   docs_compile
-   cmake_src_compile
-}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/

2022-01-23 Thread Andrew Ammerlaan
commit: 6cadf8b1f8ea93759d76d287e74f5d10a98880d2
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Jan 23 12:50:34 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Jan 23 12:50:34 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6cadf8b1

media-libs/yocto-gl: remove opticks lib

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/yocto-gl/metadata.xml  |  7 --
 media-libs/yocto-gl/yocto-gl-3.3.0.ebuild | 39 ---
 2 files changed, 46 deletions(-)

diff --git a/media-libs/yocto-gl/metadata.xml b/media-libs/yocto-gl/metadata.xml
deleted file mode 100644
index 7203fb853..0
--- a/media-libs/yocto-gl/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd";>
-
-   
-   hero...@gentoo.org
-   
-

diff --git a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild 
b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
deleted file mode 100644
index e6102dde1..0
--- a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="dev-python/mkdocs-material"
-
-inherit cmake python-any-r1 docs
-
-DESCRIPTION="Single File Libraries for Physically-Based Graphics"
-HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
-SRC_URI="https://github.com/xelatihy/yocto-gl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-util/bcm"
-
-src_prepare() {
-   sed -i -e 's/isnan/std::isnan/g' libs/yocto/yocto_mesh.cpp || die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
-   )
-
-   cmake_src_configure
-}
-
-src_compile() {
-   docs_compile
-   cmake_src_compile
-}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/

2022-01-23 Thread Andrew Ammerlaan
commit: 6cadf8b1f8ea93759d76d287e74f5d10a98880d2
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Jan 23 12:50:34 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Jan 23 12:50:34 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6cadf8b1

media-libs/yocto-gl: remove opticks lib

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/yocto-gl/metadata.xml  |  7 --
 media-libs/yocto-gl/yocto-gl-3.3.0.ebuild | 39 ---
 2 files changed, 46 deletions(-)

diff --git a/media-libs/yocto-gl/metadata.xml b/media-libs/yocto-gl/metadata.xml
deleted file mode 100644
index 7203fb853..0
--- a/media-libs/yocto-gl/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd";>
-
-   
-   hero...@gentoo.org
-   
-

diff --git a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild 
b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
deleted file mode 100644
index e6102dde1..0
--- a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="dev-python/mkdocs-material"
-
-inherit cmake python-any-r1 docs
-
-DESCRIPTION="Single File Libraries for Physically-Based Graphics"
-HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
-SRC_URI="https://github.com/xelatihy/yocto-gl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-util/bcm"
-
-src_prepare() {
-   sed -i -e 's/isnan/std::isnan/g' libs/yocto/yocto_mesh.cpp || die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
-   )
-
-   cmake_src_configure
-}
-
-src_compile() {
-   docs_compile
-   cmake_src_compile
-}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/

2022-01-23 Thread Andrew Ammerlaan
commit: 6cadf8b1f8ea93759d76d287e74f5d10a98880d2
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Jan 23 12:50:34 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Jan 23 12:50:34 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6cadf8b1

media-libs/yocto-gl: remove opticks lib

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/yocto-gl/metadata.xml  |  7 --
 media-libs/yocto-gl/yocto-gl-3.3.0.ebuild | 39 ---
 2 files changed, 46 deletions(-)

diff --git a/media-libs/yocto-gl/metadata.xml b/media-libs/yocto-gl/metadata.xml
deleted file mode 100644
index 7203fb853..0
--- a/media-libs/yocto-gl/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd";>
-
-   
-   hero...@gentoo.org
-   
-

diff --git a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild 
b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
deleted file mode 100644
index e6102dde1..0
--- a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="dev-python/mkdocs-material"
-
-inherit cmake python-any-r1 docs
-
-DESCRIPTION="Single File Libraries for Physically-Based Graphics"
-HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
-SRC_URI="https://github.com/xelatihy/yocto-gl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-util/bcm"
-
-src_prepare() {
-   sed -i -e 's/isnan/std::isnan/g' libs/yocto/yocto_mesh.cpp || die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
-   )
-
-   cmake_src_configure
-}
-
-src_compile() {
-   docs_compile
-   cmake_src_compile
-}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/

2022-01-23 Thread Andrew Ammerlaan
commit: 6cadf8b1f8ea93759d76d287e74f5d10a98880d2
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Jan 23 12:50:34 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Jan 23 12:50:34 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6cadf8b1

media-libs/yocto-gl: remove opticks lib

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/yocto-gl/metadata.xml  |  7 --
 media-libs/yocto-gl/yocto-gl-3.3.0.ebuild | 39 ---
 2 files changed, 46 deletions(-)

diff --git a/media-libs/yocto-gl/metadata.xml b/media-libs/yocto-gl/metadata.xml
deleted file mode 100644
index 7203fb853..0
--- a/media-libs/yocto-gl/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd";>
-
-   
-   hero...@gentoo.org
-   
-

diff --git a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild 
b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
deleted file mode 100644
index e6102dde1..0
--- a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="dev-python/mkdocs-material"
-
-inherit cmake python-any-r1 docs
-
-DESCRIPTION="Single File Libraries for Physically-Based Graphics"
-HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
-SRC_URI="https://github.com/xelatihy/yocto-gl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-util/bcm"
-
-src_prepare() {
-   sed -i -e 's/isnan/std::isnan/g' libs/yocto/yocto_mesh.cpp || die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
-   )
-
-   cmake_src_configure
-}
-
-src_compile() {
-   docs_compile
-   cmake_src_compile
-}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/

2022-01-23 Thread Andrew Ammerlaan
commit: 6cadf8b1f8ea93759d76d287e74f5d10a98880d2
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Jan 23 12:50:34 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Jan 23 12:50:34 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6cadf8b1

media-libs/yocto-gl: remove opticks lib

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/yocto-gl/metadata.xml  |  7 --
 media-libs/yocto-gl/yocto-gl-3.3.0.ebuild | 39 ---
 2 files changed, 46 deletions(-)

diff --git a/media-libs/yocto-gl/metadata.xml b/media-libs/yocto-gl/metadata.xml
deleted file mode 100644
index 7203fb853..0
--- a/media-libs/yocto-gl/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd";>
-
-   
-   hero...@gentoo.org
-   
-

diff --git a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild 
b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
deleted file mode 100644
index e6102dde1..0
--- a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="dev-python/mkdocs-material"
-
-inherit cmake python-any-r1 docs
-
-DESCRIPTION="Single File Libraries for Physically-Based Graphics"
-HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
-SRC_URI="https://github.com/xelatihy/yocto-gl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-util/bcm"
-
-src_prepare() {
-   sed -i -e 's/isnan/std::isnan/g' libs/yocto/yocto_mesh.cpp || die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
-   )
-
-   cmake_src_configure
-}
-
-src_compile() {
-   docs_compile
-   cmake_src_compile
-}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/

2022-01-23 Thread Andrew Ammerlaan
commit: 6cadf8b1f8ea93759d76d287e74f5d10a98880d2
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Jan 23 12:50:34 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Jan 23 12:50:34 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6cadf8b1

media-libs/yocto-gl: remove opticks lib

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 media-libs/yocto-gl/metadata.xml  |  7 --
 media-libs/yocto-gl/yocto-gl-3.3.0.ebuild | 39 ---
 2 files changed, 46 deletions(-)

diff --git a/media-libs/yocto-gl/metadata.xml b/media-libs/yocto-gl/metadata.xml
deleted file mode 100644
index 7203fb853..0
--- a/media-libs/yocto-gl/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd";>
-
-   
-   hero...@gentoo.org
-   
-

diff --git a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild 
b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
deleted file mode 100644
index e6102dde1..0
--- a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="dev-python/mkdocs-material"
-
-inherit cmake python-any-r1 docs
-
-DESCRIPTION="Single File Libraries for Physically-Based Graphics"
-HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
-SRC_URI="https://github.com/xelatihy/yocto-gl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-util/bcm"
-
-src_prepare() {
-   sed -i -e 's/isnan/std::isnan/g' libs/yocto/yocto_mesh.cpp || die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
-   )
-
-   cmake_src_configure
-}
-
-src_compile() {
-   docs_compile
-   cmake_src_compile
-}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/, media-libs/yocto-gl/files/

2021-01-24 Thread Andrew Ammerlaan
commit: 6a2913691ed760852e730ec4b2fbef1f174ca263
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Jan 24 11:46:41 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Jan 24 11:46:41 2021 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6a291369

media-libs/yocto-gl: version bump 3.3.0

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 .../yocto-gl/files/yocto-gl-0_bcm-include.patch| 27 ---
 media-libs/yocto-gl/yocto-gl-0_p2019.ebuild| 27 ---
 media-libs/yocto-gl/yocto-gl-3.3.0.ebuild  | 39 ++
 3 files changed, 39 insertions(+), 54 deletions(-)

diff --git a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch 
b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
deleted file mode 100644
index 711438fd4..0
--- a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: yocto-gl-0_p2019/CMakeLists.txt
-===
 yocto-gl-0_p2019.orig/CMakeLists.txt
-+++ yocto-gl-0_p2019/CMakeLists.txt
-@@ -3,7 +3,8 @@ set(name YoctoGL)
- project(${name} VERSION 0.1.0)
- 
- include(CTest)
--include(OpticksBuildOptions)
-+find_package(BCM)
-+include(BCMDeploy)
- #[=[
- YoctoGL
- 
-@@ -14,12 +15,6 @@ Opticks currently uses only glTF 2.0 rea
- 
- #]=]
- 
--include(GNUInstallDirs)
--set(CMAKE_INSTALL_INCLUDEDIR "externals/include/${name}")
--set(CMAKE_INSTALL_LIBDIR "externals/lib")
--set(CMAKE_INSTALL_BINDIR "lib")
--
--
- set(SOURCES
-  yocto/yocto_img.cpp
-  yocto/yocto_gltf.cpp

diff --git a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild 
b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
deleted file mode 100644
index 9dbee5ab4..0
--- a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils git-r3
-
-DESCRIPTION="Single File Libraries for Physically-Based Graphics"
-HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
-
-EGIT_REPO_URI="https://github.com/simoncblyth/yocto-gl.git";
-EGIT_COMMIT="3cfcfacafece377b4542a0ffea4030bf13ae8b3c"
-KEYWORDS="~amd64"
-
-LICENSE="MIT"
-SLOT="0"
-
-DEPEND="dev-util/bcm"
-PATCHES=( "${FILESDIR}"/yocto-gl-0_bcm-include.patch )
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
-   )
-
-   cmake-utils_src_configure
-}

diff --git a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild 
b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
new file mode 100644
index 0..e6102dde1
--- /dev/null
+++ b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="dev-python/mkdocs-material"
+
+inherit cmake python-any-r1 docs
+
+DESCRIPTION="Single File Libraries for Physically-Based Graphics"
+HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
+SRC_URI="https://github.com/xelatihy/yocto-gl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-util/bcm"
+
+src_prepare() {
+   sed -i -e 's/isnan/std::isnan/g' libs/yocto/yocto_mesh.cpp || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   docs_compile
+   cmake_src_compile
+}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/, media-libs/yocto-gl/files/

2019-12-03 Thread Benda XU
commit: c87d96ad5f7e3db23b7f0041fee391c5fe0fccc6
Author: Benda Xu  gentoo  org>
AuthorDate: Tue Dec  3 15:51:05 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Tue Dec  3 15:51:05 2019 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=c87d96ad

media-libs/yocto-gl: initial commit of 0_p2019.

  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>

 .../yocto-gl/files/yocto-gl-0_bcm-include.patch| 27 ++
 media-libs/yocto-gl/metadata.xml   |  7 ++
 media-libs/yocto-gl/yocto-gl-0_p2019.ebuild| 27 ++
 3 files changed, 61 insertions(+)

diff --git a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch 
b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
new file mode 100644
index 0..711438fd4
--- /dev/null
+++ b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
@@ -0,0 +1,27 @@
+Index: yocto-gl-0_p2019/CMakeLists.txt
+===
+--- yocto-gl-0_p2019.orig/CMakeLists.txt
 yocto-gl-0_p2019/CMakeLists.txt
+@@ -3,7 +3,8 @@ set(name YoctoGL)
+ project(${name} VERSION 0.1.0)
+ 
+ include(CTest)
+-include(OpticksBuildOptions)
++find_package(BCM)
++include(BCMDeploy)
+ #[=[
+ YoctoGL
+ 
+@@ -14,12 +15,6 @@ Opticks currently uses only glTF 2.0 rea
+ 
+ #]=]
+ 
+-include(GNUInstallDirs)
+-set(CMAKE_INSTALL_INCLUDEDIR "externals/include/${name}")
+-set(CMAKE_INSTALL_LIBDIR "externals/lib")
+-set(CMAKE_INSTALL_BINDIR "lib")
+-
+-
+ set(SOURCES
+  yocto/yocto_img.cpp
+  yocto/yocto_gltf.cpp

diff --git a/media-libs/yocto-gl/metadata.xml b/media-libs/yocto-gl/metadata.xml
new file mode 100644
index 0..7203fb853
--- /dev/null
+++ b/media-libs/yocto-gl/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   hero...@gentoo.org
+   
+

diff --git a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild 
b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
new file mode 100644
index 0..9dbee5ab4
--- /dev/null
+++ b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils git-r3
+
+DESCRIPTION="Single File Libraries for Physically-Based Graphics"
+HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
+
+EGIT_REPO_URI="https://github.com/simoncblyth/yocto-gl.git";
+EGIT_COMMIT="3cfcfacafece377b4542a0ffea4030bf13ae8b3c"
+KEYWORDS="~amd64"
+
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND="dev-util/bcm"
+PATCHES=( "${FILESDIR}"/yocto-gl-0_bcm-include.patch )
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
+   )
+
+   cmake-utils_src_configure
+}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/, media-libs/yocto-gl/files/

2021-01-24 Thread Andrew Ammerlaan
commit: 6a2913691ed760852e730ec4b2fbef1f174ca263
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Jan 24 11:46:41 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Jan 24 11:46:41 2021 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6a291369

media-libs/yocto-gl: version bump 3.3.0

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 .../yocto-gl/files/yocto-gl-0_bcm-include.patch| 27 ---
 media-libs/yocto-gl/yocto-gl-0_p2019.ebuild| 27 ---
 media-libs/yocto-gl/yocto-gl-3.3.0.ebuild  | 39 ++
 3 files changed, 39 insertions(+), 54 deletions(-)

diff --git a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch 
b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
deleted file mode 100644
index 711438fd4..0
--- a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: yocto-gl-0_p2019/CMakeLists.txt
-===
 yocto-gl-0_p2019.orig/CMakeLists.txt
-+++ yocto-gl-0_p2019/CMakeLists.txt
-@@ -3,7 +3,8 @@ set(name YoctoGL)
- project(${name} VERSION 0.1.0)
- 
- include(CTest)
--include(OpticksBuildOptions)
-+find_package(BCM)
-+include(BCMDeploy)
- #[=[
- YoctoGL
- 
-@@ -14,12 +15,6 @@ Opticks currently uses only glTF 2.0 rea
- 
- #]=]
- 
--include(GNUInstallDirs)
--set(CMAKE_INSTALL_INCLUDEDIR "externals/include/${name}")
--set(CMAKE_INSTALL_LIBDIR "externals/lib")
--set(CMAKE_INSTALL_BINDIR "lib")
--
--
- set(SOURCES
-  yocto/yocto_img.cpp
-  yocto/yocto_gltf.cpp

diff --git a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild 
b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
deleted file mode 100644
index 9dbee5ab4..0
--- a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils git-r3
-
-DESCRIPTION="Single File Libraries for Physically-Based Graphics"
-HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
-
-EGIT_REPO_URI="https://github.com/simoncblyth/yocto-gl.git";
-EGIT_COMMIT="3cfcfacafece377b4542a0ffea4030bf13ae8b3c"
-KEYWORDS="~amd64"
-
-LICENSE="MIT"
-SLOT="0"
-
-DEPEND="dev-util/bcm"
-PATCHES=( "${FILESDIR}"/yocto-gl-0_bcm-include.patch )
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
-   )
-
-   cmake-utils_src_configure
-}

diff --git a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild 
b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
new file mode 100644
index 0..e6102dde1
--- /dev/null
+++ b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="dev-python/mkdocs-material"
+
+inherit cmake python-any-r1 docs
+
+DESCRIPTION="Single File Libraries for Physically-Based Graphics"
+HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
+SRC_URI="https://github.com/xelatihy/yocto-gl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-util/bcm"
+
+src_prepare() {
+   sed -i -e 's/isnan/std::isnan/g' libs/yocto/yocto_mesh.cpp || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   docs_compile
+   cmake_src_compile
+}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/, media-libs/yocto-gl/files/

2019-12-03 Thread Benda XU
commit: c87d96ad5f7e3db23b7f0041fee391c5fe0fccc6
Author: Benda Xu  gentoo  org>
AuthorDate: Tue Dec  3 15:51:05 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Tue Dec  3 15:51:05 2019 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=c87d96ad

media-libs/yocto-gl: initial commit of 0_p2019.

  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>

 .../yocto-gl/files/yocto-gl-0_bcm-include.patch| 27 ++
 media-libs/yocto-gl/metadata.xml   |  7 ++
 media-libs/yocto-gl/yocto-gl-0_p2019.ebuild| 27 ++
 3 files changed, 61 insertions(+)

diff --git a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch 
b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
new file mode 100644
index 0..711438fd4
--- /dev/null
+++ b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
@@ -0,0 +1,27 @@
+Index: yocto-gl-0_p2019/CMakeLists.txt
+===
+--- yocto-gl-0_p2019.orig/CMakeLists.txt
 yocto-gl-0_p2019/CMakeLists.txt
+@@ -3,7 +3,8 @@ set(name YoctoGL)
+ project(${name} VERSION 0.1.0)
+ 
+ include(CTest)
+-include(OpticksBuildOptions)
++find_package(BCM)
++include(BCMDeploy)
+ #[=[
+ YoctoGL
+ 
+@@ -14,12 +15,6 @@ Opticks currently uses only glTF 2.0 rea
+ 
+ #]=]
+ 
+-include(GNUInstallDirs)
+-set(CMAKE_INSTALL_INCLUDEDIR "externals/include/${name}")
+-set(CMAKE_INSTALL_LIBDIR "externals/lib")
+-set(CMAKE_INSTALL_BINDIR "lib")
+-
+-
+ set(SOURCES
+  yocto/yocto_img.cpp
+  yocto/yocto_gltf.cpp

diff --git a/media-libs/yocto-gl/metadata.xml b/media-libs/yocto-gl/metadata.xml
new file mode 100644
index 0..7203fb853
--- /dev/null
+++ b/media-libs/yocto-gl/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   hero...@gentoo.org
+   
+

diff --git a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild 
b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
new file mode 100644
index 0..9dbee5ab4
--- /dev/null
+++ b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils git-r3
+
+DESCRIPTION="Single File Libraries for Physically-Based Graphics"
+HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
+
+EGIT_REPO_URI="https://github.com/simoncblyth/yocto-gl.git";
+EGIT_COMMIT="3cfcfacafece377b4542a0ffea4030bf13ae8b3c"
+KEYWORDS="~amd64"
+
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND="dev-util/bcm"
+PATCHES=( "${FILESDIR}"/yocto-gl-0_bcm-include.patch )
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
+   )
+
+   cmake-utils_src_configure
+}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/, media-libs/yocto-gl/files/

2019-12-03 Thread Benda XU
commit: c87d96ad5f7e3db23b7f0041fee391c5fe0fccc6
Author: Benda Xu  gentoo  org>
AuthorDate: Tue Dec  3 15:51:05 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Tue Dec  3 15:51:05 2019 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=c87d96ad

media-libs/yocto-gl: initial commit of 0_p2019.

  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>

 .../yocto-gl/files/yocto-gl-0_bcm-include.patch| 27 ++
 media-libs/yocto-gl/metadata.xml   |  7 ++
 media-libs/yocto-gl/yocto-gl-0_p2019.ebuild| 27 ++
 3 files changed, 61 insertions(+)

diff --git a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch 
b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
new file mode 100644
index 0..711438fd4
--- /dev/null
+++ b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
@@ -0,0 +1,27 @@
+Index: yocto-gl-0_p2019/CMakeLists.txt
+===
+--- yocto-gl-0_p2019.orig/CMakeLists.txt
 yocto-gl-0_p2019/CMakeLists.txt
+@@ -3,7 +3,8 @@ set(name YoctoGL)
+ project(${name} VERSION 0.1.0)
+ 
+ include(CTest)
+-include(OpticksBuildOptions)
++find_package(BCM)
++include(BCMDeploy)
+ #[=[
+ YoctoGL
+ 
+@@ -14,12 +15,6 @@ Opticks currently uses only glTF 2.0 rea
+ 
+ #]=]
+ 
+-include(GNUInstallDirs)
+-set(CMAKE_INSTALL_INCLUDEDIR "externals/include/${name}")
+-set(CMAKE_INSTALL_LIBDIR "externals/lib")
+-set(CMAKE_INSTALL_BINDIR "lib")
+-
+-
+ set(SOURCES
+  yocto/yocto_img.cpp
+  yocto/yocto_gltf.cpp

diff --git a/media-libs/yocto-gl/metadata.xml b/media-libs/yocto-gl/metadata.xml
new file mode 100644
index 0..7203fb853
--- /dev/null
+++ b/media-libs/yocto-gl/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   hero...@gentoo.org
+   
+

diff --git a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild 
b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
new file mode 100644
index 0..9dbee5ab4
--- /dev/null
+++ b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils git-r3
+
+DESCRIPTION="Single File Libraries for Physically-Based Graphics"
+HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
+
+EGIT_REPO_URI="https://github.com/simoncblyth/yocto-gl.git";
+EGIT_COMMIT="3cfcfacafece377b4542a0ffea4030bf13ae8b3c"
+KEYWORDS="~amd64"
+
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND="dev-util/bcm"
+PATCHES=( "${FILESDIR}"/yocto-gl-0_bcm-include.patch )
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
+   )
+
+   cmake-utils_src_configure
+}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/, media-libs/yocto-gl/files/

2021-01-24 Thread Andrew Ammerlaan
commit: 6a2913691ed760852e730ec4b2fbef1f174ca263
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Jan 24 11:46:41 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Jan 24 11:46:41 2021 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6a291369

media-libs/yocto-gl: version bump 3.3.0

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 .../yocto-gl/files/yocto-gl-0_bcm-include.patch| 27 ---
 media-libs/yocto-gl/yocto-gl-0_p2019.ebuild| 27 ---
 media-libs/yocto-gl/yocto-gl-3.3.0.ebuild  | 39 ++
 3 files changed, 39 insertions(+), 54 deletions(-)

diff --git a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch 
b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
deleted file mode 100644
index 711438fd4..0
--- a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: yocto-gl-0_p2019/CMakeLists.txt
-===
 yocto-gl-0_p2019.orig/CMakeLists.txt
-+++ yocto-gl-0_p2019/CMakeLists.txt
-@@ -3,7 +3,8 @@ set(name YoctoGL)
- project(${name} VERSION 0.1.0)
- 
- include(CTest)
--include(OpticksBuildOptions)
-+find_package(BCM)
-+include(BCMDeploy)
- #[=[
- YoctoGL
- 
-@@ -14,12 +15,6 @@ Opticks currently uses only glTF 2.0 rea
- 
- #]=]
- 
--include(GNUInstallDirs)
--set(CMAKE_INSTALL_INCLUDEDIR "externals/include/${name}")
--set(CMAKE_INSTALL_LIBDIR "externals/lib")
--set(CMAKE_INSTALL_BINDIR "lib")
--
--
- set(SOURCES
-  yocto/yocto_img.cpp
-  yocto/yocto_gltf.cpp

diff --git a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild 
b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
deleted file mode 100644
index 9dbee5ab4..0
--- a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils git-r3
-
-DESCRIPTION="Single File Libraries for Physically-Based Graphics"
-HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
-
-EGIT_REPO_URI="https://github.com/simoncblyth/yocto-gl.git";
-EGIT_COMMIT="3cfcfacafece377b4542a0ffea4030bf13ae8b3c"
-KEYWORDS="~amd64"
-
-LICENSE="MIT"
-SLOT="0"
-
-DEPEND="dev-util/bcm"
-PATCHES=( "${FILESDIR}"/yocto-gl-0_bcm-include.patch )
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
-   )
-
-   cmake-utils_src_configure
-}

diff --git a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild 
b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
new file mode 100644
index 0..e6102dde1
--- /dev/null
+++ b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="dev-python/mkdocs-material"
+
+inherit cmake python-any-r1 docs
+
+DESCRIPTION="Single File Libraries for Physically-Based Graphics"
+HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
+SRC_URI="https://github.com/xelatihy/yocto-gl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-util/bcm"
+
+src_prepare() {
+   sed -i -e 's/isnan/std::isnan/g' libs/yocto/yocto_mesh.cpp || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   docs_compile
+   cmake_src_compile
+}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/, media-libs/yocto-gl/files/

2019-12-03 Thread Benda XU
commit: c87d96ad5f7e3db23b7f0041fee391c5fe0fccc6
Author: Benda Xu  gentoo  org>
AuthorDate: Tue Dec  3 15:51:05 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Tue Dec  3 15:51:05 2019 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=c87d96ad

media-libs/yocto-gl: initial commit of 0_p2019.

  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>

 .../yocto-gl/files/yocto-gl-0_bcm-include.patch| 27 ++
 media-libs/yocto-gl/metadata.xml   |  7 ++
 media-libs/yocto-gl/yocto-gl-0_p2019.ebuild| 27 ++
 3 files changed, 61 insertions(+)

diff --git a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch 
b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
new file mode 100644
index 0..711438fd4
--- /dev/null
+++ b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
@@ -0,0 +1,27 @@
+Index: yocto-gl-0_p2019/CMakeLists.txt
+===
+--- yocto-gl-0_p2019.orig/CMakeLists.txt
 yocto-gl-0_p2019/CMakeLists.txt
+@@ -3,7 +3,8 @@ set(name YoctoGL)
+ project(${name} VERSION 0.1.0)
+ 
+ include(CTest)
+-include(OpticksBuildOptions)
++find_package(BCM)
++include(BCMDeploy)
+ #[=[
+ YoctoGL
+ 
+@@ -14,12 +15,6 @@ Opticks currently uses only glTF 2.0 rea
+ 
+ #]=]
+ 
+-include(GNUInstallDirs)
+-set(CMAKE_INSTALL_INCLUDEDIR "externals/include/${name}")
+-set(CMAKE_INSTALL_LIBDIR "externals/lib")
+-set(CMAKE_INSTALL_BINDIR "lib")
+-
+-
+ set(SOURCES
+  yocto/yocto_img.cpp
+  yocto/yocto_gltf.cpp

diff --git a/media-libs/yocto-gl/metadata.xml b/media-libs/yocto-gl/metadata.xml
new file mode 100644
index 0..7203fb853
--- /dev/null
+++ b/media-libs/yocto-gl/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   hero...@gentoo.org
+   
+

diff --git a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild 
b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
new file mode 100644
index 0..9dbee5ab4
--- /dev/null
+++ b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils git-r3
+
+DESCRIPTION="Single File Libraries for Physically-Based Graphics"
+HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
+
+EGIT_REPO_URI="https://github.com/simoncblyth/yocto-gl.git";
+EGIT_COMMIT="3cfcfacafece377b4542a0ffea4030bf13ae8b3c"
+KEYWORDS="~amd64"
+
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND="dev-util/bcm"
+PATCHES=( "${FILESDIR}"/yocto-gl-0_bcm-include.patch )
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
+   )
+
+   cmake-utils_src_configure
+}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/, media-libs/yocto-gl/files/

2021-01-24 Thread Andrew Ammerlaan
commit: 6a2913691ed760852e730ec4b2fbef1f174ca263
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Jan 24 11:46:41 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Jan 24 11:46:41 2021 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6a291369

media-libs/yocto-gl: version bump 3.3.0

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 .../yocto-gl/files/yocto-gl-0_bcm-include.patch| 27 ---
 media-libs/yocto-gl/yocto-gl-0_p2019.ebuild| 27 ---
 media-libs/yocto-gl/yocto-gl-3.3.0.ebuild  | 39 ++
 3 files changed, 39 insertions(+), 54 deletions(-)

diff --git a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch 
b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
deleted file mode 100644
index 711438fd4..0
--- a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: yocto-gl-0_p2019/CMakeLists.txt
-===
 yocto-gl-0_p2019.orig/CMakeLists.txt
-+++ yocto-gl-0_p2019/CMakeLists.txt
-@@ -3,7 +3,8 @@ set(name YoctoGL)
- project(${name} VERSION 0.1.0)
- 
- include(CTest)
--include(OpticksBuildOptions)
-+find_package(BCM)
-+include(BCMDeploy)
- #[=[
- YoctoGL
- 
-@@ -14,12 +15,6 @@ Opticks currently uses only glTF 2.0 rea
- 
- #]=]
- 
--include(GNUInstallDirs)
--set(CMAKE_INSTALL_INCLUDEDIR "externals/include/${name}")
--set(CMAKE_INSTALL_LIBDIR "externals/lib")
--set(CMAKE_INSTALL_BINDIR "lib")
--
--
- set(SOURCES
-  yocto/yocto_img.cpp
-  yocto/yocto_gltf.cpp

diff --git a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild 
b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
deleted file mode 100644
index 9dbee5ab4..0
--- a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils git-r3
-
-DESCRIPTION="Single File Libraries for Physically-Based Graphics"
-HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
-
-EGIT_REPO_URI="https://github.com/simoncblyth/yocto-gl.git";
-EGIT_COMMIT="3cfcfacafece377b4542a0ffea4030bf13ae8b3c"
-KEYWORDS="~amd64"
-
-LICENSE="MIT"
-SLOT="0"
-
-DEPEND="dev-util/bcm"
-PATCHES=( "${FILESDIR}"/yocto-gl-0_bcm-include.patch )
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
-   )
-
-   cmake-utils_src_configure
-}

diff --git a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild 
b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
new file mode 100644
index 0..e6102dde1
--- /dev/null
+++ b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="dev-python/mkdocs-material"
+
+inherit cmake python-any-r1 docs
+
+DESCRIPTION="Single File Libraries for Physically-Based Graphics"
+HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
+SRC_URI="https://github.com/xelatihy/yocto-gl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-util/bcm"
+
+src_prepare() {
+   sed -i -e 's/isnan/std::isnan/g' libs/yocto/yocto_mesh.cpp || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   docs_compile
+   cmake_src_compile
+}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/, media-libs/yocto-gl/files/

2019-12-03 Thread Benda XU
commit: c87d96ad5f7e3db23b7f0041fee391c5fe0fccc6
Author: Benda Xu  gentoo  org>
AuthorDate: Tue Dec  3 15:51:05 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Tue Dec  3 15:51:05 2019 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=c87d96ad

media-libs/yocto-gl: initial commit of 0_p2019.

  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>

 .../yocto-gl/files/yocto-gl-0_bcm-include.patch| 27 ++
 media-libs/yocto-gl/metadata.xml   |  7 ++
 media-libs/yocto-gl/yocto-gl-0_p2019.ebuild| 27 ++
 3 files changed, 61 insertions(+)

diff --git a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch 
b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
new file mode 100644
index 0..711438fd4
--- /dev/null
+++ b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
@@ -0,0 +1,27 @@
+Index: yocto-gl-0_p2019/CMakeLists.txt
+===
+--- yocto-gl-0_p2019.orig/CMakeLists.txt
 yocto-gl-0_p2019/CMakeLists.txt
+@@ -3,7 +3,8 @@ set(name YoctoGL)
+ project(${name} VERSION 0.1.0)
+ 
+ include(CTest)
+-include(OpticksBuildOptions)
++find_package(BCM)
++include(BCMDeploy)
+ #[=[
+ YoctoGL
+ 
+@@ -14,12 +15,6 @@ Opticks currently uses only glTF 2.0 rea
+ 
+ #]=]
+ 
+-include(GNUInstallDirs)
+-set(CMAKE_INSTALL_INCLUDEDIR "externals/include/${name}")
+-set(CMAKE_INSTALL_LIBDIR "externals/lib")
+-set(CMAKE_INSTALL_BINDIR "lib")
+-
+-
+ set(SOURCES
+  yocto/yocto_img.cpp
+  yocto/yocto_gltf.cpp

diff --git a/media-libs/yocto-gl/metadata.xml b/media-libs/yocto-gl/metadata.xml
new file mode 100644
index 0..7203fb853
--- /dev/null
+++ b/media-libs/yocto-gl/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   hero...@gentoo.org
+   
+

diff --git a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild 
b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
new file mode 100644
index 0..9dbee5ab4
--- /dev/null
+++ b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils git-r3
+
+DESCRIPTION="Single File Libraries for Physically-Based Graphics"
+HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
+
+EGIT_REPO_URI="https://github.com/simoncblyth/yocto-gl.git";
+EGIT_COMMIT="3cfcfacafece377b4542a0ffea4030bf13ae8b3c"
+KEYWORDS="~amd64"
+
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND="dev-util/bcm"
+PATCHES=( "${FILESDIR}"/yocto-gl-0_bcm-include.patch )
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
+   )
+
+   cmake-utils_src_configure
+}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/, media-libs/yocto-gl/files/

2021-01-24 Thread Andrew Ammerlaan
commit: 6a2913691ed760852e730ec4b2fbef1f174ca263
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Jan 24 11:46:41 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Jan 24 11:46:41 2021 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6a291369

media-libs/yocto-gl: version bump 3.3.0

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 .../yocto-gl/files/yocto-gl-0_bcm-include.patch| 27 ---
 media-libs/yocto-gl/yocto-gl-0_p2019.ebuild| 27 ---
 media-libs/yocto-gl/yocto-gl-3.3.0.ebuild  | 39 ++
 3 files changed, 39 insertions(+), 54 deletions(-)

diff --git a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch 
b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
deleted file mode 100644
index 711438fd4..0
--- a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: yocto-gl-0_p2019/CMakeLists.txt
-===
 yocto-gl-0_p2019.orig/CMakeLists.txt
-+++ yocto-gl-0_p2019/CMakeLists.txt
-@@ -3,7 +3,8 @@ set(name YoctoGL)
- project(${name} VERSION 0.1.0)
- 
- include(CTest)
--include(OpticksBuildOptions)
-+find_package(BCM)
-+include(BCMDeploy)
- #[=[
- YoctoGL
- 
-@@ -14,12 +15,6 @@ Opticks currently uses only glTF 2.0 rea
- 
- #]=]
- 
--include(GNUInstallDirs)
--set(CMAKE_INSTALL_INCLUDEDIR "externals/include/${name}")
--set(CMAKE_INSTALL_LIBDIR "externals/lib")
--set(CMAKE_INSTALL_BINDIR "lib")
--
--
- set(SOURCES
-  yocto/yocto_img.cpp
-  yocto/yocto_gltf.cpp

diff --git a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild 
b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
deleted file mode 100644
index 9dbee5ab4..0
--- a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils git-r3
-
-DESCRIPTION="Single File Libraries for Physically-Based Graphics"
-HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
-
-EGIT_REPO_URI="https://github.com/simoncblyth/yocto-gl.git";
-EGIT_COMMIT="3cfcfacafece377b4542a0ffea4030bf13ae8b3c"
-KEYWORDS="~amd64"
-
-LICENSE="MIT"
-SLOT="0"
-
-DEPEND="dev-util/bcm"
-PATCHES=( "${FILESDIR}"/yocto-gl-0_bcm-include.patch )
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
-   )
-
-   cmake-utils_src_configure
-}

diff --git a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild 
b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
new file mode 100644
index 0..e6102dde1
--- /dev/null
+++ b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="dev-python/mkdocs-material"
+
+inherit cmake python-any-r1 docs
+
+DESCRIPTION="Single File Libraries for Physically-Based Graphics"
+HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
+SRC_URI="https://github.com/xelatihy/yocto-gl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-util/bcm"
+
+src_prepare() {
+   sed -i -e 's/isnan/std::isnan/g' libs/yocto/yocto_mesh.cpp || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   docs_compile
+   cmake_src_compile
+}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/, media-libs/yocto-gl/files/

2021-01-24 Thread Andrew Ammerlaan
commit: 6a2913691ed760852e730ec4b2fbef1f174ca263
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Jan 24 11:46:41 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Jan 24 11:46:41 2021 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6a291369

media-libs/yocto-gl: version bump 3.3.0

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 .../yocto-gl/files/yocto-gl-0_bcm-include.patch| 27 ---
 media-libs/yocto-gl/yocto-gl-0_p2019.ebuild| 27 ---
 media-libs/yocto-gl/yocto-gl-3.3.0.ebuild  | 39 ++
 3 files changed, 39 insertions(+), 54 deletions(-)

diff --git a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch 
b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
deleted file mode 100644
index 711438fd4..0
--- a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: yocto-gl-0_p2019/CMakeLists.txt
-===
 yocto-gl-0_p2019.orig/CMakeLists.txt
-+++ yocto-gl-0_p2019/CMakeLists.txt
-@@ -3,7 +3,8 @@ set(name YoctoGL)
- project(${name} VERSION 0.1.0)
- 
- include(CTest)
--include(OpticksBuildOptions)
-+find_package(BCM)
-+include(BCMDeploy)
- #[=[
- YoctoGL
- 
-@@ -14,12 +15,6 @@ Opticks currently uses only glTF 2.0 rea
- 
- #]=]
- 
--include(GNUInstallDirs)
--set(CMAKE_INSTALL_INCLUDEDIR "externals/include/${name}")
--set(CMAKE_INSTALL_LIBDIR "externals/lib")
--set(CMAKE_INSTALL_BINDIR "lib")
--
--
- set(SOURCES
-  yocto/yocto_img.cpp
-  yocto/yocto_gltf.cpp

diff --git a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild 
b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
deleted file mode 100644
index 9dbee5ab4..0
--- a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils git-r3
-
-DESCRIPTION="Single File Libraries for Physically-Based Graphics"
-HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
-
-EGIT_REPO_URI="https://github.com/simoncblyth/yocto-gl.git";
-EGIT_COMMIT="3cfcfacafece377b4542a0ffea4030bf13ae8b3c"
-KEYWORDS="~amd64"
-
-LICENSE="MIT"
-SLOT="0"
-
-DEPEND="dev-util/bcm"
-PATCHES=( "${FILESDIR}"/yocto-gl-0_bcm-include.patch )
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
-   )
-
-   cmake-utils_src_configure
-}

diff --git a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild 
b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
new file mode 100644
index 0..e6102dde1
--- /dev/null
+++ b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="dev-python/mkdocs-material"
+
+inherit cmake python-any-r1 docs
+
+DESCRIPTION="Single File Libraries for Physically-Based Graphics"
+HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
+SRC_URI="https://github.com/xelatihy/yocto-gl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-util/bcm"
+
+src_prepare() {
+   sed -i -e 's/isnan/std::isnan/g' libs/yocto/yocto_mesh.cpp || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   docs_compile
+   cmake_src_compile
+}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/, media-libs/yocto-gl/files/

2019-12-03 Thread Benda XU
commit: c87d96ad5f7e3db23b7f0041fee391c5fe0fccc6
Author: Benda Xu  gentoo  org>
AuthorDate: Tue Dec  3 15:51:05 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Tue Dec  3 15:51:05 2019 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=c87d96ad

media-libs/yocto-gl: initial commit of 0_p2019.

  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>

 .../yocto-gl/files/yocto-gl-0_bcm-include.patch| 27 ++
 media-libs/yocto-gl/metadata.xml   |  7 ++
 media-libs/yocto-gl/yocto-gl-0_p2019.ebuild| 27 ++
 3 files changed, 61 insertions(+)

diff --git a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch 
b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
new file mode 100644
index 0..711438fd4
--- /dev/null
+++ b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
@@ -0,0 +1,27 @@
+Index: yocto-gl-0_p2019/CMakeLists.txt
+===
+--- yocto-gl-0_p2019.orig/CMakeLists.txt
 yocto-gl-0_p2019/CMakeLists.txt
+@@ -3,7 +3,8 @@ set(name YoctoGL)
+ project(${name} VERSION 0.1.0)
+ 
+ include(CTest)
+-include(OpticksBuildOptions)
++find_package(BCM)
++include(BCMDeploy)
+ #[=[
+ YoctoGL
+ 
+@@ -14,12 +15,6 @@ Opticks currently uses only glTF 2.0 rea
+ 
+ #]=]
+ 
+-include(GNUInstallDirs)
+-set(CMAKE_INSTALL_INCLUDEDIR "externals/include/${name}")
+-set(CMAKE_INSTALL_LIBDIR "externals/lib")
+-set(CMAKE_INSTALL_BINDIR "lib")
+-
+-
+ set(SOURCES
+  yocto/yocto_img.cpp
+  yocto/yocto_gltf.cpp

diff --git a/media-libs/yocto-gl/metadata.xml b/media-libs/yocto-gl/metadata.xml
new file mode 100644
index 0..7203fb853
--- /dev/null
+++ b/media-libs/yocto-gl/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   hero...@gentoo.org
+   
+

diff --git a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild 
b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
new file mode 100644
index 0..9dbee5ab4
--- /dev/null
+++ b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils git-r3
+
+DESCRIPTION="Single File Libraries for Physically-Based Graphics"
+HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
+
+EGIT_REPO_URI="https://github.com/simoncblyth/yocto-gl.git";
+EGIT_COMMIT="3cfcfacafece377b4542a0ffea4030bf13ae8b3c"
+KEYWORDS="~amd64"
+
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND="dev-util/bcm"
+PATCHES=( "${FILESDIR}"/yocto-gl-0_bcm-include.patch )
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
+   )
+
+   cmake-utils_src_configure
+}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/, media-libs/yocto-gl/files/

2021-01-24 Thread Andrew Ammerlaan
commit: 6a2913691ed760852e730ec4b2fbef1f174ca263
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Jan 24 11:46:41 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Jan 24 11:46:41 2021 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6a291369

media-libs/yocto-gl: version bump 3.3.0

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 .../yocto-gl/files/yocto-gl-0_bcm-include.patch| 27 ---
 media-libs/yocto-gl/yocto-gl-0_p2019.ebuild| 27 ---
 media-libs/yocto-gl/yocto-gl-3.3.0.ebuild  | 39 ++
 3 files changed, 39 insertions(+), 54 deletions(-)

diff --git a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch 
b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
deleted file mode 100644
index 711438fd4..0
--- a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: yocto-gl-0_p2019/CMakeLists.txt
-===
 yocto-gl-0_p2019.orig/CMakeLists.txt
-+++ yocto-gl-0_p2019/CMakeLists.txt
-@@ -3,7 +3,8 @@ set(name YoctoGL)
- project(${name} VERSION 0.1.0)
- 
- include(CTest)
--include(OpticksBuildOptions)
-+find_package(BCM)
-+include(BCMDeploy)
- #[=[
- YoctoGL
- 
-@@ -14,12 +15,6 @@ Opticks currently uses only glTF 2.0 rea
- 
- #]=]
- 
--include(GNUInstallDirs)
--set(CMAKE_INSTALL_INCLUDEDIR "externals/include/${name}")
--set(CMAKE_INSTALL_LIBDIR "externals/lib")
--set(CMAKE_INSTALL_BINDIR "lib")
--
--
- set(SOURCES
-  yocto/yocto_img.cpp
-  yocto/yocto_gltf.cpp

diff --git a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild 
b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
deleted file mode 100644
index 9dbee5ab4..0
--- a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils git-r3
-
-DESCRIPTION="Single File Libraries for Physically-Based Graphics"
-HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
-
-EGIT_REPO_URI="https://github.com/simoncblyth/yocto-gl.git";
-EGIT_COMMIT="3cfcfacafece377b4542a0ffea4030bf13ae8b3c"
-KEYWORDS="~amd64"
-
-LICENSE="MIT"
-SLOT="0"
-
-DEPEND="dev-util/bcm"
-PATCHES=( "${FILESDIR}"/yocto-gl-0_bcm-include.patch )
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
-   )
-
-   cmake-utils_src_configure
-}

diff --git a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild 
b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
new file mode 100644
index 0..e6102dde1
--- /dev/null
+++ b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="dev-python/mkdocs-material"
+
+inherit cmake python-any-r1 docs
+
+DESCRIPTION="Single File Libraries for Physically-Based Graphics"
+HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
+SRC_URI="https://github.com/xelatihy/yocto-gl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-util/bcm"
+
+src_prepare() {
+   sed -i -e 's/isnan/std::isnan/g' libs/yocto/yocto_mesh.cpp || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   docs_compile
+   cmake_src_compile
+}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/, media-libs/yocto-gl/files/

2019-12-03 Thread Benda XU
commit: c87d96ad5f7e3db23b7f0041fee391c5fe0fccc6
Author: Benda Xu  gentoo  org>
AuthorDate: Tue Dec  3 15:51:05 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Tue Dec  3 15:51:05 2019 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=c87d96ad

media-libs/yocto-gl: initial commit of 0_p2019.

  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>

 .../yocto-gl/files/yocto-gl-0_bcm-include.patch| 27 ++
 media-libs/yocto-gl/metadata.xml   |  7 ++
 media-libs/yocto-gl/yocto-gl-0_p2019.ebuild| 27 ++
 3 files changed, 61 insertions(+)

diff --git a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch 
b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
new file mode 100644
index 0..711438fd4
--- /dev/null
+++ b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
@@ -0,0 +1,27 @@
+Index: yocto-gl-0_p2019/CMakeLists.txt
+===
+--- yocto-gl-0_p2019.orig/CMakeLists.txt
 yocto-gl-0_p2019/CMakeLists.txt
+@@ -3,7 +3,8 @@ set(name YoctoGL)
+ project(${name} VERSION 0.1.0)
+ 
+ include(CTest)
+-include(OpticksBuildOptions)
++find_package(BCM)
++include(BCMDeploy)
+ #[=[
+ YoctoGL
+ 
+@@ -14,12 +15,6 @@ Opticks currently uses only glTF 2.0 rea
+ 
+ #]=]
+ 
+-include(GNUInstallDirs)
+-set(CMAKE_INSTALL_INCLUDEDIR "externals/include/${name}")
+-set(CMAKE_INSTALL_LIBDIR "externals/lib")
+-set(CMAKE_INSTALL_BINDIR "lib")
+-
+-
+ set(SOURCES
+  yocto/yocto_img.cpp
+  yocto/yocto_gltf.cpp

diff --git a/media-libs/yocto-gl/metadata.xml b/media-libs/yocto-gl/metadata.xml
new file mode 100644
index 0..7203fb853
--- /dev/null
+++ b/media-libs/yocto-gl/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   hero...@gentoo.org
+   
+

diff --git a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild 
b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
new file mode 100644
index 0..9dbee5ab4
--- /dev/null
+++ b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils git-r3
+
+DESCRIPTION="Single File Libraries for Physically-Based Graphics"
+HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
+
+EGIT_REPO_URI="https://github.com/simoncblyth/yocto-gl.git";
+EGIT_COMMIT="3cfcfacafece377b4542a0ffea4030bf13ae8b3c"
+KEYWORDS="~amd64"
+
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND="dev-util/bcm"
+PATCHES=( "${FILESDIR}"/yocto-gl-0_bcm-include.patch )
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
+   )
+
+   cmake-utils_src_configure
+}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/, media-libs/yocto-gl/files/

2021-01-24 Thread Andrew Ammerlaan
commit: 6a2913691ed760852e730ec4b2fbef1f174ca263
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Jan 24 11:46:41 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Jan 24 11:46:41 2021 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=6a291369

media-libs/yocto-gl: version bump 3.3.0

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 .../yocto-gl/files/yocto-gl-0_bcm-include.patch| 27 ---
 media-libs/yocto-gl/yocto-gl-0_p2019.ebuild| 27 ---
 media-libs/yocto-gl/yocto-gl-3.3.0.ebuild  | 39 ++
 3 files changed, 39 insertions(+), 54 deletions(-)

diff --git a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch 
b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
deleted file mode 100644
index 711438fd4..0
--- a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: yocto-gl-0_p2019/CMakeLists.txt
-===
 yocto-gl-0_p2019.orig/CMakeLists.txt
-+++ yocto-gl-0_p2019/CMakeLists.txt
-@@ -3,7 +3,8 @@ set(name YoctoGL)
- project(${name} VERSION 0.1.0)
- 
- include(CTest)
--include(OpticksBuildOptions)
-+find_package(BCM)
-+include(BCMDeploy)
- #[=[
- YoctoGL
- 
-@@ -14,12 +15,6 @@ Opticks currently uses only glTF 2.0 rea
- 
- #]=]
- 
--include(GNUInstallDirs)
--set(CMAKE_INSTALL_INCLUDEDIR "externals/include/${name}")
--set(CMAKE_INSTALL_LIBDIR "externals/lib")
--set(CMAKE_INSTALL_BINDIR "lib")
--
--
- set(SOURCES
-  yocto/yocto_img.cpp
-  yocto/yocto_gltf.cpp

diff --git a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild 
b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
deleted file mode 100644
index 9dbee5ab4..0
--- a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils git-r3
-
-DESCRIPTION="Single File Libraries for Physically-Based Graphics"
-HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
-
-EGIT_REPO_URI="https://github.com/simoncblyth/yocto-gl.git";
-EGIT_COMMIT="3cfcfacafece377b4542a0ffea4030bf13ae8b3c"
-KEYWORDS="~amd64"
-
-LICENSE="MIT"
-SLOT="0"
-
-DEPEND="dev-util/bcm"
-PATCHES=( "${FILESDIR}"/yocto-gl-0_bcm-include.patch )
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
-   )
-
-   cmake-utils_src_configure
-}

diff --git a/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild 
b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
new file mode 100644
index 0..e6102dde1
--- /dev/null
+++ b/media-libs/yocto-gl/yocto-gl-3.3.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="dev-python/mkdocs-material"
+
+inherit cmake python-any-r1 docs
+
+DESCRIPTION="Single File Libraries for Physically-Based Graphics"
+HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
+SRC_URI="https://github.com/xelatihy/yocto-gl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-util/bcm"
+
+src_prepare() {
+   sed -i -e 's/isnan/std::isnan/g' libs/yocto/yocto_mesh.cpp || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
+   )
+
+   cmake_src_configure
+}
+
+src_compile() {
+   docs_compile
+   cmake_src_compile
+}



[gentoo-commits] proj/sci:master commit in: media-libs/yocto-gl/, media-libs/yocto-gl/files/

2019-12-03 Thread Benda XU
commit: c87d96ad5f7e3db23b7f0041fee391c5fe0fccc6
Author: Benda Xu  gentoo  org>
AuthorDate: Tue Dec  3 15:51:05 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Tue Dec  3 15:51:05 2019 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=c87d96ad

media-libs/yocto-gl: initial commit of 0_p2019.

  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>

 .../yocto-gl/files/yocto-gl-0_bcm-include.patch| 27 ++
 media-libs/yocto-gl/metadata.xml   |  7 ++
 media-libs/yocto-gl/yocto-gl-0_p2019.ebuild| 27 ++
 3 files changed, 61 insertions(+)

diff --git a/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch 
b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
new file mode 100644
index 0..711438fd4
--- /dev/null
+++ b/media-libs/yocto-gl/files/yocto-gl-0_bcm-include.patch
@@ -0,0 +1,27 @@
+Index: yocto-gl-0_p2019/CMakeLists.txt
+===
+--- yocto-gl-0_p2019.orig/CMakeLists.txt
 yocto-gl-0_p2019/CMakeLists.txt
+@@ -3,7 +3,8 @@ set(name YoctoGL)
+ project(${name} VERSION 0.1.0)
+ 
+ include(CTest)
+-include(OpticksBuildOptions)
++find_package(BCM)
++include(BCMDeploy)
+ #[=[
+ YoctoGL
+ 
+@@ -14,12 +15,6 @@ Opticks currently uses only glTF 2.0 rea
+ 
+ #]=]
+ 
+-include(GNUInstallDirs)
+-set(CMAKE_INSTALL_INCLUDEDIR "externals/include/${name}")
+-set(CMAKE_INSTALL_LIBDIR "externals/lib")
+-set(CMAKE_INSTALL_BINDIR "lib")
+-
+-
+ set(SOURCES
+  yocto/yocto_img.cpp
+  yocto/yocto_gltf.cpp

diff --git a/media-libs/yocto-gl/metadata.xml b/media-libs/yocto-gl/metadata.xml
new file mode 100644
index 0..7203fb853
--- /dev/null
+++ b/media-libs/yocto-gl/metadata.xml
@@ -0,0 +1,7 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   hero...@gentoo.org
+   
+

diff --git a/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild 
b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
new file mode 100644
index 0..9dbee5ab4
--- /dev/null
+++ b/media-libs/yocto-gl/yocto-gl-0_p2019.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils git-r3
+
+DESCRIPTION="Single File Libraries for Physically-Based Graphics"
+HOMEPAGE="https://github.com/simoncblyth/yocto-gl";
+
+EGIT_REPO_URI="https://github.com/simoncblyth/yocto-gl.git";
+EGIT_COMMIT="3cfcfacafece377b4542a0ffea4030bf13ae8b3c"
+KEYWORDS="~amd64"
+
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND="dev-util/bcm"
+PATCHES=( "${FILESDIR}"/yocto-gl-0_bcm-include.patch )
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMAKE_INSTALL_INCLUDEDIR=include/YoctoGL
+   )
+
+   cmake-utils_src_configure
+}