Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

games-strategy/endless-sky: version bump 0.9.0 #1493

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions 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
60 changes: 60 additions & 0 deletions 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."
}