diff options
author | Matthew Brewer <tomboy64@sina.cn> | 2016-03-07 10:01:41 +0100 |
---|---|---|
committer | Matthew Brewer <tomboy64@sina.cn> | 2016-03-09 00:33:19 +0100 |
commit | 6a62df6d50083405974e121a38351dfe5a59799b (patch) | |
tree | 49b2eeca3e88761322c39d686cf6918930353dbc /games-strategy | |
parent | sys-cluster/nova: bup (diff) | |
download | gentoo-6a62df6d50083405974e121a38351dfe5a59799b.tar.gz gentoo-6a62df6d50083405974e121a38351dfe5a59799b.tar.bz2 gentoo-6a62df6d50083405974e121a38351dfe5a59799b.zip |
games-strategy/endless-sky: revbump to 0.8.11-r1
- fix install path (so icon gets found by desktop menus)
- rephrase summary
- convert EAPI 5->6
- added ~x86
Package-Manager: portage-2.2.27
RepoMan-Options: --ignore-arches
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/endless-sky/endless-sky-0.8.11-r1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/games-strategy/endless-sky/endless-sky-0.8.11-r1.ebuild b/games-strategy/endless-sky/endless-sky-0.8.11-r1.ebuild new file mode 100644 index 000000000000..6090d2958aaa --- /dev/null +++ b/games-strategy/endless-sky/endless-sky-0.8.11-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils 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_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." +} |