Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/ksokoban/
Date: Sun, 29 Oct 2017 13:43:36
Message-Id: 1509284592.3aca3a252704c261ad5261ee54ae132579c864f9.asturm@gentoo
1 commit: 3aca3a252704c261ad5261ee54ae132579c864f9
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 29 13:29:40 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 29 13:43:12 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aca3a25
7
8 games-puzzle/ksokoban: Import 9999 from kde overlay
9
10 Gentoo-bug: 634328
11 Package-Manager: Portage-2.3.13, Repoman-2.3.4
12
13 games-puzzle/ksokoban/ksokoban-9999.ebuild | 52 ++++++++++++------------------
14 1 file changed, 21 insertions(+), 31 deletions(-)
15
16 diff --git a/games-puzzle/ksokoban/ksokoban-9999.ebuild b/games-puzzle/ksokoban/ksokoban-9999.ebuild
17 index 248af7967e3..632e47c6c56 100644
18 --- a/games-puzzle/ksokoban/ksokoban-9999.ebuild
19 +++ b/games-puzzle/ksokoban/ksokoban-9999.ebuild
20 @@ -1,39 +1,29 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 +# Copyright 1999-2017 Gentoo Foundation
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=5
26 +EAPI=6
27
28 -if [[ ${PV} == "9999" ]]; then
29 - inherit mercurial
30 - EHG_REPO_URI="http://hg.code.sf.net/p/ksokoban/code"
31 -else
32 - SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz"
33 - KEYWORDS="~amd64 ~x86"
34 -fi
35 +EGIT_BRANCH="port-to-kf5"
36 +KDE_HANDBOOK="optional"
37 +inherit kde5
38
39 -inherit cmake-utils
40 DESCRIPTION="The japanese warehouse keeper game"
41 -HOMEPAGE="https://sourceforge.net/projects/ksokoban/"
42 +HOMEPAGE="https://cgit.kde.org/ksokoban.git"
43 +
44 LICENSE="GPL-2"
45 SLOT="0"
46 -
47 -DEPEND="kde-frameworks/kdelibs:4"
48 +KEYWORDS=""
49 +
50 +DEPEND="
51 + $(add_frameworks_dep kactivities)
52 + $(add_frameworks_dep kconfig)
53 + $(add_frameworks_dep kcoreaddons)
54 + $(add_frameworks_dep ki18n)
55 + $(add_frameworks_dep kiconthemes)
56 + $(add_frameworks_dep kio)
57 + $(add_frameworks_dep kwidgetsaddons)
58 + $(add_frameworks_dep kxmlgui)
59 + $(add_qt_dep qtgui)
60 + $(add_qt_dep qtwidgets)
61 +"
62 RDEPEND="${DEPEND}"
63 -
64 -S="${WORKDIR}/${PN}"
65 -
66 -CMAKE_IN_SOURCE_BUILD="yes"
67 -
68 -src_prepare() {
69 - sed -i 's/%m//' "data/${PN}.desktop" || die "sed for desktop file failed"
70 -}
71 -
72 -# source lacks install target
73 -src_install() {
74 - dobin ksokoban
75 - dodoc AUTHORS NEWS TODO
76 - domenu "data/${PN}.desktop"
77 - for i in 16 22 32 48 64 128; do
78 - doicon -s "${i}" "data/hi${i}-app-${PN}.png"
79 - done
80 -}