mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 11:38:07 -07:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
55
games-strategy/endless-sky/endless-sky-0.9.6.ebuild
Normal file
55
games-strategy/endless-sky/endless-sky-0.9.6.ebuild
Normal file
@@ -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."
|
||||
}
|
||||
Reference in New Issue
Block a user