diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-10 20:11:31 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-10 22:30:22 +0100 |
commit | 3fa6d920893766911f27b7775c0492b409944e6a (patch) | |
tree | 108d14d03f0cae1229fb85b03791e4cc3f3a8bb9 /kde-apps/kajongg | |
parent | kde-frameworks: Add KDE Frameworks 5.64.0 (diff) | |
download | gentoo-3fa6d920893766911f27b7775c0492b409944e6a.tar.gz gentoo-3fa6d920893766911f27b7775c0492b409944e6a.tar.bz2 gentoo-3fa6d920893766911f27b7775c0492b409944e6a.zip |
kde-apps: Add KDE Applications 19.08.3
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kajongg')
-rw-r--r-- | kde-apps/kajongg/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kajongg/kajongg-19.08.3.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest index f4cfbd10283a..5e0bc514ec48 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.2.tar.xz 4465548 BLAKE2B 64f5563495d6e077d90dd582b38f76176651dd19275e194024a507f6307021626424239ae0e07a633a41898011805c95af9ea0f2009d4059c3bb1a13c65b735e SHA512 d8a58e2c9625fdc5b1064598405f300f8655d8e2312a154ac32c2169b91be3e9283b3962814c92e907d0b853f158329a58b05b11952f0570495c53809ee0bad6 +DIST kajongg-19.08.3.tar.xz 4463292 BLAKE2B 9dab5915414155806d13695cd91dfa27289da3d236a954becc4c9657d05db8968f1801738106a2c2ee31ed493817c0924947abf69b3ce0e31700a1541a8161db SHA512 49c5877216e9c73ff66e11fa8d14e3a82e08149f92c5cfb54ac7057096b0b53a46bf4a8eb4ca2f3b7bde066249b4a65b81ee42cf8969d06d221cf8c89a2fe97e diff --git a/kde-apps/kajongg/kajongg-19.08.3.ebuild b/kde-apps/kajongg/kajongg-19.08.3.ebuild new file mode 100644 index 000000000000..4486345c5207 --- /dev/null +++ b/kde-apps/kajongg/kajongg-19.08.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="forceoptional" +PYTHON_COMPAT=( python3_{6,7} ) +PVCUT=$(ver_cut 1-3) +KFMIN=5.60.0 +QTMIN=5.12.3 +inherit python-single-r1 ecm kde.org + +DESCRIPTION="Classical Mah Jongg for four players" +HOMEPAGE="https://kde.org/applications/games/kajongg/" +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-apps/libkdegames-${PVCUT}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtsvg-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + dev-db/sqlite:3 + 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 + sed -i -e "/KDE_ADD_PYTHON_EXECUTABLE/s/^/#DONT/" CMakeLists.txt || die +} + +src_install() { + ecm_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 +} |