mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-fps/alephone: drop 20250302-r2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST alephone-20250302.tar.gz 9148199 BLAKE2B 36bf06411092c81c8042051ade5f4e6102a6ecc4b5f6fb8c3b2f1cd6769860516b412a099ca56be2b1bc3409eea1b08f394b2d1591e320531ecd633d98152f58 SHA512 7fdb1e0b564286da6ffe028cf929752fbb9c6c82318c97f93729c43d1db7ad4cd45796cd40c7d535c7be060465e2e255968572e23f451a86bad0ac35441b0e53
|
||||
DIST alephone-20250829.tar.gz 9230664 BLAKE2B 266dc66872f66e25f9cd2271ffc97104b58f338c85631151abfc55df83c6365d5188df2cfc34bbb5529091a6a47abf9734094b054bcae827fae861dcf9a9223b SHA512 f59540785f1a43d5da45d07fbda6e2cf12d87795209d6c9fc52555d8e1c1e264581da2639509e6344244fb67dd7752e14a9e6ef1454a0c203d5ccad4c71adcac
|
||||
|
||||
@@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools flag-o-matic optfeature prefix toolchain-funcs xdg
|
||||
|
||||
DESCRIPTION="An enhanced version of the game engine from the classic Mac game, Marathon"
|
||||
HOMEPAGE="https://alephone.lhowon.org/"
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/Aleph-One-Marathon/alephone/"
|
||||
EGIT_SUBMODULES=() # Upstream includes game data as submodules, we only want the engine
|
||||
else
|
||||
SRC_URI="https://github.com/Aleph-One-Marathon/alephone/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-release-${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+ BitstreamVera OFL-1.1"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="curl upnp"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/boost:=
|
||||
dev-libs/zziplib:=
|
||||
media-libs/openal
|
||||
media-libs/libpng
|
||||
media-libs/libsdl2[joystick]
|
||||
media-libs/libsndfile[-minimal]
|
||||
media-libs/sdl2-image[png]
|
||||
media-libs/sdl2-net
|
||||
media-libs/sdl2-ttf
|
||||
virtual/zlib:=
|
||||
virtual/opengl
|
||||
virtual/glu
|
||||
curl? ( net-misc/curl )
|
||||
upnp? ( net-libs/miniupnpc )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# With LTO enabled enemies are not visible
|
||||
# https://github.com/Aleph-One-Marathon/alephone/issues/518
|
||||
filter-lto
|
||||
my_econf=(
|
||||
--enable-opengl
|
||||
--without-ffmpeg
|
||||
--with-png
|
||||
--with-sdl_image
|
||||
--with-zzip
|
||||
$(use_with curl)
|
||||
$(use_with upnp miniupnpc)
|
||||
)
|
||||
econf "${my_econf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prefixify_ro "${FILESDIR}"/${PN}.sh
|
||||
dobin "${T}"/${PN}.sh
|
||||
doman docs/${PN}.6
|
||||
docinto html/
|
||||
dodoc docs/*.html
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature_header "Install game data:"
|
||||
optfeature "Marathon data files" games-fps/alephone-marathon
|
||||
optfeature "Marathon 2 Durandal data files" games-fps/alephone-durandal
|
||||
optfeature "Marathon: Infinity data files" games-fps/alephone-infinity
|
||||
optfeature "Apotheosis X data files" games-fps/alephone-apotheosis-x
|
||||
}
|
||||
Reference in New Issue
Block a user