From: "Aisha Tammy" <gentoo@aisha.cc>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/forge/
Date: Tue, 22 Sep 2020 14:22:10 +0000 (UTC) [thread overview]
Message-ID: <1600784502.cd7d42215c7479ac31ac2d9d55424c624fdb370d.epsilon-0@gentoo> (raw)
commit: cd7d42215c7479ac31ac2d9d55424c624fdb370d
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Mon Sep 21 19:27:14 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Tue Sep 22 14:21:42 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=cd7d4221
sci-visualization/forge: version bump
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
sci-visualization/forge/forge-1.0.5.ebuild | 54 ++++++++++++++++++++++++++++
sci-visualization/forge/forge-9999.ebuild | 57 +++++++++++++++++-------------
sci-visualization/forge/metadata.xml | 16 +++++----
3 files changed, 97 insertions(+), 30 deletions(-)
diff --git a/sci-visualization/forge/forge-1.0.5.ebuild b/sci-visualization/forge/forge-1.0.5.ebuild
new file mode 100644
index 000000000..64a14e696
--- /dev/null
+++ b/sci-visualization/forge/forge-1.0.5.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2019-2020 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
+}
diff --git a/sci-visualization/forge/forge-9999.ebuild b/sci-visualization/forge/forge-9999.ebuild
index d34b350ee..64a14e696 100644
--- a/sci-visualization/forge/forge-9999.ebuild
+++ b/sci-visualization/forge/forge-9999.ebuild
@@ -1,45 +1,54 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit cmake-utils multilib git-r3
+inherit cmake multilib
DESCRIPTION="High Performance Visualizations for ArrayFire"
HOMEPAGE="http://www.arrayfire.com/"
-EGIT_REPO_URI="https://github.com/arrayfire/${PN}.git git://github.com/arrayfire/${PN}.git"
+
+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"
-KEYWORDS=""
-IUSE="examples"
+IUSE="doc examples"
RDEPEND="
- media-libs/glew:=
- >=media-libs/glfw-3.1.1
- media-libs/freetype:2
+ dev-libs/boost
+ media-libs/glfw
media-libs/fontconfig:1.0
+ media-libs/freeimage
+ media-libs/freetype:2
media-libs/glbinding
- >=media-libs/glm-0.9.7.1
+ media-libs/glm
virtual/opengl
"
DEPEND="${RDEPEND}"
-
-pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary ]]; then
- if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 ]] ) ; then
- die "Compilation with gcc older than 4.7 is not supported."
- fi
- fi
-}
+BDEPEND="
+ doc? (
+ app-doc/doxygen
+ dev-python/breathe
+ dev-python/recommonmark
+ dev-python/sphinx
+ )
+"
src_configure() {
local mycmakeargs=(
- -DBUILD_EXAMPLES="$(examples EXAMPLES)"
- -DUSE_SYSTEM_GLBINDING=ON
- -DUSE_SYSTEM_GLM=ON
- -DUSE_SYSTEM_FREETYPE=ON
- -DFG_INSTALL_CMAKE_DIR=/usr/$(get_libdir)/cmake/Forge
+ -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-utils_src_configure
+ cmake_src_configure
}
diff --git a/sci-visualization/forge/metadata.xml b/sci-visualization/forge/metadata.xml
index 3e7207c7f..610245a28 100644
--- a/sci-visualization/forge/metadata.xml
+++ b/sci-visualization/forge/metadata.xml
@@ -5,17 +5,21 @@
<email>marbre@linux.sungazer.de</email>
<name>Marius Brehler</name>
</maintainer>
+ <maintainer type="person">
+ <email>gentoo@aisha.cc</email>
+ <name>Aisha Tammy</name>
+ </maintainer>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
<longdescription>
-A prototype of the OpenGL interop library that can be used with
-ArrayFire. The goal of Forge is to provide high performance OpenGL
-visualizations for C/C++ applications that use CUDA/OpenCL. Forge
-uses OpenGL >=3.3 forward compatible contexts, so please make sure
-you have capable hardware before trying it out.
-</longdescription>
+ A prototype of the OpenGL interop library that can be used with
+ ArrayFire. The goal of Forge is to provide high performance OpenGL
+ visualizations for C/C++ applications that use CUDA/OpenCL. Forge
+ uses OpenGL >=3.3 forward compatible contexts, so please make sure
+ you have capable hardware before trying it out.
+ </longdescription>
<upstream>
<remote-id type="github">arrayfire/forge</remote-id>
</upstream>
next reply other threads:[~2020-09-22 14:22 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-22 14:22 Aisha Tammy [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-22 11:58 [gentoo-commits] proj/sci:master commit in: sci-visualization/forge/ Horea Christian
2021-12-16 10:57 Andrew Ammerlaan
2021-05-21 2:16 Aisha Tammy
2020-09-22 14:22 Aisha Tammy
2020-09-22 14:22 Aisha Tammy
2020-09-22 14:22 Aisha Tammy
2017-03-23 3:15 Marius Brehler
2017-03-23 3:12 Marius Brehler
2017-01-02 8:42 Marius Brehler
2017-01-02 8:42 Marius Brehler
2016-11-23 14:35 Marius Brehler
2016-11-23 14:35 Marius Brehler
2016-01-12 11:07 Marius Brehler
2016-01-12 11:07 Marius Brehler
2015-12-04 17:44 Marius Brehler
2015-12-04 17:44 Marius Brehler
2015-11-24 14:36 Marius Brehler
2015-10-01 6:06 Justin Lecher
2015-10-01 6:06 Justin Lecher
2015-09-21 16:05 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1600784502.cd7d42215c7479ac31ac2d9d55424c624fdb370d.epsilon-0@gentoo \
--to=gentoo@aisha.cc \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox