diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-05-11 23:13:25 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-05-11 23:46:08 +0200 |
commit | 2de492f66f593f97c84056a21259aaa5653681dd (patch) | |
tree | fe20d10d8a88b87b3b6ef55c8ac06f5b3621c0f0 /kde-apps/kajongg | |
parent | kde5.eclass: Disable kdoctools_install(po) if KDE_HANDBOOK=forceoptional (diff) | |
download | gentoo-2de492f66f593f97c84056a21259aaa5653681dd.tar.gz gentoo-2de492f66f593f97c84056a21259aaa5653681dd.tar.bz2 gentoo-2de492f66f593f97c84056a21259aaa5653681dd.zip |
kde-apps: Add KDE Applications 17.04.1
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'kde-apps/kajongg')
-rw-r--r-- | kde-apps/kajongg/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kajongg/kajongg-17.04.1.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest index f60fe541efe4..eafa3a901cae 100644 --- a/kde-apps/kajongg/Manifest +++ b/kde-apps/kajongg/Manifest @@ -1,2 +1,3 @@ DIST kajongg-16.12.3.tar.xz 2528552 SHA256 accc4b1bc857495bc1d9fdc9aa3274f5a2aaf566b49741085640d36b059d9c77 SHA512 28daa6d6b06ea2eb473764b01bf8aa776be9e37def8d63970fa4f8c98c3c5c52d04de9be6259da3fbaebbead52caf61f9a72831439135babe4e331cd0f4ad6a9 WHIRLPOOL a753525bd01a8c58a9515ddfaf2393501088184d778387c70be3d43d84e95fb0d7a6e9d39ed2818e565d5c761593633a9493eca1103000020cf992dd16b07418 DIST kajongg-17.04.0.tar.xz 4232900 SHA256 b68f9ccc282f0aa4795456767813cbbe98ce115181daf61b5d306aaab353eeaf SHA512 63426901c50381932a2df5c2fd835febf886263212b9f2bb0cf21adf00b7ea13d212a6a3bc0905e9134309c7fb6250cffd246dc55681055ff6f2b0dad793b2b8 WHIRLPOOL dc5046e3722099626ee12a41c885e031ce43ec201cfda9dfe7249913926b41f0bb25a251e1eb102be1767d7cfac5bdeeec4413aa4913960e9fb1f71f29d71915 +DIST kajongg-17.04.1.tar.xz 4232840 SHA256 5de06b3a3a22becc993a4062a0ff5edfa1ea611dc1d733ca81541f8565c0fd58 SHA512 deb3cd0319d3237220f33633f488f71d215da33db25b2896e1f3fa22a06c353e7572b04c6561ed9cf48d884c99c773e261684e1872b04a9684cc48bc94333aa7 WHIRLPOOL 5d4b54b3903a2bbfb6cb2091f6b5eebcbf98ac1f1b366b5653ef7132a944e66c6ecece9089bdc05167fc039c680738852883c64270e19fecc2987cbbdf4b3bb0 diff --git a/kde-apps/kajongg/kajongg-17.04.1.ebuild b/kde-apps/kajongg/kajongg-17.04.1.ebuild new file mode 100644 index 000000000000..44b8f81b84d1 --- /dev/null +++ b/kde-apps/kajongg/kajongg-17.04.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 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 ~arm ~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 +} |