summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-apps/kajongg/Manifest1
-rw-r--r--kde-apps/kajongg/kajongg-22.04.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest
index ab00398c01ee..305156eca41a 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.3.tar.xz 4560472 BLAKE2B 517ed163099f56d67a75cd7cbd76069affff8fa95ad3860a4702f8200ed58b3bddebfe21d17e1bb7e86f8983a8292ffe52c09cf1fa5509c44eaf7a753c857a25 SHA512 7b0cf7cb4994946b7e5fb1a203a4fd0a7ea9be7fd095f694033c1c56f3aa514703213474aed3e670800a0e09cc005d1fd3c964248ad6eaaf2b600bfa3a913b01
+DIST kajongg-22.04.0.tar.xz 4567040 BLAKE2B 11186c38e725c70291eff916525d0366d3ee42c9e76c229a4f73ad1bb0253f71813f20995fd1f0fd54e869aab957ffad2f0b91126c69d8c76ffd2faff3f5b733 SHA512 f607763a9b9da77fbccd36259a7bd66bb08db2360bcf41a82bfbe826cbdebfc24a907d7ac2554895e9ff2a10d8f4e70166b13f21759ba610a088ef2361750258
diff --git a/kde-apps/kajongg/kajongg-22.04.0.ebuild b/kde-apps/kajongg/kajongg-22.04.0.ebuild
new file mode 100644
index 000000000000..e8ea0981cde1
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-22.04.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..10} )
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.92.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
+}