summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-11 17:17:01 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-11 18:14:22 +0100
commit85faab2e366afa6293f3c9781866f04631fc6213 (patch)
tree38279f6f2d8718267d122dfac04798f46f87232c /kde-apps/kajongg
parentprofiles/package.mask: remove obsolete media-radio/wspr entry (diff)
downloadgentoo-85faab2e366afa6293f3c9781866f04631fc6213.tar.gz
gentoo-85faab2e366afa6293f3c9781866f04631fc6213.tar.bz2
gentoo-85faab2e366afa6293f3c9781866f04631fc6213.zip
kde-apps: Add KDE Applications 17.12.1
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'kde-apps/kajongg')
-rw-r--r--kde-apps/kajongg/Manifest1
-rw-r--r--kde-apps/kajongg/kajongg-17.12.1.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest
index c47bb5194835..d9facc3f071c 100644
--- a/kde-apps/kajongg/Manifest
+++ b/kde-apps/kajongg/Manifest
@@ -1,2 +1,3 @@
DIST kajongg-17.08.3.tar.xz 4239184 BLAKE2B 5e8db5a3f11f8f820a9aea7ae587e703e21cee34816cc56980cf499ad5e411dcf90cf738b0d0ef2d8267639ffa4988a31c0b9fe87351a29c8898da96e7560288 SHA512 e4e595988da98cd2f7dbf089c8c29a88e1df57bfaab98e8efddcc0e69ea5c7cfd74c7557661e6b6b86649ebb8a487c6609a05e16a7fcd272048140ff22389402
DIST kajongg-17.12.0.tar.xz 4239560 BLAKE2B 7f05519d7aae46a9eba15514903e87dc903379612376ae505905a5cda92a6131d288c9d2cc2b328bbf35d4e29dd410b15ae0b563ac449eca00398a31b4f31a16 SHA512 3f48d29bc29d6a8c9960bf38505a363c0666ea811dd09e7d981478b41830f29fe6d9f388e86a6fafd8468417318987691a76e1e11573c1c1623c8bbbe6ba1edd
+DIST kajongg-17.12.1.tar.xz 4239736 BLAKE2B 8de212ebcbd4ce24124d1b7904bd33fe7a737ebfbb8352f464341bd0d138a395d3cb8aa631df79e140bfdbd250bd35339732856f4f76b2d345be42421e885126 SHA512 beddcd6be75b022d6209d91337cddefdd6b8734b6d8bd7eeb1585544bb5f204a119904016f12e2c6cabbfed46b3b5d8d46ee7e82e3efe31e90712d0a07f00d01
diff --git a/kde-apps/kajongg/kajongg-17.12.1.ebuild b/kde-apps/kajongg/kajongg-17.12.1.ebuild
new file mode 100644
index 000000000000..1c531f3048e1
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-17.12.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2018 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
+}