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 8FD9C139697 for ; Sun, 7 May 2017 17:41:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D539C21C07D; Sun, 7 May 2017 17:41:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A344D21C07D for ; Sun, 7 May 2017 17:41:54 +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 70A913416CF for ; Sun, 7 May 2017 17:41:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1C8A0744C for ; Sun, 7 May 2017 17:41:52 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1494178906.736fea0b73e9be6c8be54b548ca0a33aabdd01ae.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/endless-sky/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/endless-sky/Manifest games-strategy/endless-sky/endless-sky-0.9.6.ebuild X-VCS-Directories: games-strategy/endless-sky/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 736fea0b73e9be6c8be54b548ca0a33aabdd01ae X-VCS-Branch: master Date: Sun, 7 May 2017 17:41:52 +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: 68837efc-4da6-401c-8a4d-ec86f6a81f7d X-Archives-Hash: c6ddf0b855a60acb35cbb2c45e731890 commit: 736fea0b73e9be6c8be54b548ca0a33aabdd01ae Author: tomboy64 sina cn> AuthorDate: Fri Apr 7 15:31:40 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 7 17:41:46 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=736fea0b games-strategy/endless-sky: version bump 0.9.6 Closes: https://github.com/gentoo/gentoo/pull/4447 Package-Manager: Portage-2.3.5, Repoman-2.3.2 games-strategy/endless-sky/Manifest | 1 + .../endless-sky/endless-sky-0.9.6.ebuild | 55 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/games-strategy/endless-sky/Manifest b/games-strategy/endless-sky/Manifest index db41765e2eb..cf81e52067c 100644 --- a/games-strategy/endless-sky/Manifest +++ b/games-strategy/endless-sky/Manifest @@ -1 +1,2 @@ DIST endless-sky-0.9.1.tar.gz 54138358 SHA256 ebfb5ae656dfbdebd312f83b71063bb5b9c966e7b884f98e109e993aa8c1dc5e SHA512 62d5a375c4580264c607799c427d917a76d5d1b987fcfb1efe77aa8fac5e3607d0c02da789368c539613bf255dfe0512b9c7e696bf4de8730c2dd6fecb971837 WHIRLPOOL 3bdbbbd1e605b8db2463a0c79e461a619bba60308ff78abfbac9ac3087dd505330afcc1cfef543f34e4a759537e7cf95f6d9c374153933bb457732e71c327960 +DIST endless-sky-0.9.6.tar.gz 71119557 SHA256 41699dabb72a276c96019d0714e54492866e29661f161052a1caf334332be1e4 SHA512 e8dbae856153246f68a3c7ba68fd33a15cf60908f65003f614269df6909ed8d7ad848b4add4ee071b295f58be92c532e6579982d3c20b83d9203b74077f90bae WHIRLPOOL 148e5a89a1386eef2f6d16d67eeda5b0f9197620aa36fdb849139c0a8dc9720ab3350e559d3c9e3299fde12bdf9a236c12d9ff1a2ce484851ff40b2948a6fdd2 diff --git a/games-strategy/endless-sky/endless-sky-0.9.6.ebuild b/games-strategy/endless-sky/endless-sky-0.9.6.ebuild new file mode 100644 index 00000000000..e01d717396f --- /dev/null +++ b/games-strategy/endless-sky/endless-sky-0.9.6.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils gnome2-utils scons-utils + +DESCRIPTION="Space exploration, trading & combat in the tradition of Terminal Velocity" +HOMEPAGE="https://endless-sky.github.io" +SRC_URI="https://github.com/endless-sky/endless-sky/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="media-libs/glew:0 + media-libs/libsdl2 + media-libs/libjpeg-turbo + media-libs/libpng:= + media-libs/openal + virtual/opengl" +DEPEND="${RDEPEND}" + +src_prepare() { + sed -i 's/\(.*flags += \["\)-O3\("\]\)/\1\2/g' SConstruct || die + sed -i 's#env.Install("$DESTDIR$PREFIX/games", sky)#env.Install("$DESTDIR$PREFIX/bin", sky)#g' SConstruct || die + eapply_user +} + +src_compile() { + escons +} + +src_install() { + escons PREFIX="${D}/usr/" install +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} + +pkg_postinst() { + einfo "Endless Sky provides high-res sprites for high-dpi screens." + einfo "If you want to use them, download" + einfo + einfo " https://github.com/endless-sky/endless-sky-high-dpi/releases" + einfo + einfo "and extract it to ~/.local/share/endless-sky/plugins/." + einfo + einfo " Enjoy." +}