commit:     d0e0f2640faba5ed57a425cd5b26334c2c7f72c4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  2 20:02:23 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan  2 20:02:23 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0e0f264

games-simulation/openttd: add 15.0

Supports only SDL2 or Allegro now, so the SDL warning is gone.

Closes: https://bugs.gentoo.org/837692
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-simulation/openttd/Manifest                                 | 1 +
 .../openttd/{openttd-9999.ebuild => openttd-15.0.ebuild}          | 8 +++-----
 games-simulation/openttd/openttd-9999.ebuild                      | 8 +++-----
 3 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/games-simulation/openttd/Manifest 
b/games-simulation/openttd/Manifest
index 3b6af68589db..2b57002b68af 100644
--- a/games-simulation/openttd/Manifest
+++ b/games-simulation/openttd/Manifest
@@ -1 +1,2 @@
 DIST openttd-14.1-source.tar.xz 8015032 BLAKE2B 
d107cd41a04f1a0bcfd41730e57628787443e8fe6d90dd59b0211b115b462a8e57e68a30e4b1c72d5f9db2121650f1c4035303e64f7e2e71fdedb23665f445da
 SHA512 
194135cc01457d9ed069c09d8961ad3de681bc9936533ca81ff23099f394bb9a83ef84a0852e85525e258f6149e14fd41cfc5f8e683c0643515005c42fb77e3b
+DIST openttd-15.0-source.tar.xz 8540368 BLAKE2B 
4f3210e573e622298c3238e2701e0953826eeb91abce232da4acdd47094508cc30f988899ba204a58c30210fbdd9d37e849ba27bfcc4b7a1dfa10d8647279224
 SHA512 
ca213546e78fbfadcdc92911d7166e5f255325cb8e54dfe91da81a3325838d8c1be00d51ad172f5b6a5a5e3e8e8440255641b1b5e4f53e12f24e733c18382fa3

diff --git a/games-simulation/openttd/openttd-9999.ebuild 
b/games-simulation/openttd/openttd-15.0.ebuild
similarity index 93%
copy from games-simulation/openttd/openttd-9999.ebuild
copy to games-simulation/openttd/openttd-15.0.ebuild
index 710f5802a0f2..769e22a8c263 100644
--- a/games-simulation/openttd/openttd-9999.ebuild
+++ b/games-simulation/openttd/openttd-15.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -30,6 +30,8 @@ RDEPEND="
                app-misc/dtach
        )
        !dedicated? (
+               media-libs/libogg
+               media-libs/opusfile
                allegro? ( media-libs/allegro:5 )
                fluidsynth? ( media-sound/fluidsynth )
                icu? (
@@ -97,10 +99,6 @@ src_configure() {
                -DCMAKE_DISABLE_FIND_PACKAGE_LibLZMA=$(usex !lzma)
                -DCMAKE_DISABLE_FIND_PACKAGE_LZO=$(usex !lzo)
                -DCMAKE_DISABLE_FIND_PACKAGE_PNG=$(usex !png)
-               # N.B. regarding #807364 and #828984: 
CMAKE_DISABLE_FIND_PACKAGE_SDL is used only
-               # with USE="allegro -sdl" combination flags. There no other way 
to
-               # completely disable SDL1 support.
-               -DCMAKE_DISABLE_FIND_PACKAGE_SDL=ON
                -DCMAKE_DISABLE_FIND_PACKAGE_SDL2=$(usex !sdl)
                -DCMAKE_DISABLE_FIND_PACKAGE_SSE=$(usex !cpu_flags_x86_sse)
                -DCMAKE_DISABLE_FIND_PACKAGE_ZLIB=$(usex !zlib)

diff --git a/games-simulation/openttd/openttd-9999.ebuild 
b/games-simulation/openttd/openttd-9999.ebuild
index 710f5802a0f2..769e22a8c263 100644
--- a/games-simulation/openttd/openttd-9999.ebuild
+++ b/games-simulation/openttd/openttd-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -30,6 +30,8 @@ RDEPEND="
                app-misc/dtach
        )
        !dedicated? (
+               media-libs/libogg
+               media-libs/opusfile
                allegro? ( media-libs/allegro:5 )
                fluidsynth? ( media-sound/fluidsynth )
                icu? (
@@ -97,10 +99,6 @@ src_configure() {
                -DCMAKE_DISABLE_FIND_PACKAGE_LibLZMA=$(usex !lzma)
                -DCMAKE_DISABLE_FIND_PACKAGE_LZO=$(usex !lzo)
                -DCMAKE_DISABLE_FIND_PACKAGE_PNG=$(usex !png)
-               # N.B. regarding #807364 and #828984: 
CMAKE_DISABLE_FIND_PACKAGE_SDL is used only
-               # with USE="allegro -sdl" combination flags. There no other way 
to
-               # completely disable SDL1 support.
-               -DCMAKE_DISABLE_FIND_PACKAGE_SDL=ON
                -DCMAKE_DISABLE_FIND_PACKAGE_SDL2=$(usex !sdl)
                -DCMAKE_DISABLE_FIND_PACKAGE_SSE=$(usex !cpu_flags_x86_sse)
                -DCMAKE_DISABLE_FIND_PACKAGE_ZLIB=$(usex !zlib)

Reply via email to