summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-10-12 16:10:58 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-10-12 16:18:26 +0200
commita6d3a93f1f50f5797b4d119f529dffcaf0d3a1e4 (patch)
tree4d3ec8ddaa83500e5b7b78a9fdbb5d4fd20540d5 /kde-apps/kajongg
parentkde-frameworks/kdelibs: 4.14.37 version bump (diff)
downloadgentoo-a6d3a93f1f50f5797b4d119f529dffcaf0d3a1e4.tar.gz
gentoo-a6d3a93f1f50f5797b4d119f529dffcaf0d3a1e4.tar.bz2
gentoo-a6d3a93f1f50f5797b4d119f529dffcaf0d3a1e4.zip
kde-apps: Add KDE Applications 17.08.2
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'kde-apps/kajongg')
-rw-r--r--kde-apps/kajongg/Manifest1
-rw-r--r--kde-apps/kajongg/kajongg-17.08.2.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest
index 1a8f92aff9e4..f29efc430d30 100644
--- a/kde-apps/kajongg/Manifest
+++ b/kde-apps/kajongg/Manifest
@@ -1,2 +1,3 @@
DIST kajongg-17.04.3.tar.xz 4238880 SHA256 2f8126f6e7ee92d8e9ed81532ce30e7a516f4d9182761c74519522dbf74b9832 SHA512 bdcad89371627f199ac85715f9518abca613d80bb2718e26e8757ce50ea01db12308e11e8956459c0b05fad41dce9378829811705e60150e39e1678e2f18901b WHIRLPOOL 5b59be0dd642cf03f93401aa10e1667fcc1912dc8474456188076c4bfcd68475bfcc5cc3c062257da33778e9bd709dd6606add53436a2253fd68c578ae330433
DIST kajongg-17.08.1.tar.xz 4239024 SHA256 a59e30b490130121e205ca8b9a9a9f02e4e501309d71ebf7bdb263be08af7e81 SHA512 7f5e148ab6d6de0d65527cf31d32c62b40846e52c904df48a5a3b4fe57f750d7d3e69eda6b780e9ad423a679d01949476e86adc257af27265351a75376dd474b WHIRLPOOL fc7a3d41daff1813e345ca639f2afb4fe1a27a162698ee470258a18697b924faf43048edcf092da2707effffcdf62a7f6cb22d7291180353ae694170306dc7b2
+DIST kajongg-17.08.2.tar.xz 4238888 SHA256 7f6bf9ff311569c1b48a8fc0e44184ac2c642f74c76ce7804690e9e80d300718 SHA512 3b88d92b4d925020ee7eefd3312046e87ea1fde62d72970bba0bc7cb9b64a7427bbd9cfd268dfec24f57c4f15009410dc27b7f5a20216f672083bc624e2791b0 WHIRLPOOL b9a767911e83da972feb5c5c67257fb76645f27e2211aa9fcc8bc0b2be57b9844cbc9916194d50b7b2b71ce9511958dd1786e8604b0a78ba898eaccb77745835
diff --git a/kde-apps/kajongg/kajongg-17.08.2.ebuild b/kde-apps/kajongg/kajongg-17.08.2.ebuild
new file mode 100644
index 000000000000..9a3e1409230a
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-17.08.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_AUTODEPS="false"
+KDE_HANDBOOK="forceoptional"
+PYTHON_COMPAT=( python3_{5,6} )
+inherit python-single-r1 kde5
+
+DESCRIPTION="Classical Mah Jongg for four players"
+HOMEPAGE="https://www.kde.org/applications/games/kajongg/"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ $(add_frameworks_dep extra-cmake-modules)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep ki18n)
+ $(add_kdeapps_dep libkdegames)
+ $(add_qt_dep qtcore)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwidgets)
+ dev-db/sqlite:3
+ dev-python/PyQt5[gui,svg,widgets,${PYTHON_USEDEP}]
+ >=dev-python/twisted-16.6.0[${PYTHON_USEDEP}]
+"
+RDEPEND="${DEPEND}
+ $(add_kdeapps_dep libkmahjongg)
+ !kde-apps/kajongg:4
+ !<kde-apps/kde4-l10n-17.03.90:4
+"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ kde5_pkg_setup
+}
+
+src_prepare() {
+ python_fix_shebang src
+ kde5_src_prepare
+ sed -i -e "/KDE_ADD_PYTHON_EXECUTABLE/s/^/#DONT/" CMakeLists.txt || die
+}
+
+src_install() {
+ kde5_src_install
+ dosym ../share/kajongg/kajongg.py /usr/bin/kajongg
+ dosym ../share/kajongg/kajonggserver.py /usr/bin/kajonggserver
+ fperms a+x /usr/share/kajongg/kajongg{,server}.py
+}