diff options
author | Marshall Brewer <tomboy64@sina.cn> | 2016-05-18 16:30:44 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-05-20 08:22:10 +0000 |
commit | 827d00169b2312bf446c0a00e5df7626c9817c08 (patch) | |
tree | 804c10b430c10a1f9850bb43e8f9530dc685a20a | |
parent | media-libs/gd: Fixed SRC_URI (bug #583548) and EAPI-6 bump. (diff) | |
download | gentoo-827d00169b2312bf446c0a00e5df7626c9817c08.tar.gz gentoo-827d00169b2312bf446c0a00e5df7626c9817c08.tar.bz2 gentoo-827d00169b2312bf446c0a00e5df7626c9817c08.zip |
games-strategy/endless-sky: version bump 0.9.0
no changes needed due to upstream; added gnome2 icon funcs
Package-Manager: portage-2.3.0_rc1
Closes: https://github.com/gentoo/gentoo/pull/1493
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
-rw-r--r-- | games-strategy/endless-sky/Manifest | 1 | ||||
-rw-r--r-- | games-strategy/endless-sky/endless-sky-0.9.0.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/games-strategy/endless-sky/Manifest b/games-strategy/endless-sky/Manifest index a0fd4739b665..fc6e8c079c21 100644 --- a/games-strategy/endless-sky/Manifest +++ b/games-strategy/endless-sky/Manifest @@ -1 +1,2 @@ DIST endless-sky-0.8.11.tar.gz 42620910 SHA256 8c399194b5d118274f43685b9992419538e5e6c6161621e5b06aef9ca74c4718 SHA512 6f2d1fdae24a9f1f6b67cb806ae88c214ffe0827770b26f6e65da7afa823a6091e5ade7f492e8b52f761650de86b20ce497e6f03f0d9ab0a7791be456b0ea6d2 WHIRLPOOL 3691c2f982a8657388bb00c8eeb78791b404942aa0a3249b1821433646546b4c4b83fb2bb1bfe13c927911ef4ea88cce1add08f01e9b05b2dde8c96df123f55d +DIST endless-sky-0.9.0.tar.gz 51004856 SHA256 bdd1f364fe7361ba61d7ec63049e8661a625dee6e2ab2c9ab71f95c06af708a5 SHA512 9201d31cad1e256924d6064e0748d04a785972179c92f2423e6a8dfb7703ff2a1b8d9d57457f3a701c41ff358878122e62163c1a0e8117a9f681d6e0150ace3f WHIRLPOOL 70445d260fe88904469c2789964d73bd882843b616eb1fc2f3a6d15fd80358221bda8ac2e8fd30617f2fc856e9e2528e6afd64449ac7ca793ca3d05cb7ccaa1f diff --git a/games-strategy/endless-sky/endless-sky-0.9.0.ebuild b/games-strategy/endless-sky/endless-sky-0.9.0.ebuild new file mode 100644 index 000000000000..ebb1f74187bc --- /dev/null +++ b/games-strategy/endless-sky/endless-sky-0.9.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 + media-libs/libsdl2 + media-libs/libjpeg-turbo + media-libs/libpng:= + media-libs/openal + virtual/opengl" +DEPEND="${RDEPEND}" + +src_prepare() { + sed -i 's/"-std=c++0x", "-O3", "-Wall"/"-std=c++0x", "-Wall"/' 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_preinst() { + gnome2_icon_savelist +} + +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." +} |