commit:     ddd81eeea20d80e27d8f442da0b6b5d95153413e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 15 23:55:13 2026 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Jan 16 17:02:19 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddd81eee

games-fps/alephone: Add 20250829, missing dependencies, IUSE video-export

Fixes build w/ boost-1.89

Closes: https://bugs.gentoo.org/963311
Closes: https://bugs.gentoo.org/961908
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 games-fps/alephone/Manifest                        |  1 +
 ...ne-99999999.ebuild => alephone-20250829.ebuild} | 36 ++++++++++++++--------
 games-fps/alephone/alephone-99999999.ebuild        | 36 ++++++++++++++--------
 games-fps/alephone/metadata.xml                    |  3 ++
 4 files changed, 52 insertions(+), 24 deletions(-)

diff --git a/games-fps/alephone/Manifest b/games-fps/alephone/Manifest
index aabf649625ed..0597932a7dcb 100644
--- a/games-fps/alephone/Manifest
+++ b/games-fps/alephone/Manifest
@@ -1 +1,2 @@
 DIST alephone-20250302.tar.gz 9148199 BLAKE2B 
36bf06411092c81c8042051ade5f4e6102a6ecc4b5f6fb8c3b2f1cd6769860516b412a099ca56be2b1bc3409eea1b08f394b2d1591e320531ecd633d98152f58
 SHA512 
7fdb1e0b564286da6ffe028cf929752fbb9c6c82318c97f93729c43d1db7ad4cd45796cd40c7d535c7be060465e2e255968572e23f451a86bad0ac35441b0e53
+DIST alephone-20250829.tar.gz 9230664 BLAKE2B 
266dc66872f66e25f9cd2271ffc97104b58f338c85631151abfc55df83c6365d5188df2cfc34bbb5529091a6a47abf9734094b054bcae827fae861dcf9a9223b
 SHA512 
f59540785f1a43d5da45d07fbda6e2cf12d87795209d6c9fc52555d8e1c1e264581da2639509e6344244fb67dd7752e14a9e6ef1454a0c203d5ccad4c71adcac

diff --git a/games-fps/alephone/alephone-99999999.ebuild 
b/games-fps/alephone/alephone-20250829.ebuild
similarity index 71%
copy from games-fps/alephone/alephone-99999999.ebuild
copy to games-fps/alephone/alephone-20250829.ebuild
index caac991b6410..39fd01aa5ee8 100644
--- a/games-fps/alephone/alephone-99999999.ebuild
+++ b/games-fps/alephone/alephone-20250829.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 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"
+DESCRIPTION="Enhanced game engine version from the classic Mac game, Marathon"
 HOMEPAGE="https://alephone.lhowon.org/";
 if [[ ${PV} = 9999* ]]; then
        inherit git-r3
@@ -19,8 +19,9 @@ fi
 
 LICENSE="GPL-3+ BitstreamVera OFL-1.1"
 SLOT="0"
+IUSE="curl test upnp video-export"
 
-IUSE="curl upnp"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
        dev-libs/boost:=
@@ -30,22 +31,25 @@ RDEPEND="
        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 )
+       video-export? (
+               dev-libs/libebml:=
+               media-libs/libmatroska:=
+               media-libs/libvorbis
+               media-libs/libvpx:=
+               media-libs/libyuv:=
+       )
 "
-
-DEPEND="
-       ${RDEPEND}
-"
-
-BDEPEND="
-       virtual/pkgconfig
+DEPEND="${RDEPEND}
+       dev-cpp/asio
+       test? ( >=dev-cpp/catch-3:0 )
 "
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
        default
@@ -58,12 +62,20 @@ src_configure() {
        filter-lto
        my_econf=(
                --enable-opengl
-               --without-ffmpeg
+               --disable-steam # not packaged?
+               --without-nfd # not packaged?
                --with-png
                --with-sdl_image
                --with-zzip
                $(use_with curl)
+               $(use_with test catch2)
                $(use_with upnp miniupnpc)
+               $(use_with video-export ebml)
+               $(use_with video-export matroska)
+               $(use_with video-export vpx)
+               $(use_with video-export vorbis)
+               $(use_with video-export vorbisenc)
+               $(use_with video-export libyuv)
        )
        econf "${my_econf[@]}"
 }

diff --git a/games-fps/alephone/alephone-99999999.ebuild 
b/games-fps/alephone/alephone-99999999.ebuild
index caac991b6410..39fd01aa5ee8 100644
--- a/games-fps/alephone/alephone-99999999.ebuild
+++ b/games-fps/alephone/alephone-99999999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 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"
+DESCRIPTION="Enhanced game engine version from the classic Mac game, Marathon"
 HOMEPAGE="https://alephone.lhowon.org/";
 if [[ ${PV} = 9999* ]]; then
        inherit git-r3
@@ -19,8 +19,9 @@ fi
 
 LICENSE="GPL-3+ BitstreamVera OFL-1.1"
 SLOT="0"
+IUSE="curl test upnp video-export"
 
-IUSE="curl upnp"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
        dev-libs/boost:=
@@ -30,22 +31,25 @@ RDEPEND="
        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 )
+       video-export? (
+               dev-libs/libebml:=
+               media-libs/libmatroska:=
+               media-libs/libvorbis
+               media-libs/libvpx:=
+               media-libs/libyuv:=
+       )
 "
-
-DEPEND="
-       ${RDEPEND}
-"
-
-BDEPEND="
-       virtual/pkgconfig
+DEPEND="${RDEPEND}
+       dev-cpp/asio
+       test? ( >=dev-cpp/catch-3:0 )
 "
+BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
        default
@@ -58,12 +62,20 @@ src_configure() {
        filter-lto
        my_econf=(
                --enable-opengl
-               --without-ffmpeg
+               --disable-steam # not packaged?
+               --without-nfd # not packaged?
                --with-png
                --with-sdl_image
                --with-zzip
                $(use_with curl)
+               $(use_with test catch2)
                $(use_with upnp miniupnpc)
+               $(use_with video-export ebml)
+               $(use_with video-export matroska)
+               $(use_with video-export vpx)
+               $(use_with video-export vorbis)
+               $(use_with video-export vorbisenc)
+               $(use_with video-export libyuv)
        )
        econf "${my_econf[@]}"
 }

diff --git a/games-fps/alephone/metadata.xml b/games-fps/alephone/metadata.xml
index 4931274cfc84..15335ab78cd3 100644
--- a/games-fps/alephone/metadata.xml
+++ b/games-fps/alephone/metadata.xml
@@ -14,4 +14,7 @@
                <remote-id type="sourceforge">marathon</remote-id>
                
<bugs-to>https://github.com/Aleph-One-Marathon/alephone/issues</bugs-to>
        </upstream>
+       <use>
+               <flag name="video-export">Enable film export support</flag>
+       </use>
 </pkgmetadata>

Reply via email to