diff options
| author | root <root@alpha.trunkmasters.com> | 2026-09-15 17:26:46 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-09-15 17:26:46 -0500 |
| commit | 55aad44920efe2d1d3f4ffdd4c2df83c13cfbd28 (patch) | |
| tree | 8432b1894bf9cf6f5c5f2b763e74c61f7a4d140d /games-emulation | |
| parent | 088e0ca78556300b2d083c91ff7daae04e3e4110 (diff) | |
| download | baldeagleos-repo-55aad44920efe2d1d3f4ffdd4c2df83c13cfbd28.tar.gz baldeagleos-repo-55aad44920efe2d1d3f4ffdd4c2df83c13cfbd28.tar.xz baldeagleos-repo-55aad44920efe2d1d3f4ffdd4c2df83c13cfbd28.zip | |
Adding metadata
Diffstat (limited to 'games-emulation')
| -rw-r--r-- | games-emulation/dosbox-staging/dosbox-staging-0.83.0.ebuild | 2 | ||||
| -rw-r--r-- | games-emulation/dosbox-staging/files/dosbox-staging-0.83.0-optional_mt32.patch | 30 |
2 files changed, 32 insertions, 0 deletions
diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.83.0.ebuild b/games-emulation/dosbox-staging/dosbox-staging-0.83.0.ebuild index 94a10835d6f3..29a6c774e756 100644 --- a/games-emulation/dosbox-staging/dosbox-staging-0.83.0.ebuild +++ b/games-emulation/dosbox-staging/dosbox-staging-0.83.0.ebuild @@ -35,6 +35,7 @@ RDEPEND="debug? ( sys-libs/ncurses:0= ) media-libs/libpng:0= media-libs/libsdl2[alsa,joystick,opengl?,sound,video,X] media-libs/opusfile + media-libs/sdl2-image media-libs/speexdsp media-sound/fluid-soundfont media-sound/fluidsynth @@ -45,6 +46,7 @@ DEPEND="${RDEPEND}" BDEPEND="test? ( dev-cpp/gtest ) sc55? ( virtual/pkgconfig )" +PATCHES=( "${FILESDIR}"/${P}-optional_mt32.patch ) DOCS=( README.md docs/AUTHORS ) src_prepare() { diff --git a/games-emulation/dosbox-staging/files/dosbox-staging-0.83.0-optional_mt32.patch b/games-emulation/dosbox-staging/files/dosbox-staging-0.83.0-optional_mt32.patch new file mode 100644 index 000000000000..eb96c2478f76 --- /dev/null +++ b/games-emulation/dosbox-staging/files/dosbox-staging-0.83.0-optional_mt32.patch @@ -0,0 +1,30 @@ +From c90051dbbfd5781964db9d9d5b20a32b4fdefaf6 Mon Sep 17 00:00:00 2001 +From: Maseru898 <marcel.weissenbach@miraclelinux.com> +Date: Mon, 15 Jun 2026 18:04:52 +0900 +Subject: [PATCH] build: Only require MT32 Package when actually enabled + +Currently the find_package runs unrelated to the variable check which causes it to always get executed. Moved it to its correct place so it only gets executed if building with MT32 is actually requested by setting the variable +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 399899d1eb8..0eb03b50162 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -340,6 +340,7 @@ endif() + option(OPT_MT32EMU "Enable Roland MT-32 emulation support" ON) + if (OPT_MT32EMU) + set(C_MT32EMU ON) ++ find_package(MT32Emu REQUIRED) + endif() + + if (OPT_DEBUGGER) +@@ -488,7 +489,6 @@ find_package(SDL2_image CONFIG REQUIRED) + find_package(iir REQUIRED) + find_package(PNG REQUIRED) + find_package(OpenGL REQUIRED) +-find_package(MT32Emu REQUIRED) + find_package(FluidSynth REQUIRED CONFIG) + if (C_ALSA) + find_package(ALSA REQUIRED) |
