summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-12-09 11:46:37 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-12-09 12:26:00 +0100
commitf9a00dfd9708d68baab174c5beafbe18fa5ea1bd (patch)
treede913a1c7e64f5e97c67b38aa452b605e73a1cff /kde-apps/kajongg
parentkde-apps/granatier: 21.12.0 version bump (diff)
downloadgentoo-f9a00dfd9708d68baab174c5beafbe18fa5ea1bd.tar.gz
gentoo-f9a00dfd9708d68baab174c5beafbe18fa5ea1bd.tar.bz2
gentoo-f9a00dfd9708d68baab174c5beafbe18fa5ea1bd.zip
kde-apps/kajongg: 21.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-21.12.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest
index c19912272e68..e8050657a62b 100644
--- a/kde-apps/kajongg/Manifest
+++ b/kde-apps/kajongg/Manifest
@@ -1 +1,2 @@
DIST kajongg-21.08.3.tar.xz 4558208 BLAKE2B 0f92104be52b61ac107d6530078fd669509d40d39dec2a27f9bf22230e3395e756e7e58f809d8536d98d0d5fb2b2312c0f26ab94de6e216a27fd2408167a514c SHA512 017f687822e5de18466333e70479bfab12b7d22f28ba69479adf16cca99ef102106c2b6aa55dea801edb2299fb2ad5de379bb30942314ff2a195beb54695ae2f
+DIST kajongg-21.12.0.tar.xz 4560512 BLAKE2B 4380e9827f6adc7e0e5ec5f2368df42355970752d156f1a97214fdcd27cb554ddbe9e85599773771dc3030c9900e755f6f84740830faaeb30a597a9a15af619a SHA512 65f2cea751396ab3e1826133884eea81e96db550dde7c382681f4fc896c5f4c7ba1e222161f2c4250def294e059d8858b29640ceb0b0621567184f38a6bd24ee
diff --git a/kde-apps/kajongg/kajongg-21.12.0.ebuild b/kde-apps/kajongg/kajongg-21.12.0.ebuild
new file mode 100644
index 000000000000..e6e07170fdd6
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-21.12.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 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
+}