summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-08-13 13:15:12 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-08-13 17:44:23 +0200
commit4ae5c50105d6565229e716707f0d5caa2924613a (patch)
tree61ccb93577ead1f304d3f4509767a608883bd2d5 /kde-apps/kajongg
parentkde-apps/granatier: 20.08.0 version bump (diff)
downloadgentoo-4ae5c50105d6565229e716707f0d5caa2924613a.tar.gz
gentoo-4ae5c50105d6565229e716707f0d5caa2924613a.tar.bz2
gentoo-4ae5c50105d6565229e716707f0d5caa2924613a.zip
kde-apps/kajongg: 20.08.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kajongg')
-rw-r--r--kde-apps/kajongg/Manifest1
-rw-r--r--kde-apps/kajongg/kajongg-20.08.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest
index 0586c71cf809..b37c265ffc29 100644
--- a/kde-apps/kajongg/Manifest
+++ b/kde-apps/kajongg/Manifest
@@ -1 +1,2 @@
DIST kajongg-20.04.3.tar.xz 4467924 BLAKE2B 80bc1717586c93b530973c937c7ca7f5952a701d70ed297b4c5f19d32eea9f037bc4eab32662b2c7042fb4e2ed763c1cb4ebef8e1ad2e82bea995463f9eb38bc SHA512 8621d8f98de76b3debb3593f6f5deed63605023f38dfb682186cd829f355423b84813a47698d4316556eefe65bb2bc8b85225e28d231a5bfec98925ad34ec0cd
+DIST kajongg-20.08.0.tar.xz 4475292 BLAKE2B d28a963f745b1a5b7217b9383608f8988586a67327d1e5945697661d276e53f55bbce0c7b538317f021566b1c56c218e88d50e506e463bbed43f6b2d9e501647 SHA512 340adea2734fabe774caa4975c845f84bff1cea96a3796791365b9aa361d5561fd49e764dacb47697ec4a2bbcd83e39f2b3f6d78762cda1e954858c9db1a1749
diff --git a/kde-apps/kajongg/kajongg-20.08.0.ebuild b/kde-apps/kajongg/kajongg-20.08.0.ebuild
new file mode 100644
index 000000000000..d49b3cf13b01
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-20.08.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+PYTHON_COMPAT=( python3_{7,8} )
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.72.0
+QTMIN=5.14.2
+inherit python-single-r1 ecm kde.org
+
+DESCRIPTION="Classical Mah Jongg for four players"
+HOMEPAGE="https://kde.org/applications/games/org.kde.kajongg"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ dev-db/sqlite:3
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-apps/libkdegames-${PVCUT}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ $(python_gen_cond_dep '
+ dev-python/PyQt5[gui,svg,widgets,${PYTHON_MULTI_USEDEP}]
+ >=dev-python/twisted-16.6.0[${PYTHON_MULTI_USEDEP}]
+ ')
+"
+RDEPEND="${DEPEND}
+ >=kde-apps/libkmahjongg-${PVCUT}:5
+"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ ecm_pkg_setup
+}
+
+src_prepare() {
+ python_fix_shebang src
+ ecm_src_prepare
+}