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.1.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest
index e8050657a62b..12095ff961cf 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.0.tar.xz 4560512 BLAKE2B 4380e9827f6adc7e0e5ec5f2368df42355970752d156f1a97214fdcd27cb554ddbe9e85599773771dc3030c9900e755f6f84740830faaeb30a597a9a15af619a SHA512 65f2cea751396ab3e1826133884eea81e96db550dde7c382681f4fc896c5f4c7ba1e222161f2c4250def294e059d8858b29640ceb0b0621567184f38a6bd24ee
+DIST kajongg-21.12.1.tar.xz 4560668 BLAKE2B d298653992aa2e795742a5b7ec18e941223e2c182c81aa1347cd29befc29237bc86466d7a2287d3390e5a572ef641bcf1dcf2efcffa1363c27be507ebfab096c SHA512 5d59a8fbdabdda6c9f048ba6a2d5d7391574617ef103e6681de8f44565862c83d627c6dd1d8e608bbaedb891178240f00bfa680c9ca2738717c8f4506c8fd7c3
diff --git a/kde-apps/kajongg/kajongg-21.12.1.ebuild b/kde-apps/kajongg/kajongg-21.12.1.ebuild
new file mode 100644
index 000000000000..8dd870d3085b
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-21.12.1.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
+}