mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
games-action/astromenace: version bump to 1.4.1
Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Stefan Strogin <steils@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST astromenace-1.3.2.tar.gz 64643636 BLAKE2B f3b7dfbeeed56eab8946e122bebf98baa37b7a3e4291007d4f0bb12a220c26ded063f51fcd6f529c9f00cd4b6172d37dcb0798d41e553c682556ba7f4243bce7 SHA512 dd24dc80e0a6b1d47a5e6874ee8aac58790518ef7a910573b6fd7a71541cd811774a8607e6c175c51fb03983d0799db7acbafb79b167dee3bdb79ff6168c1451
|
||||
DIST astromenace-1.4.1.tar.gz 68041500 BLAKE2B a6e0c98feae200440bc3e3bd0e3338325ce7953f4e4241d69e1d3b6cc3aaef54c1966f62b08a27aef2a6f6b1ee028e8c7c78788aabc2622bcc1eeab10186c428 SHA512 408fd8a9fcc51d0cdfd31d77bc1c05b079b3248622a252e73e1145db9715b3a331eef5fde295c3390143fb7bb2f88460d374eddea719b6452577bf5e83bd14c1
|
||||
|
||||
65
games-action/astromenace/astromenace-1.4.1.ebuild
Normal file
65
games-action/astromenace/astromenace-1.4.1.ebuild
Normal file
@@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils desktop xdg-utils
|
||||
|
||||
DESCRIPTION="Hardcore 3D space scroll-shooter with spaceship upgrade possibilities"
|
||||
HOMEPAGE="https://viewizard.com"
|
||||
SRC_URI="https://github.com/viewizard/astromenace/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 GPL-3+ CC-BY-SA-4.0 OFL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/freealut
|
||||
media-libs/freetype:2
|
||||
media-libs/libogg
|
||||
media-libs/libsdl[joystick,video,X]
|
||||
media-libs/libvorbis
|
||||
media-libs/openal
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
x11-libs/libXinerama"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
# no messing with CXXFLAGS please.
|
||||
sed -i -e '/-Os/d' CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=( -DDATADIR="${EPREFIX}/usr/share/${PN}" )
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${BUILD_DIR}"/astromenace
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins "${BUILD_DIR}"/gamedata.vfs
|
||||
|
||||
newicon -s 128 share/astromenace_128.png ${PN}.png
|
||||
newicon -s 64 share/astromenace_64.png ${PN}.png
|
||||
|
||||
dodoc CHANGELOG.md README.md
|
||||
|
||||
make_desktop_entry "${PN}" AstroMenace
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
Reference in New Issue
Block a user