summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Brewer <tomboy64@sina.cn>2016-02-06 08:37:59 +0100
committerMatthew Brewer <tomboy64@sina.cn>2016-02-07 11:54:24 +0100
commitdfb673995c07b3e7caa217aa2b186ad88879d56c (patch)
tree9cf584f35411b1c060194ff37c57792a8c7ad48e /games-strategy/endless-sky
parentdev-libs/boost: fix two typos in metadata.xml (diff)
downloadgentoo-dfb673995c07b3e7caa217aa2b186ad88879d56c.tar.gz
gentoo-dfb673995c07b3e7caa217aa2b186ad88879d56c.tar.bz2
gentoo-dfb673995c07b3e7caa217aa2b186ad88879d56c.zip
games-strategy/endless-sky: new ebuild: endless-sky-0.8.11
Package-Manager: portage-2.2.26 RepoMan-Options: --ignore-arches
Diffstat (limited to 'games-strategy/endless-sky')
-rw-r--r--games-strategy/endless-sky/Manifest1
-rw-r--r--games-strategy/endless-sky/endless-sky-0.8.11.ebuild52
-rw-r--r--games-strategy/endless-sky/metadata.xml18
3 files changed, 71 insertions, 0 deletions
diff --git a/games-strategy/endless-sky/Manifest b/games-strategy/endless-sky/Manifest
new file mode 100644
index 000000000000..a0fd4739b665
--- /dev/null
+++ b/games-strategy/endless-sky/Manifest
@@ -0,0 +1 @@
+DIST endless-sky-0.8.11.tar.gz 42620910 SHA256 8c399194b5d118274f43685b9992419538e5e6c6161621e5b06aef9ca74c4718 SHA512 6f2d1fdae24a9f1f6b67cb806ae88c214ffe0827770b26f6e65da7afa823a6091e5ade7f492e8b52f761650de86b20ce497e6f03f0d9ab0a7791be456b0ea6d2 WHIRLPOOL 3691c2f982a8657388bb00c8eeb78791b404942aa0a3249b1821433646546b4c4b83fb2bb1bfe13c927911ef4ea88cce1add08f01e9b05b2dde8c96df123f55d
diff --git a/games-strategy/endless-sky/endless-sky-0.8.11.ebuild b/games-strategy/endless-sky/endless-sky-0.8.11.ebuild
new file mode 100644
index 000000000000..334c37205a8a
--- /dev/null
+++ b/games-strategy/endless-sky/endless-sky-0.8.11.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils scons-utils
+
+DESCRIPTION="Space exploration, trading and combat game in the tradition of Terminal Velocity."
+HOMEPAGE="https://endless-sky.github.io"
+SRC_URI="https://github.com/tomboy-64/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"
+IUSE=""
+
+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)#' SConstruct || die
+ myesconsargs=(
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ PREFIX="${D}usr/games/"
+ )
+}
+src_compile() {
+ escons
+}
+
+src_install() {
+ escons 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."
+}
diff --git a/games-strategy/endless-sky/metadata.xml b/games-strategy/endless-sky/metadata.xml
new file mode 100644
index 000000000000..b2639fdfcafc
--- /dev/null
+++ b/games-strategy/endless-sky/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tomboy64@sina.cn</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ Explore other star systems. Earn money by trading, carrying passengers, or completing missions. Use your earnings to buy a better ship or to upgrade the weapons and engines on your current one. Blow up pirates. Take sides in a civil war. Or leave human space behind and hope to find some friendly aliens whose culture is more civilized than your own...
+ </longdescription>
+</pkgmetadata>