mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-action/astromenace: drop 1.4.1-r1, 1.4.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST astromenace-1.4.1.tar.gz 68041500 BLAKE2B a6e0c98feae200440bc3e3bd0e3338325ce7953f4e4241d69e1d3b6cc3aaef54c1966f62b08a27aef2a6f6b1ee028e8c7c78788aabc2622bcc1eeab10186c428 SHA512 408fd8a9fcc51d0cdfd31d77bc1c05b079b3248622a252e73e1145db9715b3a331eef5fde295c3390143fb7bb2f88460d374eddea719b6452577bf5e83bd14c1
|
||||
DIST astromenace-1.4.2.tar.gz 68061933 BLAKE2B 79511ee920eb182a428688a22b5adaa7719d574ffbd9807ebea46a036ea7de85f87aee8f927cfb8458178ed8b9c4ad61dad281196469cf6f648aa6580303fff6 SHA512 6a41c987295ff7201b2a9fa748b2b246c5d61bf4ae39668e614fbec377abfe08387a66182059c0e87d1c8395aa224ae396535b0f41a0be720fc57d319249e8b0
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake 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/libsdl2[joystick,video]
|
||||
media-libs/libvorbis
|
||||
media-libs/openal
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
x11-libs/libXinerama"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
cmake_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_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_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
|
||||
|
||||
einstalldocs
|
||||
|
||||
make_desktop_entry "${PN}" AstroMenace
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
@@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake desktop xdg
|
||||
|
||||
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"
|
||||
|
||||
DEPEND="
|
||||
media-libs/freealut
|
||||
media-libs/freetype:2
|
||||
media-libs/libogg
|
||||
media-libs/libsdl2[joystick,video]
|
||||
media-libs/libvorbis
|
||||
media-libs/openal
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
x11-libs/libXinerama
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.4.2-gcc13.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_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_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# As of 1.4.2, the CMake install target is better, but still needs porting
|
||||
# to GNUInstallDirs.
|
||||
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
|
||||
|
||||
einstalldocs
|
||||
|
||||
make_desktop_entry "${PN}" AstroMenace
|
||||
}
|
||||
Reference in New Issue
Block a user