summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2017-06-08 23:00:50 +0200
committerJohannes Huber <johu@gentoo.org>2017-06-08 23:00:50 +0200
commitc892d3edb4099fe424a61b0d1aa296132d872ba0 (patch)
treee010db999c552c23e6993bd429516c40db852fe6 /kde-apps/kajongg
parentkde-frameworks/kdelibs: Version bump 4.14.33 (diff)
downloadgentoo-c892d3edb4099fe424a61b0d1aa296132d872ba0.tar.gz
gentoo-c892d3edb4099fe424a61b0d1aa296132d872ba0.tar.bz2
gentoo-c892d3edb4099fe424a61b0d1aa296132d872ba0.zip
kde-apps: Version bump KDE Applications 17.04.2
Package-Manager: Portage-2.3.6, 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.2.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest
index 8e1b5dc2eddc..7c123227aad5 100644
--- a/kde-apps/kajongg/Manifest
+++ b/kde-apps/kajongg/Manifest
@@ -1,2 +1,3 @@
DIST kajongg-16.12.3.tar.xz 2528552 SHA256 accc4b1bc857495bc1d9fdc9aa3274f5a2aaf566b49741085640d36b059d9c77 SHA512 28daa6d6b06ea2eb473764b01bf8aa776be9e37def8d63970fa4f8c98c3c5c52d04de9be6259da3fbaebbead52caf61f9a72831439135babe4e331cd0f4ad6a9 WHIRLPOOL a753525bd01a8c58a9515ddfaf2393501088184d778387c70be3d43d84e95fb0d7a6e9d39ed2818e565d5c761593633a9493eca1103000020cf992dd16b07418
DIST kajongg-17.04.1.tar.xz 4232840 SHA256 5de06b3a3a22becc993a4062a0ff5edfa1ea611dc1d733ca81541f8565c0fd58 SHA512 deb3cd0319d3237220f33633f488f71d215da33db25b2896e1f3fa22a06c353e7572b04c6561ed9cf48d884c99c773e261684e1872b04a9684cc48bc94333aa7 WHIRLPOOL 5d4b54b3903a2bbfb6cb2091f6b5eebcbf98ac1f1b366b5653ef7132a944e66c6ecece9089bdc05167fc039c680738852883c64270e19fecc2987cbbdf4b3bb0
+DIST kajongg-17.04.2.tar.xz 4238996 SHA256 2f8a0d06fb79f09d2187bcd4a83d5f48183d4d798d13cdb812f029eee0ec9f23 SHA512 5e97d5c966101577c57bca10ba1a09832158c22cf07d7769a9488e0b48c41926562fa8279d82252555beb008fc73b57ce100cf09717e60d3dbeb998e1bd06816 WHIRLPOOL 5b7db49847b64a29641509acbe34fc5e0484d40eaf02b13f688f7dc29faa7c885b96ac16b8d45a05da717c8a2acf52bc0ee03052c8cd467470bd9f609fb5321f
diff --git a/kde-apps/kajongg/kajongg-17.04.2.ebuild b/kde-apps/kajongg/kajongg-17.04.2.ebuild
new file mode 100644
index 000000000000..44b8f81b84d1
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-17.04.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 ~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 ../share/kajongg/kajongg.py /usr/bin/kajongg
+ dosym ../share/kajongg/kajonggserver.py /usr/bin/kajonggserver
+ fperms a+x /usr/share/kajongg/kajongg{,server}.py
+}