summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/qtdatavis3d')
-rw-r--r--dev-qt/qtdatavis3d/Manifest1
-rw-r--r--dev-qt/qtdatavis3d/metadata.xml21
-rw-r--r--dev-qt/qtdatavis3d/qtdatavis3d-5.7.0.ebuild32
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-qt/qtdatavis3d/Manifest b/dev-qt/qtdatavis3d/Manifest
new file mode 100644
index 00000000000..1ec0db8e7c0
--- /dev/null
+++ b/dev-qt/qtdatavis3d/Manifest
@@ -0,0 +1 @@
+DIST qtdatavis3d-opensource-src-5.7.0.tar.xz 5153364 SHA256 9a5d7a383dce211a904bca3b8b6054bb448148ca07cede2bd46d255de016e8a2 SHA512 a7d52fca69e5b03da33eb7c733e918a9a09853205823e1b70c1b2711f35e7b60b218fccc5ae7dc6a8fc785994457372e4a901de42cdd011a9ca597389f9453f8 WHIRLPOOL 6b6ecba09aad6adf3261e1b946ab1c9007cc61510d8484208041d69e364b7c4ec3cad36ef0f295e428796148c2f69d3ea0e4cb8bdad9e5787076058e279a6212
diff --git a/dev-qt/qtdatavis3d/metadata.xml b/dev-qt/qtdatavis3d/metadata.xml
new file mode 100644
index 00000000000..557197b4b9b
--- /dev/null
+++ b/dev-qt/qtdatavis3d/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+ <use>
+ <flag name="gles2">Use GLES 2.0 or later instead of full OpenGL</flag>
+ <flag name="qml">Build QML/QtQuick bindings and imports</flag>
+ </use>
+ <upstream>
+ <bugs-to>https://bugreports.qt.io/</bugs-to>
+ <doc>http://doc.qt.io/</doc>
+ </upstream>
+ <slots>
+ <subslots>
+ Must only be used by packages that are known to use private parts of the Qt API.
+ </subslots>
+ </slots>
+</pkgmetadata>
diff --git a/dev-qt/qtdatavis3d/qtdatavis3d-5.7.0.ebuild b/dev-qt/qtdatavis3d/qtdatavis3d-5.7.0.ebuild
new file mode 100644
index 00000000000..b1c6a61945d
--- /dev/null
+++ b/dev-qt/qtdatavis3d/qtdatavis3d-5.7.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit qt5-build
+
+DESCRIPTION="3D data visualization library for the Qt5 framework"
+LICENSE="GPL-3"
+
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+ KEYWORDS="~amd64 ~x86"
+fi
+
+IUSE="gles2 qml"
+
+DEPEND="
+ ~dev-qt/qtcore-${PV}
+ ~dev-qt/qtgui-${PV}[gles2=]
+ qml? ( ~dev-qt/qtdeclarative-${PV}[gles2=] )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # eliminate bogus dependency on qtwidgets
+ sed -i -e '/requires.*widgets/d' qtdatavis3d.pro || die
+
+ qt_use_disable_mod qml quick \
+ src/src.pro
+
+ qt5-build_src_prepare
+}