summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-04-24 12:02:43 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-04-24 15:45:56 +0200
commitd3a81fa887efa45307af66908000cf167c651eb4 (patch)
tree1d989b22159e29f9330f3d032d39b2f7e69dfb6c /kde-apps/kajongg
parentkde-apps/granatier: 21.04.0 version bump (diff)
downloadgentoo-d3a81fa887efa45307af66908000cf167c651eb4.tar.gz
gentoo-d3a81fa887efa45307af66908000cf167c651eb4.tar.bz2
gentoo-d3a81fa887efa45307af66908000cf167c651eb4.zip
kde-apps/kajongg: 21.04.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-21.04.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest
index 121e1aa82f6c..d3b34ab8c0b5 100644
--- a/kde-apps/kajongg/Manifest
+++ b/kde-apps/kajongg/Manifest
@@ -1 +1,2 @@
DIST kajongg-20.12.3.tar.xz 4471984 BLAKE2B 0101613bada0322e27640135fe103980b5436c34593d2214093adeb8426fbc95a1b7258f027229488daf378a84f44f232ea8ebfb54f39b97b397b06093a85a53 SHA512 6821c06c1eb7aa9f55872234289de9ffe503dbe6183bb208aee104769fe8fa1af4cc2e34448f5902046c576e0823c1724f215a0bc9a3f60ef25b59b81d85ffa6
+DIST kajongg-21.04.0.tar.xz 4472996 BLAKE2B 6aa58f7c8903d4aa76db2333a8f733080662156287c5fed618df3dd61ca63aea1456b9250c0c608bb4dfbee7bd7cc22eeca43610e7fd39d478d455300536f4ed SHA512 88143faf29323cd6cc7e1789174484e89a44ff6acc5ed0546c768567006c1554b4cd5459c4b9cf82b06be7f7feba33da96084875e9a56a475f887f83cd7f73b0
diff --git a/kde-apps/kajongg/kajongg-21.04.0.ebuild b/kde-apps/kajongg/kajongg-21.04.0.ebuild
new file mode 100644
index 000000000000..6a88bf751aeb
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-21.04.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 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.80.0
+QTMIN=5.15.2
+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
+}