summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-12-09 21:10:47 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-12-09 21:54:12 +0100
commit65500ba944bf4db215afbe1c7c12733f308cc7f1 (patch)
tree360265d76afdfa9e13b37c625191c818f0ec08fb /kde-apps/kajongg
parentkde-apps/granatier: 22.12.0 version bump (diff)
downloadgentoo-65500ba944bf4db215afbe1c7c12733f308cc7f1.tar.gz
gentoo-65500ba944bf4db215afbe1c7c12733f308cc7f1.tar.bz2
gentoo-65500ba944bf4db215afbe1c7c12733f308cc7f1.zip
kde-apps/kajongg: 22.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-22.12.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest
index 1a558aeca9e3..94b9841ad805 100644
--- a/kde-apps/kajongg/Manifest
+++ b/kde-apps/kajongg/Manifest
@@ -1 +1,2 @@
DIST kajongg-22.08.3.tar.xz 4566776 BLAKE2B 32e6ef57a3ad4d328532c53407e8f47adae6fd563dd8e0e4cfe049faf6448dae342c2d732e9dfa6f8e7afa7531f64d0755918abf5af7559d10716c3365c66881 SHA512 96cb51a842d7966a3490654a2fe70dab7553381f0ec60972748bed0ba3e2a73645b9f2a8a55e7753e415e2246a5103def5b74d7d5a00b431d826c231090c40b0
+DIST kajongg-22.12.0.tar.xz 4576196 BLAKE2B 23970110c0e2aae7e43943a68bb09fe7763de537d1aa1862a67220c87bb962f59e693fa2ad7e0fd87cde15485e924f1ec3339f10349d5a64139baeca03e34a8a SHA512 61e36b747790f34f0453fbc736b43728476b953ff636d014fb4ac083e5a0835f515db69be43286dc14d2fb5a2d5ad49afbddefd3a273abe738f58405687a5cdf
diff --git a/kde-apps/kajongg/kajongg-22.12.0.ebuild b/kde-apps/kajongg/kajongg-22.12.0.ebuild
new file mode 100644
index 000000000000..9f1b3e7a0cec
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-22.12.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+PYTHON_COMPAT=( python3_{8..11} )
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.99.0
+QTMIN=5.15.5
+inherit python-single-r1 ecm gear.kde.org
+
+DESCRIPTION="Classical Mah Jongg for four players"
+HOMEPAGE="https://apps.kde.org/kajongg/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~riscv ~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_USEDEP}]
+ >=dev-python/twisted-16.6.0[${PYTHON_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
+}