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/step
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/step')
-rw-r--r--kde-apps/step/Manifest1
-rw-r--r--kde-apps/step/files/step-15.12.2-doctools.patch34
-rw-r--r--kde-apps/step/step-15.12.3.ebuild63
3 files changed, 98 insertions, 0 deletions
diff --git a/kde-apps/step/Manifest b/kde-apps/step/Manifest
index 145259500411..eca9ea8c9db8 100644
--- a/kde-apps/step/Manifest
+++ b/kde-apps/step/Manifest
@@ -1 +1,2 @@
+DIST step-15.12.3.tar.xz 388744 SHA256 01bf05ffee673ff1b20a5bf32e21b4223b8b8900b91ae0a5ca9a47cc07b1e310 SHA512 1d481109830932e05faec42ffc0ed3f262928e29b3fbb70c9d9f3d5cbc5b19e2e22635df2aee66fc705f20d249513f306b81442e2e07af5a41cf9e5c9a74c59e WHIRLPOOL bf3ceb76398cfae2c547208161528484b2c4e387f3f07fb4c8698ddfd7d5f02b42a356e197dcdda71bfa8b6930a3bf2b8a0601b8ac63c4fde7987a11b32ea6a7
DIST step-4.14.3.tar.xz 378612 SHA256 8ba3c71d725a605b37f4c19037385cc63e37062b30635ea7f5415025a650c491 SHA512 244bf52bfbf38abffa3722af67451abf5a94e81d3916a12b8b7b3d38bf6e580dc92d85590b5d6233d661f1befe0a587df9a0694f1bde2a7a2f8d830a4cac057c WHIRLPOOL 186cdbabd169503441b9a43be480dd2cd4adf648ee628ed209d80c59bbe05199dd4e31c21cc2135cb6fc37fdf0e56c30c9922995228f98450e4f9e390aaa26b1
diff --git a/kde-apps/step/files/step-15.12.2-doctools.patch b/kde-apps/step/files/step-15.12.2-doctools.patch
new file mode 100644
index 000000000000..43715987e791
--- /dev/null
+++ b/kde-apps/step/files/step-15.12.2-doctools.patch
@@ -0,0 +1,34 @@
+commit 1ba1e576e20e9008d3fd862deb7bbcca61f3e4d8
+Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Thu Mar 10 20:10:50 2016 +0100
+
+ Remove duplicate KF5DocTools search, make it optional
+
+ Using ecm_optional_add_subdirectory, as long as KDELibs4Support
+ makes it impossible to disable KF5DocTools.
+
+ REVIEW: 127335
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b0dd543..9623485 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -33,7 +33,6 @@ find_package(KF5 REQUIRED COMPONENTS
+ NewStuff
+ Plotting
+ )
+-find_package(KF5DocTools REQUIRED)
+ find_package(Eigen3 3.2.2 REQUIRED)
+ find_package(GSL)
+ find_package(Qalculate)
+@@ -69,7 +68,9 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter")
+
+ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${EIGEN3_INCLUDE_DIR})
+
+-add_subdirectory(doc)
++if(KF5DocTools_FOUND)
++ ecm_optional_add_subdirectory(doc)
++endif()
+ add_subdirectory(stepcore)
+ add_subdirectory(step)
+ add_subdirectory(autotests)
diff --git a/kde-apps/step/step-15.12.3.ebuild b/kde-apps/step/step-15.12.3.ebuild
new file mode 100644
index 000000000000..e37c13a992a2
--- /dev/null
+++ b/kde-apps/step/step-15.12.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional" # not optional until !kdelibs4support
+KDE_TEST="forceoptional"
+inherit kde5
+
+DESCRIPTION="Interactive physics simulator"
+HOMEPAGE="https://edu.kde.org/step"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="+gsl +qalculate"
+
+DEPEND="
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdelibs4support)
+ $(add_frameworks_dep khtml)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep knewstuff)
+ $(add_frameworks_dep kparts)
+ $(add_frameworks_dep kplotting)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep ktextwidgets)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtdeclarative)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtopengl)
+ $(add_qt_dep qtprintsupport)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ =dev-cpp/eigen-3.2*:3
+ sci-libs/cln
+ gsl? ( >=sci-libs/gsl-1.9-r1 )
+ qalculate? ( >=sci-libs/libqalculate-0.9.5 )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-15.12.2-doctools.patch" )
+
+src_prepare() {
+ kde5_src_prepare
+
+ # FIXME: Drop duplicate upstream
+ sed -e '/find_package.*Xml Test/ s/^/#/' \
+ -i stepcore/CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package gsl GSL)
+ $(cmake-utils_use_find_package qalculate Qalculate)
+ )
+ kde5_src_configure
+}