commit:     0c1a516e76f56bcc3514f3b027aec327a7ce1e12
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Fri May 21 02:15:53 2021 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Fri May 21 02:15:53 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=0c1a516e

sci-visualization/forge: version bump to 1.0.7

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 sci-visualization/forge/forge-1.0.7.ebuild | 54 ++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/sci-visualization/forge/forge-1.0.7.ebuild 
b/sci-visualization/forge/forge-1.0.7.ebuild
new file mode 100644
index 000000000..ab5fa17bb
--- /dev/null
+++ b/sci-visualization/forge/forge-1.0.7.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake multilib
+
+DESCRIPTION="High Performance Visualizations for ArrayFire"
+HOMEPAGE="http://www.arrayfire.com/";
+
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/arrayfire/forge";
+else
+       SRC_URI="https://github.com/arrayfire/forge/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc examples"
+
+RDEPEND="
+       dev-libs/boost
+       media-libs/glfw
+       media-libs/fontconfig:1.0
+       media-libs/freeimage
+       media-libs/freetype:2
+       media-libs/glbinding
+       media-libs/glm
+       virtual/opengl
+       "
+DEPEND="${RDEPEND}"
+BDEPEND="
+       doc? (
+               app-doc/doxygen
+               dev-python/breathe
+               dev-python/recommonmark
+               dev-python/sphinx
+       )
+"
+
+src_configure() {
+       local mycmakeargs=(
+               -DBUILD_SHARED_LIBS=ON
+               -DFG_USE_STATIC_CPPFLAGS=OFF
+               -DFG_BUILD_DOCS=$(usex doc ON OFF)
+               -DFG_BUILD_EXAMPLES=$(usex examples ON OFF)
+               -DFG_WITH_FREEIMAGE=ON
+               -DFG_USE_STATIC_FREEIMAGE=OFF
+               -DFG_INSTALL_CMAKE_DIR=/usr/$(get_libdir)/cmake/Forge
+       )
+       cmake_src_configure
+}

Reply via email to