summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-03-20 18:15:30 +0100
committerMichael Palimaka <kensington@gentoo.org>2016-03-26 00:11:58 +1100
commitb0db5d580b55bd526d8c5f47a48bc2cb0b641b1f (patch)
tree499e18b5c2706f317beb84a22b66d1a205c70567 /kde-apps/analitza
parentkde-apps/kblocks: Drop old (diff)
downloadgentoo-b0db5d580b55bd526d8c5f47a48bc2cb0b641b1f.tar.gz
gentoo-b0db5d580b55bd526d8c5f47a48bc2cb0b641b1f.tar.bz2
gentoo-b0db5d580b55bd526d8c5f47a48bc2cb0b641b1f.zip
kde-apps: Move kdeedu-meta 15.12.3 from kde overlay
Package-Manager: portage-2.2.27
Diffstat (limited to 'kde-apps/analitza')
-rw-r--r--kde-apps/analitza/Manifest1
-rw-r--r--kde-apps/analitza/analitza-15.12.3.ebuild51
-rw-r--r--kde-apps/analitza/metadata.xml3
3 files changed, 55 insertions, 0 deletions
diff --git a/kde-apps/analitza/Manifest b/kde-apps/analitza/Manifest
index 59c6706b6083..b2d721dd3bdf 100644
--- a/kde-apps/analitza/Manifest
+++ b/kde-apps/analitza/Manifest
@@ -1 +1,2 @@
+DIST analitza-15.12.3.tar.xz 232928 SHA256 2b69d6692c91e3bf7c8abe053f2dd85f708ae8502a3a0559d67e12f8dd4ee543 SHA512 09b70419d4073027be426efcc9275ae4f7ffd6f431c1e7ae4b9a43bc301fe73dd4eb8d39e72f81e668af152895b282a480f17f2397bc73fdde66275fb097d548 WHIRLPOOL 5374303755461af18440331835bd4c48d544b6d81312a98c20840d5983b1d808cfa8c06fe13db1eb369781ffbfe071b1b957218ba8397bdacfae6599bf3af8c9
DIST analitza-4.14.3.tar.xz 199964 SHA256 00227cf6006c2ee08d83ca3b502662bba331c3d007013e6bc981114cfccce422 SHA512 ac79692671bb82e5759ce7c030e21710e24e40be05a5c987f5e5b1107a8e24898937394fa8bac2825fbb77de8bef4e2d8b71d55db9b42e5746b60d144060efa0 WHIRLPOOL 2cf3c6944a03739f5cd4c2c8ab32789f15a060814238c557e3dec2ff4f51c26718dda2b8083d9a5c211c9804a3bc11d24464c8f70aac62e1ed3d97aa5bd1eca4
diff --git a/kde-apps/analitza/analitza-15.12.3.ebuild b/kde-apps/analitza/analitza-15.12.3.ebuild
new file mode 100644
index 000000000000..aaed74f3eee1
--- /dev/null
+++ b/kde-apps/analitza/analitza-15.12.3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="KDE library for mathematical features"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="eigen opengl"
+
+DEPEND="
+ $(add_qt_dep qtdeclarative)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ eigen? ( dev-cpp/eigen:3 )
+ opengl? (
+ $(add_qt_dep qtopengl)
+ virtual/opengl
+ )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # Nothing is installed
+ sed -i \
+ -e "/add_subdirectory(examples)/ s/^/#DONT/" \
+ analitzaplot/CMakeLists.txt || die
+
+ if ! use test ; then
+ sed -i \
+ -e "/add_subdirectory(tests)/ s/^/#DONT/" \
+ analitza{,gui,plot}/CMakeLists.txt || die
+ fi
+
+ kde5_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package eigen Eigen3)
+ $(cmake-utils_use_find_package opengl OpenGL)
+ )
+
+ kde5_src_configure
+}
diff --git a/kde-apps/analitza/metadata.xml b/kde-apps/analitza/metadata.xml
index 2fdbf33d963d..006469792bc7 100644
--- a/kde-apps/analitza/metadata.xml
+++ b/kde-apps/analitza/metadata.xml
@@ -5,4 +5,7 @@
<email>kde@gentoo.org</email>
<name>Gentoo KDE Project</name>
</maintainer>
+ <use>
+ <flag name="eigen">Enable <pkg>dev-cpp/eigen</pkg> mathematical templates support</flag>
+ </use>
</pkgmetadata>