From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1021658-garchives=archives.gentoo.org@lists.gentoo.org> 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 EBF041382C5 for <garchives@archives.gentoo.org>; Tue, 1 May 2018 19:37:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32B94E0A93; Tue, 1 May 2018 19:37:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 0A4B9E0A8F for <gentoo-commits@lists.gentoo.org>; Tue, 1 May 2018 19:37:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 CE6D7335C9B for <gentoo-commits@lists.gentoo.org>; Tue, 1 May 2018 19:37:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 01BAF2AE for <gentoo-commits@lists.gentoo.org>; Tue, 1 May 2018 19:37:39 +0000 (UTC) From: "Pacho Ramos" <pacho@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" <pacho@gentoo.org> Message-ID: <1525203334.5d834d6d463f4d043439824ca97bb45d98e50433.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/zsdx/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-rpg/zsdx/zsdx-1.9.0-r1.ebuild X-VCS-Directories: games-rpg/zsdx/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 5d834d6d463f4d043439824ca97bb45d98e50433 X-VCS-Branch: master Date: Tue, 1 May 2018 19:37:39 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 831f0165-8670-4714-8667-25265fa89522 X-Archives-Hash: 1380f9c55cb9d9595f2b9f8c2c66377f commit: 5d834d6d463f4d043439824ca97bb45d98e50433 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Tue May 1 17:55:43 2018 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Tue May 1 19:35:34 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d834d6d games-rpg/zsdx: Stop using games.eclass Package-Manager: Portage-2.3.31, Repoman-2.3.9 games-rpg/zsdx/zsdx-1.9.0-r1.ebuild | 53 +++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/games-rpg/zsdx/zsdx-1.9.0-r1.ebuild b/games-rpg/zsdx/zsdx-1.9.0-r1.ebuild new file mode 100644 index 00000000000..dc00fda4954 --- /dev/null +++ b/games-rpg/zsdx/zsdx-1.9.0-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils eutils gnome2-utils + +DESCRIPTION="A free 2D Zelda fangame" +HOMEPAGE="http://www.solarus-games.org/" +SRC_URI="http://www.zelda-solarus.com/downloads/${PN}/${P}.tar.gz" + +LICENSE="all-rights-reserved CC-BY-SA-3.0 GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="mirror" + +RDEPEND=" + >=games-engines/solarus-1.3.0 + <games-engines/solarus-1.4.0 +" +DEPEND="app-arch/zip" + +src_configure() { + local mycmakeargs=( + -DSOLARUS_INSTALL_DATAROOTDIR="/usr/share" + -DSOLARUS_INSTALL_BINDIR="/usr/bin" + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + newicon -s 48 build/icons/${PN}_icon_48.png ${PN}.png + newicon -s 256 build/icons/${PN}_icon_256.png ${PN}.png + + # install proper wrapper script + rm -f "${ED}"/usr/bin/${PN} + make_wrapper ${PN} "solarus \"/usr/share/solarus/${PN}\"" + + make_desktop_entry "${PN}" "Zelda: Mystery of Solarus DX" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}