diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-10-11 14:01:29 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-10-11 14:19:52 +0200 |
commit | 9575324283ad2babba8b22185b5255376b8c686b (patch) | |
tree | 1d5567c892d13a113f6d6e7ab923fe3a0c37ba13 /kde-apps/kajongg | |
parent | media-gfx/krita: 4.1.4 version bump (diff) | |
download | gentoo-9575324283ad2babba8b22185b5255376b8c686b.tar.gz gentoo-9575324283ad2babba8b22185b5255376b8c686b.tar.bz2 gentoo-9575324283ad2babba8b22185b5255376b8c686b.zip |
kde-apps: Add KDE Applications 18.08.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'kde-apps/kajongg')
-rw-r--r-- | kde-apps/kajongg/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kajongg/kajongg-18.08.2.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest index d972b43ffdf1..182b26b81460 100644 --- a/kde-apps/kajongg/Manifest +++ b/kde-apps/kajongg/Manifest @@ -1,2 +1,3 @@ DIST kajongg-18.04.3.tar.xz 4241892 BLAKE2B 764d0787917948eb70efca211d3fac59beeec0c1fcd4fb5f4ae7f48ce3235cf490a974b268e56ee4032bb4db0e5e6689ab8067c44cb937f70572d25d9019806b SHA512 ba447ed629b40ec8984d95cd324b06637d5d4131e8868dca36ed10451c6bf95e0126e0548322553b5ea15e8ae82211cb3bccade4cd0bd3f19f6ff4a415eca8f3 DIST kajongg-18.08.1.tar.xz 4467228 BLAKE2B e582730c15d13f2c4cc80b2fb8ba538157fa82b7056e363671ba0f356c8c3e7784a880added83fce1864347fbb86183f4e04d8237bf997d0b73aca428328cbc3 SHA512 babc4767a24c0d2a2b2e699abc317332ac5b37c1e5fa77481be1340ce887b432b8ad4ac74b950d6c06d0f3209478616447760eb3a810ae7cbb7b0feebd31f6f5 +DIST kajongg-18.08.2.tar.xz 4467160 BLAKE2B 4a7fe3390000bd2ff7f132ac1a77f7f0f00877770dcdd94b6f4cee5f01de771147f1049c023137b0f6641057f1503e81b54d0b7960ccb68f34d7fa7f75ae6aa4 SHA512 d36c288dc5afc86feba6c1518e3955e88e4cab32f6cc0cbb404be0ed313d1a627eb5b0869fa43210cb3675bd800ecc1c31469bf285e7177d6eb52f5fa5d23f8f diff --git a/kde-apps/kajongg/kajongg-18.08.2.ebuild b/kde-apps/kajongg/kajongg-18.08.2.ebuild new file mode 100644 index 000000000000..208d94a67499 --- /dev/null +++ b/kde-apps/kajongg/kajongg-18.08.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Authors +# 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 +} |