diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-31 15:47:53 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-31 15:47:53 +0000 |
commit | d950fa39dbe16d164ed0cb8e3036fd5d0d896a4c (patch) | |
tree | 04f92d5d1070a7aedb970ce4539dc6d60253c4df /games-puzzle/ksokoban/ksokoban-9999.ebuild | |
parent | bd7908c6630f38067350d396ac5d18c3cc2434a0 (diff) |
gentoo resync : 31.10.2017
Diffstat (limited to 'games-puzzle/ksokoban/ksokoban-9999.ebuild')
-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 -} |