diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-10-29 14:29:40 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-10-29 14:43:12 +0100 |
commit | 3aca3a252704c261ad5261ee54ae132579c864f9 (patch) | |
tree | cd2e64f02b5a88015de2361d1696c1f8b5d65c28 | |
parent | games-board/knights: Add 2.6.0_pre20171003 snapshot (diff) | |
download | gentoo-3aca3a252704c261ad5261ee54ae132579c864f9.tar.gz gentoo-3aca3a252704c261ad5261ee54ae132579c864f9.tar.bz2 gentoo-3aca3a252704c261ad5261ee54ae132579c864f9.zip |
games-puzzle/ksokoban: Import 9999 from kde overlay
Gentoo-bug: 634328
Package-Manager: Portage-2.3.13, Repoman-2.3.4
-rw-r--r-- | games-puzzle/ksokoban/ksokoban-9999.ebuild | 52 |
1 files changed, 21 insertions, 31 deletions
diff --git a/games-puzzle/ksokoban/ksokoban-9999.ebuild b/games-puzzle/ksokoban/ksokoban-9999.ebuild index 248af7967e33..632e47c6c561 100644 --- a/games-puzzle/ksokoban/ksokoban-9999.ebuild +++ b/games-puzzle/ksokoban/ksokoban-9999.ebuild @@ -1,39 +1,29 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 -if [[ ${PV} == "9999" ]]; then - inherit mercurial - EHG_REPO_URI="http://hg.code.sf.net/p/ksokoban/code" -else - SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz" - KEYWORDS="~amd64 ~x86" -fi +EGIT_BRANCH="port-to-kf5" +KDE_HANDBOOK="optional" +inherit kde5 -inherit cmake-utils DESCRIPTION="The japanese warehouse keeper game" -HOMEPAGE="https://sourceforge.net/projects/ksokoban/" +HOMEPAGE="https://cgit.kde.org/ksokoban.git" + LICENSE="GPL-2" SLOT="0" - -DEPEND="kde-frameworks/kdelibs:4" +KEYWORDS="" + +DEPEND=" + $(add_frameworks_dep kactivities) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtgui) + $(add_qt_dep qtwidgets) +" RDEPEND="${DEPEND}" - -S="${WORKDIR}/${PN}" - -CMAKE_IN_SOURCE_BUILD="yes" - -src_prepare() { - sed -i 's/%m//' "data/${PN}.desktop" || die "sed for desktop file failed" -} - -# source lacks install target -src_install() { - dobin ksokoban - dodoc AUTHORS NEWS TODO - domenu "data/${PN}.desktop" - for i in 16 22 32 48 64 128; do - doicon -s "${i}" "data/hi${i}-app-${PN}.png" - done -} |