summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-12-12 15:17:46 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-12-12 18:57:10 +0100
commit35f3efa912caa4805355e34cf7950d5f5ac49ec1 (patch)
treedf068032d56c60d845b3b75da12f4d7b0e90cdac /kde-apps/kajongg
parentkde-apps/granatier: 20.12.0 version bump (diff)
downloadgentoo-35f3efa912caa4805355e34cf7950d5f5ac49ec1.tar.gz
gentoo-35f3efa912caa4805355e34cf7950d5f5ac49ec1.tar.bz2
gentoo-35f3efa912caa4805355e34cf7950d5f5ac49ec1.zip
kde-apps/kajongg: 20.12.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.12.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest
index ad3e1d0da3de..84018d45da28 100644
--- a/kde-apps/kajongg/Manifest
+++ b/kde-apps/kajongg/Manifest
@@ -1 +1,2 @@
DIST kajongg-20.08.3.tar.xz 4475032 BLAKE2B 736fea6a3a10131d94b72a5ec5b44160e790ee62884d60524ee80ac26540a116d9b9c0ce5fe63270ba9b4676ed16cd7f0469f6982f11d96412fa68d997aa0ed0 SHA512 b63f989cc166808326c1d3ea33d884f957bb1b33a38f1ab26339b18f6b822239da505c161c956fbde720b3c5f52e2956b910761bb6c6a8cca75e88d140742f30
+DIST kajongg-20.12.0.tar.xz 4471676 BLAKE2B f7019b2c4eeee14b4cbe816f4349698731173877e7c27a0ad59da83eac8dc29bb05ff44e015cfd76793eaed42fedba2d9c21c4bf70f5e0a2e03edb8f5f034ed4 SHA512 43510b897b78bc94a0564fddc886cd20859a5946b85f078d52f75a118f2cc53edc09bdf6c226e6242fb1573b27fe2d7b6845cdd993961d3b1c753f23fa510ddd
diff --git a/kde-apps/kajongg/kajongg-20.12.0.ebuild b/kde-apps/kajongg/kajongg-20.12.0.ebuild
new file mode 100644
index 000000000000..80113852a766
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-20.12.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,9} )
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.75.0
+QTMIN=5.15.1
+inherit python-single-r1 ecm kde.org
+
+DESCRIPTION="Classical Mah Jongg for four players"
+HOMEPAGE="https://apps.kde.org/en/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
+}