diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-06-07 19:18:20 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-06-07 19:18:36 +0200 |
commit | 2fb79a4076772020c18be0215abb7a430ac12b3b (patch) | |
tree | 02e6972566d0e4e18611dfd81121657a95919e66 /kde-apps/kajongg | |
parent | dev-libs/libinput: Restore version 1.10.6 (diff) | |
download | gentoo-2fb79a4076772020c18be0215abb7a430ac12b3b.tar.gz gentoo-2fb79a4076772020c18be0215abb7a430ac12b3b.tar.bz2 gentoo-2fb79a4076772020c18be0215abb7a430ac12b3b.zip |
kde-apps: Add KDE Applications 18.04.2
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'kde-apps/kajongg')
-rw-r--r-- | kde-apps/kajongg/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kajongg/kajongg-18.04.2.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest index fd9dab998e56..68d8b95b5f0c 100644 --- a/kde-apps/kajongg/Manifest +++ b/kde-apps/kajongg/Manifest @@ -1,2 +1,3 @@ DIST kajongg-17.12.3.tar.xz 4238944 BLAKE2B 5b953695413d8486468be2e83d7326199415a1cfe3f2fdba834f0ac3be841042efc73fea11d0c2e0177573065b0576f058e8e3527d7186c02e37986c86bdcb5e SHA512 c1d8a0934952cf11d3de3bc081cc7b33b42a7707cc0cdf91a669087f6707108aa6be25a34a065128afcf63602491096f8533bbcebc8ba89a37f310caab9515b5 DIST kajongg-18.04.1.tar.xz 4241840 BLAKE2B 84af78f329c753fa29df4af225dfe44fc6a544415d9b91b7a2eb6a50ffc0ff43faf154d002966cbbb47890263344f5ec38bde961e07b41178ce4af1533623770 SHA512 5d4b7dcf08fee5869d81edbfc87c80051d7535a34eb492c30308042ac035c38628f718719fe63a7a8b6b2f33f9cb6f80952e52c858e68b2593172e71ac4f9bf2 +DIST kajongg-18.04.2.tar.xz 4241864 BLAKE2B cab6e62051b5615a86a266d7075f26564c0bfa31a0fc4146456b3bcae4dd5b67d193115ed5735288ec7c3ecb6a6f528cceba95b066c32373f671204e61a05a46 SHA512 d92b897a52f6b0056daa195ffb3e7abf2db60f99f9572ef9bb51a41afe40f518c491fba6dfb1ecaabbf2228d3fe122771e1eb489c04699cab974362cdbc20511 diff --git a/kde-apps/kajongg/kajongg-18.04.2.ebuild b/kde-apps/kajongg/kajongg-18.04.2.ebuild new file mode 100644 index 000000000000..1c531f3048e1 --- /dev/null +++ b/kde-apps/kajongg/kajongg-18.04.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_AUTODEPS="false" +KDE_HANDBOOK="forceoptional" +PYTHON_COMPAT=( python3_{5,6} ) +inherit python-single-r1 kde5 + +DESCRIPTION="Classical Mah Jongg for four players" +HOMEPAGE="https://www.kde.org/applications/games/kajongg/" +KEYWORDS="~amd64 ~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) + !kde-apps/kajongg:4 + !<kde-apps/kde4-l10n-17.03.90:4 +" + +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 +} |