summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2017-04-20 18:15:02 +0200
committerJohannes Huber <johu@gentoo.org>2017-04-20 18:22:40 +0200
commit8f00b2bf566d896205f52099530159c97b977f68 (patch)
tree6dfeae9f7a9dc7b276cb384a7f4ad8d589de52d1 /kde-apps/kajongg
parentkde5*eclass: KDE Applications 17.04.0 improvements (diff)
downloadgentoo-8f00b2bf566d896205f52099530159c97b977f68.tar.gz
gentoo-8f00b2bf566d896205f52099530159c97b977f68.tar.bz2
gentoo-8f00b2bf566d896205f52099530159c97b977f68.zip
kde-apps: Version bump KDE Applications 17.04.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'kde-apps/kajongg')
-rw-r--r--kde-apps/kajongg/Manifest1
-rw-r--r--kde-apps/kajongg/kajongg-17.04.0.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest
index a21ea9306aff..f60fe541efe4 100644
--- a/kde-apps/kajongg/Manifest
+++ b/kde-apps/kajongg/Manifest
@@ -1 +1,2 @@
DIST kajongg-16.12.3.tar.xz 2528552 SHA256 accc4b1bc857495bc1d9fdc9aa3274f5a2aaf566b49741085640d36b059d9c77 SHA512 28daa6d6b06ea2eb473764b01bf8aa776be9e37def8d63970fa4f8c98c3c5c52d04de9be6259da3fbaebbead52caf61f9a72831439135babe4e331cd0f4ad6a9 WHIRLPOOL a753525bd01a8c58a9515ddfaf2393501088184d778387c70be3d43d84e95fb0d7a6e9d39ed2818e565d5c761593633a9493eca1103000020cf992dd16b07418
+DIST kajongg-17.04.0.tar.xz 4232900 SHA256 b68f9ccc282f0aa4795456767813cbbe98ce115181daf61b5d306aaab353eeaf SHA512 63426901c50381932a2df5c2fd835febf886263212b9f2bb0cf21adf00b7ea13d212a6a3bc0905e9134309c7fb6250cffd246dc55681055ff6f2b0dad793b2b8 WHIRLPOOL dc5046e3722099626ee12a41c885e031ce43ec201cfda9dfe7249913926b41f0bb25a251e1eb102be1767d7cfac5bdeeec4413aa4913960e9fb1f71f29d71915
diff --git a/kde-apps/kajongg/kajongg-17.04.0.ebuild b/kde-apps/kajongg/kajongg-17.04.0.ebuild
new file mode 100644
index 000000000000..af467a5aa031
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-17.04.0.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 ~arm ~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 /usr/share/kajongg/kajongg.py /usr/bin/kajongg
+ dosym /usr/share/kajongg/kajonggserver.py /usr/bin/kajonggserver
+ fperms a+x /usr/share/kajongg/kajongg{,server}.py
+}