summaryrefslogtreecommitdiff
path: root/kde-apps/kig
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /kde-apps/kig
reinit the tree, so we can have metadata
Diffstat (limited to 'kde-apps/kig')
-rw-r--r--kde-apps/kig/Manifest8
-rw-r--r--kde-apps/kig/files/kig-4.12.0-boostpython.patch17
-rw-r--r--kde-apps/kig/kig-17.04.3.ebuild62
-rw-r--r--kde-apps/kig/kig-17.08.1.ebuild62
-rw-r--r--kde-apps/kig/metadata.xml12
5 files changed, 161 insertions, 0 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest
new file mode 100644
index 000000000000..f006d0ef9de6
--- /dev/null
+++ b/kde-apps/kig/Manifest
@@ -0,0 +1,8 @@
+AUX kig-4.12.0-boostpython.patch 1012 SHA256 070f9b522d8ab6d2c3ebff078be79b9763bbd2ab1cde09710b1d50d56abe4a28 SHA512 0e490efcda1d61b9053fd4eec45e872db62b2f1f543378fb397bde65cb79e575a9268a2e2dd18e2b5590f60ba6f72954612191d0cfa1b57a697b627367a7c18f WHIRLPOOL ee9c5ba1b2d9f9157da00754ae427ffe7a830c0672211c4e20c0b3223768a83453ab3a0f82bc47dc98eccc5ba99ff3fcb277cf76b006cf20905b82cec3532f47
+DIST kig-17.04.3.tar.xz 3588428 SHA256 8dae8af9d49c491efedb32e74d1a1123ac91fefdaf6b011592124497d2021ce5 SHA512 0f38450c5f48a60cd47862dd020ee753fca3f3c0ba4758e5973656dac14e96283943c644cd639df36f2f35bf3ed46c49952e14f337991a59e394479ea44c9e22 WHIRLPOOL b3a35360c05e0c46eb52fea0a2e72978c3464a2d53d5076cce51f5b2adafa7efdfa4bebb49cfd33f2039488e9a82a07d5f9db2652ab1c55fcd975dfc2d578bc7
+DIST kig-17.08.1.tar.xz 3588280 SHA256 d3fdfe8d86653c580057342914367f4e5b4fbbdd54873ea179bc524ce26dee3f SHA512 17d4577cf03a5f9b0b532fc1b6b1d1730b730bdf5e43e4336c1d7071076f101d1146aa81b3e9e6e3f7d9661f78ba059cca5d70a64ce346d8d609343f82c75eaa WHIRLPOOL 405052ffd4fd5b5781136e370f7947a5c11ca8fc8c260523752245152b93cda73ab88959f0dbf762db383838820dd49f51ada2b5941506a48812744b8c373289
+EBUILD kig-17.04.3.ebuild 1499 SHA256 c0e70bce88d201bbb6ab395dbb3af7efce8b2aba599ec9a5eb28b0f68bf8feed SHA512 c8757df0e00da55e73fc93bde57b1769b4ce076699c99b7b940abdc0750768f697ce62b61becf6a36ee326e301f14f5b8dd80a29a9e10a9c55d5aa463aea7324 WHIRLPOOL 025f7eeecbd1ed41f0588410f14d19f8205b41f450e4aaf3c0b16c66d311db5405968844609110cc8fcf797d58e8da618b63c27f3e92778d17924b5e9174155c
+EBUILD kig-17.08.1.ebuild 1501 SHA256 2f16645702f97fa0efabb482ffa9eb3ac61577ccaa67cdae7483793b73a09470 SHA512 baad75ec845489e6a5191ffc0b91e48f86a1349ffb8460fca4d64d0fa01c0458394e136a047b9fcaad1a9263f3d55ba2f10887877f823a6d9aa0519d5dbd91ce WHIRLPOOL 74d96a946d654bf6546dc5fde3269c85e7a823d4703454ce947545d7283063899146698959d4e5889d953e9613df712dd6f08deeabf015bf9a9a5c921c77085b
+MISC ChangeLog 6617 SHA256 a24654d675668e79af58c91873a50c8d51131aa8d7d45c5f2176f61d4c916048 SHA512 97b221d9b91268a44a1795e654624bf000b0324f6bddb4e1b1ac3a2da5676a2bc33b09ba9ff2d29416071c5fb11c42a5513f991f165dc21d5590ff8e7b681e39 WHIRLPOOL 4fd73fa63f928cfcb4d3030c8be33a788e0e38e9d5374033c4786994c9e8ee782d03fecb13338063812c2aa3670cd72404f676af2a897f861cbfdb35a5b87600
+MISC ChangeLog-2015 39470 SHA256 05302c7de4ff10de293bfb50099db8cbd1b4cfe739bb2edb1f6b25baae9493e6 SHA512 b63d57ec91825f512e04221b77c35f19d55264e21bf55934f11f7eb1559f9c9ccda1a159ed973fa4bad416e258cc2d474ae4084885c635b5489591bc6bc94620 WHIRLPOOL f903ba2e71457171a9249cfe00f24362b47e3d95a04e0ba0fa2a1ca70adfbc099872ee18ebdbda1869cca3d866ca7e407a2ab96e70d4841b5a348bed07551a46
+MISC metadata.xml 413 SHA256 2649cbb6a8e1488fc96b243282624ad298233a0ad3e3952fb7152f224b8eb3dc SHA512 0275eb140eb39e300efe6cb2998698034397e8e1770a94129d716fb48b910a65b6f23f86f347e12e3fe71634adee7de6350ae7de47892e93d5416668338686c9 WHIRLPOOL 7c2f70f6433f730596da92d8ded0b548ba204c01c655a18752c812b37fbdd4525740bc5c70bba4c76efd0a9997b2567e5b1167d18700fc5baa8964ad2766a35c
diff --git a/kde-apps/kig/files/kig-4.12.0-boostpython.patch b/kde-apps/kig/files/kig-4.12.0-boostpython.patch
new file mode 100644
index 000000000000..7a4b878c6bc3
--- /dev/null
+++ b/kde-apps/kig/files/kig-4.12.0-boostpython.patch
@@ -0,0 +1,17 @@
+diff --git a/cmake/modules/FindBoostPython.cmake b/cmake/modules/FindBoostPython.cmake
+index 2ccc161..02d9bf6 100644
+--- a/cmake/modules/FindBoostPython.cmake
++++ b/cmake/modules/FindBoostPython.cmake
+@@ -74,10 +74,10 @@ if(HAVE_BOOST_SHARED_PTR_HPP AND Boost_PYTHON_FOUND)
+ # Second try: try pkg-config way
+ find_package(PkgConfig)
+ if(PKG_CONFIG_FOUND)
+- set(PYTHON_VERSIONS "python;python2.7;python2.6;python2.5;python2.4;python2.3;python2.2")
++ execute_process(COMMAND python -c "import sys; sys.stdout.write('.'.join(str(x) for x in sys.version_info[:2]))" OUTPUT_VARIABLE PYTHON_VERSIONS)
+ foreach(_pyver ${PYTHON_VERSIONS})
+ if(NOT BoostPython_INCLUDES OR NOT BoostPython_LIBS)
+- pkg_check_modules(${_pyver} QUIET ${_pyver})
++ pkg_check_modules(_python python-${_pyver})
+ if(${_pyver}_FOUND)
+ cmake_push_check_state()
+ set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${${_pyver}_INCLUDE_DIRS}) \ No newline at end of file
diff --git a/kde-apps/kig/kig-17.04.3.ebuild b/kde-apps/kig/kig-17.04.3.ebuild
new file mode 100644
index 000000000000..49d6e3d5e580
--- /dev/null
+++ b/kde-apps/kig/kig-17.04.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="optional"
+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}"
+
+RDEPEND="${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 kcrash)
+ $(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}] )
+"
+DEPEND="${RDEPEND}
+ $(add_frameworks_dep ktexteditor)
+"
+
+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/kig-17.08.1.ebuild b/kde-apps/kig/kig-17.08.1.ebuild
new file mode 100644
index 000000000000..c28dbdb68ab7
--- /dev/null
+++ b/kde-apps/kig/kig-17.08.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="optional"
+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}"
+
+RDEPEND="${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 kcrash)
+ $(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}] )
+"
+DEPEND="${RDEPEND}
+ $(add_frameworks_dep ktexteditor)
+"
+
+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
new file mode 100644
index 000000000000..dced816a5d5e
--- /dev/null
+++ b/kde-apps/kig/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <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>