summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-apps/kajongg/Manifest1
-rw-r--r--kde-apps/kajongg/kajongg-22.12.1.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest
index 94b9841ad805..bd8b6f37a0e0 100644
--- a/kde-apps/kajongg/Manifest
+++ b/kde-apps/kajongg/Manifest
@@ -1,2 +1,3 @@
DIST kajongg-22.08.3.tar.xz 4566776 BLAKE2B 32e6ef57a3ad4d328532c53407e8f47adae6fd563dd8e0e4cfe049faf6448dae342c2d732e9dfa6f8e7afa7531f64d0755918abf5af7559d10716c3365c66881 SHA512 96cb51a842d7966a3490654a2fe70dab7553381f0ec60972748bed0ba3e2a73645b9f2a8a55e7753e415e2246a5103def5b74d7d5a00b431d826c231090c40b0
DIST kajongg-22.12.0.tar.xz 4576196 BLAKE2B 23970110c0e2aae7e43943a68bb09fe7763de537d1aa1862a67220c87bb962f59e693fa2ad7e0fd87cde15485e924f1ec3339f10349d5a64139baeca03e34a8a SHA512 61e36b747790f34f0453fbc736b43728476b953ff636d014fb4ac083e5a0835f515db69be43286dc14d2fb5a2d5ad49afbddefd3a273abe738f58405687a5cdf
+DIST kajongg-22.12.1.tar.xz 4576316 BLAKE2B 7db3585d4391130ed934c4810267f10578bef71b6079fcaf8c0a2f25fc51c58d28b3f994c29cdf9cc226e529da96411a137acb2b16089880a3a876073cdcd99c SHA512 0b0552f76a571e6e79b886c206179530d20981b99bd44316db6d35ce6a6d15b227037ee6c346fcc6de42f2fad0844d65354a8ee4ac528221950a9912be9aad2a
diff --git a/kde-apps/kajongg/kajongg-22.12.1.ebuild b/kde-apps/kajongg/kajongg-22.12.1.ebuild
new file mode 100644
index 000000000000..ee913104ab76
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-22.12.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 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.101.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
+}