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/kig
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/kig')
-rw-r--r--kde-apps/kig/Manifest1
-rw-r--r--kde-apps/kig/kig-15.12.3.ebuild61
-rw-r--r--kde-apps/kig/metadata.xml7
3 files changed, 66 insertions, 3 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest
index c750e014ee35..fe726faf0619 100644
--- a/kde-apps/kig/Manifest
+++ b/kde-apps/kig/Manifest
@@ -1 +1,2 @@
+DIST kig-15.12.3.tar.xz 1516568 SHA256 eb42d5244b40eded199b2332717dac19ce6e99da8a40969f87329d921a088e8b SHA512 8219286b1a45cd401a91b5eb9a5a4275998e685c59f0dce7b9ead695541b39ec31eb69beda1d55793c6b7b48e48529628f9c582dcf78c33dac1f6003663293a9 WHIRLPOOL 4988299a5ccdc86bfcfd46ac7392fa6db797bb2396a81ccf161f30b0d7ca1b2f644738d093582642201dceee0e7bcbd98d7857ec233944bba1657b6a905f11ef
DIST kig-4.14.3.tar.xz 1506492 SHA256 2e71d86b14b4d09722b54e7b239c238558d35227465c0e5c62e9e6eb34cce3ce SHA512 218fce708a3fa5478bb50bd5a239479655a8168f8df069b819578701165f9ad9202015600eb2c44ff9580355459ce423ef83814d771079adebb940fa137a5813 WHIRLPOOL 6992a150ab19a373dd4fe791babd10a1cc65b61d5c01827c12b6b51183d43a0ba8f46105a6f2c710217dea8f3e3d3e9351ea3bdef0ca3a9fe6bad171c00fb479
diff --git a/kde-apps/kig/kig-15.12.3.ebuild b/kde-apps/kig/kig-15.12.3.ebuild
new file mode 100644
index 000000000000..46972f49fc20
--- /dev/null
+++ b/kde-apps/kig/kig-15.12.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+PYTHON_COMPAT=( python2_7 )
+inherit python-single-r1 kde5
+
+DESCRIPTION="KDE Interactive Geometry tool"
+HOMEPAGE="https://www.kde.org/applications/education/kig https://edu.kde.org/kig"
+KEYWORDS=" ~amd64 ~x86"
+IUSE="geogebra scripting"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+ ${PYTHON_DEPS}
+ $(add_frameworks_dep karchive)
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep kparts)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtprintsupport)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ geogebra? ( $(add_qt_dep qtxmlpatterns) )
+ scripting? ( >=dev-libs/boost-1.48:=[python,${PYTHON_USEDEP}] )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-4.12.0-boostpython.patch" )
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ kde5_pkg_setup
+}
+
+src_prepare() {
+ kde5_src_prepare
+
+ python_fix_shebang .
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package geogebra Qt5XmlPatterns)
+ $(cmake-utils_use_find_package scripting BoostPython)
+ )
+
+ kde5_src_configure
+}
diff --git a/kde-apps/kig/metadata.xml b/kde-apps/kig/metadata.xml
index a1907072504d..dced816a5d5e 100644
--- a/kde-apps/kig/metadata.xml
+++ b/kde-apps/kig/metadata.xml
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <use>
- <flag name="scripting">Support Python scripting</flag>
- </use>
<maintainer type="project">
<email>kde@gentoo.org</email>
<name>Gentoo KDE Project</name>
</maintainer>
+ <use>
+ <flag name="geogebra">Support files created by <pkg>sci-mathematics/geogebra</pkg></flag>
+ <flag name="scripting">Support Python scripting</flag>
+ </use>
</pkgmetadata>