From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 36E531396D9 for ; Sun, 29 Oct 2017 13:43:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65ACEE07D3; Sun, 29 Oct 2017 13:43:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4725DE07D3 for ; Sun, 29 Oct 2017 13:43:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4DEAD34167B for ; Sun, 29 Oct 2017 13:43:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9BF183A for ; Sun, 29 Oct 2017 13:43:31 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1509284592.3aca3a252704c261ad5261ee54ae132579c864f9.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/ksokoban/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-puzzle/ksokoban/ksokoban-9999.ebuild X-VCS-Directories: games-puzzle/ksokoban/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 3aca3a252704c261ad5261ee54ae132579c864f9 X-VCS-Branch: master Date: Sun, 29 Oct 2017 13:43:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 26ea975e-1d35-4062-8946-c7371982a964 X-Archives-Hash: 51de1d1de71a5cb082436ad91804e339 commit: 3aca3a252704c261ad5261ee54ae132579c864f9 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Oct 29 13:29:40 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Oct 29 13:43:12 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aca3a25 games-puzzle/ksokoban: Import 9999 from kde overlay Gentoo-bug: 634328 Package-Manager: Portage-2.3.13, Repoman-2.3.4 games-puzzle/ksokoban/ksokoban-9999.ebuild | 52 ++++++++++++------------------ 1 file changed, 21 insertions(+), 31 deletions(-) diff --git a/games-puzzle/ksokoban/ksokoban-9999.ebuild b/games-puzzle/ksokoban/ksokoban-9999.ebuild index 248af7967e3..632e47c6c56 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 -}