summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/kajongg')
-rw-r--r--kde-apps/kajongg/Manifest1
-rw-r--r--kde-apps/kajongg/kajongg-21.12.2.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest
index 733ea0cd497f..debf0b1d383e 100644
--- a/kde-apps/kajongg/Manifest
+++ b/kde-apps/kajongg/Manifest
@@ -1,2 +1,3 @@
DIST kajongg-21.08.3.tar.xz 4558208 BLAKE2B 0f92104be52b61ac107d6530078fd669509d40d39dec2a27f9bf22230e3395e756e7e58f809d8536d98d0d5fb2b2312c0f26ab94de6e216a27fd2408167a514c SHA512 017f687822e5de18466333e70479bfab12b7d22f28ba69479adf16cca99ef102106c2b6aa55dea801edb2299fb2ad5de379bb30942314ff2a195beb54695ae2f
DIST kajongg-21.12.1.tar.xz 4560668 BLAKE2B d298653992aa2e795742a5b7ec18e941223e2c182c81aa1347cd29befc29237bc86466d7a2287d3390e5a572ef641bcf1dcf2efcffa1363c27be507ebfab096c SHA512 5d59a8fbdabdda6c9f048ba6a2d5d7391574617ef103e6681de8f44565862c83d627c6dd1d8e608bbaedb891178240f00bfa680c9ca2738717c8f4506c8fd7c3
+DIST kajongg-21.12.2.tar.xz 4560600 BLAKE2B 8895040ab890a741ae33718a5c86910ad6ac6f6e32c0fdc8de605975f18a992c347c2581a4c1a33c4d339a7e67edcdef0575d7eb2248a6e9c26ba5a3c12aac1c SHA512 e5014c7cb0073dd8d6f8db18fe28a3b018f579cb9da22d3cffdcf68387bcb56d45c47843598ffd1b387df63bcef0c87db47e8bc13cd6215a7ebed4cc45e7dd9d
diff --git a/kde-apps/kajongg/kajongg-21.12.2.ebuild b/kde-apps/kajongg/kajongg-21.12.2.ebuild
new file mode 100644
index 000000000000..8dd870d3085b
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-21.12.2.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..10} )
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.88.0
+QTMIN=5.15.2
+inherit python-single-r1 ecm 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
+}