diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-08-17 20:21:16 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-08-17 20:58:09 +0200 |
commit | c1063afea17a29bb75dbbbf0121fa5c8ad948574 (patch) | |
tree | c62ccf9ec787742c39c2afd14ac1198894802629 /kde-apps/kajongg | |
parent | media-libs/libqaccessibilityclient: New package (diff) | |
download | gentoo-c1063afea17a29bb75dbbbf0121fa5c8ad948574.tar.gz gentoo-c1063afea17a29bb75dbbbf0121fa5c8ad948574.tar.bz2 gentoo-c1063afea17a29bb75dbbbf0121fa5c8ad948574.zip |
kde-apps: Add KDE Applications 17.08.0
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'kde-apps/kajongg')
-rw-r--r-- | kde-apps/kajongg/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kajongg/kajongg-17.08.0.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest index 361580ed4816..8e03792b3b14 100644 --- a/kde-apps/kajongg/Manifest +++ b/kde-apps/kajongg/Manifest @@ -1 +1,2 @@ DIST kajongg-17.04.3.tar.xz 4238880 SHA256 2f8126f6e7ee92d8e9ed81532ce30e7a516f4d9182761c74519522dbf74b9832 SHA512 bdcad89371627f199ac85715f9518abca613d80bb2718e26e8757ce50ea01db12308e11e8956459c0b05fad41dce9378829811705e60150e39e1678e2f18901b WHIRLPOOL 5b59be0dd642cf03f93401aa10e1667fcc1912dc8474456188076c4bfcd68475bfcc5cc3c062257da33778e9bd709dd6606add53436a2253fd68c578ae330433 +DIST kajongg-17.08.0.tar.xz 4238780 SHA256 c1a3987ebe0d44579f2ec3bad34b275b9429611aacf244f0d704d754dfb8c159 SHA512 60fb01d6d13eafcf548ac4603fee9199d5adce4619b3094f865e88649d7bf23c654e8599b750c94661f9bcd05668a886216fa21f6ba70656227b1c7c2ae789b6 WHIRLPOOL ffbad1964709cf473b8e2de3ea588c785ca1438d9a903689c33c62d830f96cf80024d766a17e25e601b24993de5dfd8c5ca038b9a04057654fcb3aab416674a8 diff --git a/kde-apps/kajongg/kajongg-17.08.0.ebuild b/kde-apps/kajongg/kajongg-17.08.0.ebuild new file mode 100644 index 000000000000..9a3e1409230a --- /dev/null +++ b/kde-apps/kajongg/kajongg-17.08.0.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 ~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 +} |