diff options
author | tomboy64 <tomboy64@sina.cn> | 2017-04-07 17:31:40 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-05-07 19:41:46 +0200 |
commit | 736fea0b73e9be6c8be54b548ca0a33aabdd01ae (patch) | |
tree | 25cc2ea2b2b88a5a4d50f29f8021ce34009b43f1 /games-strategy | |
parent | games-strategy/endless-sky: fix glew slot in deps (diff) | |
download | gentoo-736fea0b73e9be6c8be54b548ca0a33aabdd01ae.tar.gz gentoo-736fea0b73e9be6c8be54b548ca0a33aabdd01ae.tar.bz2 gentoo-736fea0b73e9be6c8be54b548ca0a33aabdd01ae.zip |
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
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/endless-sky/Manifest | 1 | ||||
-rw-r--r-- | games-strategy/endless-sky/endless-sky-0.9.6.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/games-strategy/endless-sky/Manifest b/games-strategy/endless-sky/Manifest index db41765e2ebd..cf81e52067c9 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 000000000000..e01d717396f9 --- /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." +} |