summaryrefslogtreecommitdiff
path: root/kde-apps/kajongg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-15 17:25:28 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-15 17:25:28 +0000
commit6b933047f46efec1aa747570f945344254227457 (patch)
treea12a4b87b38f954c4de435272cf4b90d721df5e8 /kde-apps/kajongg
parentf45955e60d4da9b7f4a1088c98042f9c06669039 (diff)
gentoo resync : 15.12.2017
Diffstat (limited to 'kde-apps/kajongg')
-rw-r--r--kde-apps/kajongg/Manifest4
-rw-r--r--kde-apps/kajongg/kajongg-17.12.0.ebuild53
2 files changed, 56 insertions, 1 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest
index 4fbba7a8b21c..e87c72f3cd2b 100644
--- a/kde-apps/kajongg/Manifest
+++ b/kde-apps/kajongg/Manifest
@@ -1,3 +1,5 @@
-DIST kajongg-17.08.3.tar.xz 4239184 SHA256 46c1457039c30fa0415ab8e841e5474766aa4f6502a90367fa30fe6e8939ab03 SHA512 e4e595988da98cd2f7dbf089c8c29a88e1df57bfaab98e8efddcc0e69ea5c7cfd74c7557661e6b6b86649ebb8a487c6609a05e16a7fcd272048140ff22389402 WHIRLPOOL 5f0e8a4950ed98ed883a2efee0e91bf15ba7e98048a8baa4138b884d94e10f7123864c2f823dd8bee7dda490005332ce03a7f9ef441e04ff1bd814ea367e8304
+DIST kajongg-17.08.3.tar.xz 4239184 BLAKE2B 5e8db5a3f11f8f820a9aea7ae587e703e21cee34816cc56980cf499ad5e411dcf90cf738b0d0ef2d8267639ffa4988a31c0b9fe87351a29c8898da96e7560288 SHA512 e4e595988da98cd2f7dbf089c8c29a88e1df57bfaab98e8efddcc0e69ea5c7cfd74c7557661e6b6b86649ebb8a487c6609a05e16a7fcd272048140ff22389402
+DIST kajongg-17.12.0.tar.xz 4239560 BLAKE2B 7f05519d7aae46a9eba15514903e87dc903379612376ae505905a5cda92a6131d288c9d2cc2b328bbf35d4e29dd410b15ae0b563ac449eca00398a31b4f31a16 SHA512 3f48d29bc29d6a8c9960bf38505a363c0666ea811dd09e7d981478b41830f29fe6d9f388e86a6fafd8468417318987691a76e1e11573c1c1623c8bbbe6ba1edd
EBUILD kajongg-17.08.3.ebuild 1280 BLAKE2B 71be5379c4b9728a7f2b11dd1d9c0d3f7bcf179dff181618e276aa0659027cf57c76ee29a8fc1a111a199934fa23a43cb206ed2f9c82f1353aeb19e8c040431e SHA512 9db9c9c1c2493f36f1a450195b1687797bc20dc798d155550439228625610523a870caa3709b6d1e2cb53c5700dd1fe754ce5fc4bd532f76cca81627ef6177a0
+EBUILD kajongg-17.12.0.ebuild 1282 BLAKE2B 97b82e79df397278e15eeb43db2e26a81695267f00809577704890d715ac20d1bf047906f291fe594cab4f715278761133d2973eb890352b7c5f76c123865bfc SHA512 9966c8744054f85cb7945414f2e70f26f0da81dce463bbe336e6d16f46b2b6121c74025e972b788f3d5b72b3313cae86998b8c8203985b14b22baeb527238f72
MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3
diff --git a/kde-apps/kajongg/kajongg-17.12.0.ebuild b/kde-apps/kajongg/kajongg-17.12.0.ebuild
new file mode 100644
index 000000000000..9a3e1409230a
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-17.12.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 ~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
+}