summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-09-06 21:10:03 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-09-06 21:11:17 +0200
commitcace445d5118ee027dc43f829fc50f27d623134c (patch)
tree2dfaad77bd443bf2f28d49d3bcf8c2880aa92ff3 /kde-apps/kajongg
parentdev-util/rbtools: maintainer-needed (diff)
downloadgentoo-cace445d5118ee027dc43f829fc50f27d623134c.tar.gz
gentoo-cace445d5118ee027dc43f829fc50f27d623134c.tar.bz2
gentoo-cace445d5118ee027dc43f829fc50f27d623134c.zip
kde-apps: Add KDE Applications 19.08.1
Package-Manager: Portage-2.3.75, Repoman-2.3.17 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-19.08.1.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest
index f628a62803f4..f5b12304e136 100644
--- a/kde-apps/kajongg/Manifest
+++ b/kde-apps/kajongg/Manifest
@@ -1,2 +1,3 @@
DIST kajongg-19.04.3.tar.xz 4466048 BLAKE2B 4a11030bcb95abeb336b7e1dfbd0e878a8d36e148245b4cf3b10bdfc0812a445e18cdd5f4729118bf663c860efae2d5079bab76c3a1fb3f412b6f8ef1b8f4d22 SHA512 6e2091c46cbfb5916eb3e2a219b391d97a7b3eab6f3b2942032ba663f1589da663a0d5470ca9b285a83f52ae540ee960dfb4276dff3b534835bf52c9203b7bc4
DIST kajongg-19.08.0.tar.xz 4466472 BLAKE2B 90830c82fa0044677cc4a3c0b60012b5ec87fb65e9dc1ae0b15627bc58c1f5690e26c3fa2faf9f566ccab10d928db732ec0cbd8bbb4c1c8a492f970b427fdb0d SHA512 ba5bfcc68f9113de73767ff6f2190726419b978794604426dafeb89f7243f909124bfb338f9ce12a321e6b84156c2ac1ab588f45cd28f98d039510b378e064e1
+DIST kajongg-19.08.1.tar.xz 4465656 BLAKE2B 0d8035e91ba0626fc709a7540eb33461adae03482152bf94a8245b3620b239c964631e3784a8bb183dde487aec628177880530ccdf9bc593a22934b863d32a23 SHA512 46291daef0695682aad3ebc4eac2e0ba6ed0772085b89bae2e3b8b648454581fd71be5c702ca066d0554a83b44ecf6a02c48953485a8fd94f8fe1a15cc33348e
diff --git a/kde-apps/kajongg/kajongg-19.08.1.ebuild b/kde-apps/kajongg/kajongg-19.08.1.ebuild
new file mode 100644
index 000000000000..cd9c6be7b3a6
--- /dev/null
+++ b/kde-apps/kajongg/kajongg-19.08.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KDE_AUTODEPS="false"
+KDE_HANDBOOK="forceoptional"
+PYTHON_COMPAT=( python3_{5,6,7} )
+inherit python-single-r1 kde5
+
+DESCRIPTION="Classical Mah Jongg for four players"
+HOMEPAGE="https://kde.org/applications/games/kajongg/"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ $(add_frameworks_dep extra-cmake-modules)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep ki18n)
+ $(add_kdeapps_dep libkdegames)
+ $(add_qt_dep qtcore)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwidgets)
+ dev-db/sqlite:3
+ dev-python/PyQt5[gui,svg,widgets,${PYTHON_USEDEP}]
+ >=dev-python/twisted-16.6.0[${PYTHON_USEDEP}]
+"
+RDEPEND="${DEPEND}
+ $(add_kdeapps_dep libkmahjongg)
+"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ kde5_pkg_setup
+}
+
+src_prepare() {
+ python_fix_shebang src
+ kde5_src_prepare
+ sed -i -e "/KDE_ADD_PYTHON_EXECUTABLE/s/^/#DONT/" CMakeLists.txt || die
+}
+
+src_install() {
+ kde5_src_install
+ dosym ../share/kajongg/kajongg.py /usr/bin/kajongg
+ dosym ../share/kajongg/kajonggserver.py /usr/bin/kajonggserver
+ fperms a+x /usr/share/kajongg/kajongg{,server}.py
+}