summaryrefslogtreecommitdiff
path: root/games-emulation/dosbox-staging
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-20 23:24:40 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-20 23:24:40 +0100
commit3f9a144d38a57497a44a583d11a6e3dfbe8319d5 (patch)
treecb0e6beb4b79e1f7ccd95c75c9f434fdad11a071 /games-emulation/dosbox-staging
parent800c4c398cad9dd837da33062e71ccc84114fe05 (diff)
gentoo auto-resync : 20:09:2022 - 23:24:40
Diffstat (limited to 'games-emulation/dosbox-staging')
-rw-r--r--games-emulation/dosbox-staging/Manifest13
-rw-r--r--games-emulation/dosbox-staging/dosbox-staging-0.76.0.ebuild59
-rw-r--r--games-emulation/dosbox-staging/dosbox-staging-0.77.0-r1.ebuild57
-rw-r--r--games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild64
-rw-r--r--games-emulation/dosbox-staging/dosbox-staging-0.79.0.ebuild (renamed from games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild)14
-rw-r--r--games-emulation/dosbox-staging/files/dosbox-staging-0.78.0-fix_tests.patch31
-rw-r--r--games-emulation/dosbox-staging/metadata.xml1
7 files changed, 10 insertions, 229 deletions
diff --git a/games-emulation/dosbox-staging/Manifest b/games-emulation/dosbox-staging/Manifest
index bcd9dc998d73..c919be18250a 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -1,13 +1,6 @@
-AUX dosbox-staging-0.78.0-fix_tests.patch 1289 BLAKE2B 2ba0b7a146948f3fa70a4f0bba86327c67cd3d8cdddd8d6d988f01ef7b6fce826d99eea42efe614a78f884075501ed991b2e6fd26708fcf17a06eaf943ff8b6b SHA512 c4a62b2f68cf26a64843c316ffdc702ecd1813fd38a8cf318b2c1a4762ac278d0b4fd3ad64f8e7a859e35ac4842a47d73d73594675d603649038b2e6610972f8
AUX dosbox-staging-0.78.1-musl.patch 529 BLAKE2B fd0ce9ea24e8d921dcff9a77d6f01b54054868206c0abd2a96a4a89f4137969ff7c83ecd1e191b25fa7f1c1bf3f4232821e1405a84578c9a37323dbdebf6bad5 SHA512 ab7a5ee73872f654cf20e4736d9201af33bab170a717de6f6e0019a4383defd15448f8923057bc9dab236e577e7a0833aa5f198d8ffd21d30dab05fbe8afcd82
-DIST dosbox-staging-0.76.0.tar.gz 1908605 BLAKE2B 71b3c3d6a6444e2442d54b1db365ea66c9ee3db703be876facb8425355d82d817c080e005cefd103714e15fc7d1c17d6329c28d67bf74c143d0428e4f58e5142 SHA512 8c0357bcec08cac2cd2b306edd8b51ad05e16a3c3efb1f4c77e1d942f285493cae8aab45f1633e9c168c0b4b45aa289cf3ffc72685dc004d83127cdb6c76ae9d
-DIST dosbox-staging-0.77.0.tar.gz 2579927 BLAKE2B 2a8381451ec110ca5350afc70c45f158329bd273b381ff61856ab721a0b194c7d501402453e9a36b90663ee8f6697dce8f64b05adf56efa8df2fd68161e420b6 SHA512 37259fecc091f1e318c2385d6e6fdc3b4ad0905ce63a7db1fc812c924bf8c01640692aca4f08b87d06e6001e50f3f2f4bb63c3715aa9cdfeebd205ed345558a0
-DIST dosbox-staging-0.77.1.tar.gz 2622418 BLAKE2B c56020d263ceac199266a5c458c192441f836ea2e71e1564da175b7ae522286ca1b6a07062498ccea795bbf330beecb5ef99a0130637b1df26603315d48ea6ff SHA512 fe5d6150a88f5c276aee5672f98c15b5ffee702fe9934919d3e78068efd1a85f08a8f04352bc6a8fe850324e33f3227340c59242db6cbae0475b12a58b749cac
-DIST dosbox-staging-0.78.0.tar.gz 2908118 BLAKE2B 77dd6afd7c8f62e2936c2ed1545faf1f2700b7bceba4afd6f77eff6b2bd1ea7b7693e3975d38098774f4f6076099251e7aa53cd20a5dec7daefb34a3533fdf40 SHA512 e56b4735f1a741f2c160646f205776e2407ab3333d4d13ce918ff447a08817862a32167afa47b3c7e35bc942bc06aea7d14e25bfe64fce9ee88a843488733746
DIST dosbox-staging-0.78.1.tar.gz 2968448 BLAKE2B 7b48763d10338d36e61696331358f7572a528c10d48e473dfaba6a8c96dd5d3ca2b9e1f5c595d653fbbe64f2b5f1d9f1ff8279dfab8f2cb49ac6faba697e97ca SHA512 3179e8eac00e22e35b36623c11688b8c60408bf487a56683269ff065988fbdf4319c16097232cc191695cf2e10c05f4c4eee15e92d9887ebf03a23f808d5db7c
-EBUILD dosbox-staging-0.76.0.ebuild 1431 BLAKE2B d6fefe9c171bd48de4246e239d95ebc78bbc02cf1aa138712cc3a2ed76fa9a5a5a181770e8d3f2173079770ef56b4adb83f8843d2fbfcfa6996c8806936912c6 SHA512 3fa322c2f91c97d0f86befc97c93d0e4dd4dcdba56055a97a8dd0fe85907e7319353cf85790dfc790fe811a9ba8990eaece8d86040255cf55f99ea8b502b5ea5
-EBUILD dosbox-staging-0.77.0-r1.ebuild 1458 BLAKE2B 0e0f6a28fe7851bded45749a2322b9b9225335c14923ed4ce1aeeb915f0a5a2eb21daba8b7862d8fdffc267210354053c10b0e038a7c5e41beb0020490c05c7b SHA512 88e4b4aa99fd3c25475aca2e522a23300b9af2628c7f64b9a8832105a350d99f451d6634b5336b11fdee173374d34975f41f46df25840c09178fb3286bf1f4a5
-EBUILD dosbox-staging-0.77.1.ebuild 1727 BLAKE2B f1ddc2fef8fb1afc6c02c3013270a45c618630796b349275e40ef24a8084609f897bd0dfc1a8ac2d6684d740e23eba27f3dfbedce205592e0191d32660d06254 SHA512 aab080cf5293e8db0c344b8b713eac51a5525e3b0fffafc0a0f802388e315e0c0a39a902f0037ecc726b590e961587ad9051f5a82c784e9b2d06a4a54e1df6e1
-EBUILD dosbox-staging-0.78.0.ebuild 1842 BLAKE2B 243e1725fce94f68c2da2edfad0aed9ecd3ad99ab223ced92a407689f6fdb05225052347a153ed7eba25eeda6377cd4e338eb8128f075a0d0933b902ca19224a SHA512 49704bb349db19852dcbd1726c5fb09b9bb5a08768344cfe12a50d70da915c6ae64a8208e93bde551924d8a648e9d847c2c49149e43b7ab12707d71cbf93048d
+DIST dosbox-staging-0.79.0.tar.gz 3114176 BLAKE2B 1206aed3d87ead0315a1e7e4ff814c4a787026521653b68532cb231590417c9124511ad8f39132d8d595b227675cfafdec4236a6f8dece43c139a401b7e9d11a SHA512 573365258d2fdc82ad8a803ce8f2b7f47b7219eeba9bc3253447ad48b9df793bc459947dbaa7a484bcce7e23ed3d0385438335dcdd2790c7eba6723960dfc890
EBUILD dosbox-staging-0.78.1.ebuild 1837 BLAKE2B 348e7961693ef926388a3a71911d334ccbfb5d416314ed7767fb1176260cf20e9d9bb8832536f3dfb1274ac17d88c1ca308d8da45fcb3c105aedb5775933b02b SHA512 3ba80b137691ea234b7bfbd2d3b10cc4fe829ad88395a02b94f40d88113e1ce9952f6d428783c9424198c759bc004a9a3d4d27a4e384501e9000ac67c91986d2
-MISC metadata.xml 887 BLAKE2B b7d3d47e105c5217c97f6bca8088e39525dcca272b1d24da98df099b8cc7f9d380264b2ba703648dc05e4738f6c12b6617b376b6457da8573f585e7f5e250b61 SHA512 e7d147a2837d74775439a6e3b96f01e021f96fa141614802e5dd8d52670208b733956ee6e9694c15d86c4fc79546712972f3511efc4966aa1dab1060184d1c62
+EBUILD dosbox-staging-0.79.0.ebuild 1812 BLAKE2B e861fd380c7a7f5c51a1a345f24e7503681e62a1a7975a7a7680bb69cc34bd6e8b7f2b2961ccece86e1ffb78e375449c58d02a03ecbd5d2d15db59c3ed78af7e SHA512 9b728673c121d11ebfe3ddaabdc82affabb02694341b97563ec433570ec0671bd9e89cdbdeb6f3f0c5f1b02ed3e7f5916c8cdd2702b7875462986ccefd4f4650
+MISC metadata.xml 797 BLAKE2B c7d440ebd04ed5cedb3c97e95295e5120223e61920baea68c13857395ad4c117e577a597cc6eb46bdc637b6ecc8642348fb27ac7ff449650bf3eb68a038fc6bf SHA512 aa32bedd4eadb03665259ded49733267573a9dee6d2135d881c657e21183fcbd8d4a8983ede0c0931655434ac302fa0633368bb3ab839928e0a5a8d13a435870
diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.76.0.ebuild b/games-emulation/dosbox-staging/dosbox-staging-0.76.0.ebuild
deleted file mode 100644
index 7e127ad865ea..000000000000
--- a/games-emulation/dosbox-staging/dosbox-staging-0.76.0.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools desktop flag-o-matic xdg
-
-DESCRIPTION="Modernized DOSBox soft-fork"
-HOMEPAGE="https://dosbox-staging.github.io/"
-SRC_URI="https://github.com/dosbox-staging/dosbox-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+alsa debug dynrec +fluidsynth network opengl opus"
-
-RDEPEND="alsa? ( media-libs/alsa-lib )
- debug? ( sys-libs/ncurses:0= )
- fluidsynth? (
- media-sound/fluid-soundfont
- media-sound/fluidsynth
- )
- network? ( media-libs/sdl2-net )
- opengl? ( virtual/opengl )
- opus? ( media-libs/opusfile )
- media-libs/libpng:0=
- media-libs/libsdl2[joystick,opengl?,video,X]
- sys-libs/zlib
- !games-emulation/dosbox"
-DEPEND="${RDEPEND}"
-BDEPEND=""
-
-src_prepare() {
- default
-
- # We do not have default.sf2, use actual name from fluid-soundfont
- sed -e "s/default.sf2/FluidR3_GM.sf2/" \
- -i src/midi/midi_fluidsynth.cpp || die
-
- eautoreconf
-}
-
-src_configure() {
- use debug || append-cppflags -DNDEBUG
- econf \
- $(use_enable alsa alsa-midi) \
- $(use_enable debug) \
- $(use_enable !dynrec dynamic-x86) \
- $(use_enable dynrec) \
- $(use_enable fluidsynth) \
- $(use_enable network) \
- $(use_enable opengl) \
- $(use_enable opus opus-cdda)
-}
-
-src_install() {
- default
- doicon -s scalable contrib/icons/${PN}.svg
- domenu contrib/linux/dosbox-staging.desktop
-}
diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.77.0-r1.ebuild b/games-emulation/dosbox-staging/dosbox-staging-0.77.0-r1.ebuild
deleted file mode 100644
index 5815a612b2b1..000000000000
--- a/games-emulation/dosbox-staging/dosbox-staging-0.77.0-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit meson xdg
-
-DESCRIPTION="Modernized DOSBox soft-fork"
-HOMEPAGE="https://dosbox-staging.github.io/"
-SRC_URI="https://github.com/dosbox-staging/dosbox-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl"
-
-RDEPEND="alsa? ( media-libs/alsa-lib )
- debug? ( sys-libs/ncurses:0= )
- fluidsynth? (
- media-sound/fluid-soundfont
- media-sound/fluidsynth
- )
- mt-32? ( media-libs/munt-mt32emu )
- network? ( media-libs/sdl2-net )
- opengl? ( virtual/opengl )
- media-libs/libpng:0=
- media-libs/libsdl2[joystick,opengl?,video,X]
- media-libs/opusfile
- sys-libs/zlib
- !games-emulation/dosbox"
-DEPEND="${RDEPEND}"
-BDEPEND=""
-
-DOCS=( AUTHORS README THANKS )
-
-src_prepare() {
- default
-
- # We do not have default.sf2, use actual name from fluid-soundfont
- sed -e "s/default.sf2/FluidR3_GM.sf2/" \
- -i src/midi/midi_fluidsynth.cpp || die
-
- # Disable license and docs install (handled by ebuild)
- sed -e "/licenses_dir\|doc_dir/d" -i meson.build || die
-}
-
-src_configure() {
- local emesonargs=(
- $(meson_use alsa use_alsa)
- $(meson_use debug)
- -Ddynamic_core=$(usex dynrec dynrec dyn-x86)
- $(meson_use fluidsynth use_fluidsynth)
- $(meson_use mt-32 use_mt32emu)
- $(meson_use network use_sdl2_net)
- $(meson_use opengl use_opengl)
- )
- meson_src_configure
-}
diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild b/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild
deleted file mode 100644
index 652dbe698a9a..000000000000
--- a/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit meson xdg
-
-DESCRIPTION="Modernized DOSBox soft-fork"
-HOMEPAGE="https://dosbox-staging.github.io/"
-SRC_URI="https://github.com/dosbox-staging/dosbox-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="alsa? ( media-libs/alsa-lib )
- debug? ( sys-libs/ncurses:0= )
- fluidsynth? (
- media-sound/fluid-soundfont
- media-sound/fluidsynth
- )
- mt-32? ( media-libs/munt-mt32emu )
- network? ( media-libs/sdl2-net )
- opengl? ( virtual/opengl )
- media-libs/libpng:0=
- media-libs/libsdl2[joystick,opengl?,video,X]
- media-libs/opusfile
- sys-libs/zlib
- !games-emulation/dosbox"
-DEPEND="${RDEPEND}"
-BDEPEND="test? ( dev-cpp/gtest )"
-
-DOCS=( AUTHORS README THANKS )
-
-src_prepare() {
- default
-
- # We do not have default.sf2, use actual name from fluid-soundfont
- sed -e "s/default.sf2/FluidR3_GM.sf2/" \
- -i src/midi/midi_fluidsynth.cpp || die
-
- # Disable license and docs install (handled by ebuild)
- sed -e "/licenses_dir\|doc_dir/d" -i meson.build || die
-
- # Test failing on some platforms, bug #817908
- # https://github.com/dosbox-staging/dosbox-staging/issues/1230
- sed -i 's/.*soft_limit.*//' tests/meson.build || die
-}
-
-src_configure() {
- local emesonargs=(
- $(meson_use alsa use_alsa)
- $(meson_use debug)
- -Ddynamic_core=$(usex dynrec dynrec dyn-x86)
- $(meson_use fluidsynth use_fluidsynth)
- $(meson_use mt-32 use_mt32emu)
- $(meson_use network use_sdl2_net)
- $(meson_use opengl use_opengl)
- $(meson_feature test unit_tests)
- )
- meson_src_configure
-}
diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild b/games-emulation/dosbox-staging/dosbox-staging-0.79.0.ebuild
index ec44d977dad6..a22e5df9f7cb 100644
--- a/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.79.0.ebuild
@@ -1,7 +1,7 @@
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit meson xdg
DESCRIPTION="Modernized DOSBox soft-fork"
@@ -25,9 +25,11 @@ RDEPEND="alsa? ( media-libs/alsa-lib )
network? ( media-libs/sdl2-net )
opengl? ( virtual/opengl )
slirp? ( net-libs/libslirp )
+ media-libs/iir1
media-libs/libpng:0=
media-libs/libsdl2[joystick,opengl?,video,X]
media-libs/opusfile
+ media-libs/speexdsp
sys-libs/zlib
!games-emulation/dosbox"
DEPEND="${RDEPEND}"
@@ -35,8 +37,6 @@ BDEPEND="test? ( dev-cpp/gtest )"
DOCS=( AUTHORS README THANKS )
-PATCHES=( "${FILESDIR}"/${P}-fix_tests.patch )
-
src_prepare() {
default
@@ -46,14 +46,14 @@ src_prepare() {
# Disable license and docs install (handled by ebuild)
sed -e "/licenses_dir\|doc_dir/d" -i meson.build || die
-
- # Test failing on some platforms, bug #817908
- # https://github.com/dosbox-staging/dosbox-staging/issues/1230
- sed -i 's/.*soft_limit.*//' tests/meson.build || die
}
src_configure() {
+ # Do not look for static libraries
+ # speexdsp system flag needs to be manually enabled
local emesonargs=(
+ -Ddefault_library=shared
+ -Dsystem_libraries=speexdsp
$(meson_use alsa use_alsa)
$(meson_use debug)
-Ddynamic_core=$(usex dynrec dynrec dyn-x86)
diff --git a/games-emulation/dosbox-staging/files/dosbox-staging-0.78.0-fix_tests.patch b/games-emulation/dosbox-staging/files/dosbox-staging-0.78.0-fix_tests.patch
deleted file mode 100644
index d75aad0275ff..000000000000
--- a/games-emulation/dosbox-staging/files/dosbox-staging-0.78.0-fix_tests.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 4499e4566d2e488be1c0e0a20328b13652ed14cb Mon Sep 17 00:00:00 2001
-From: kcgen <kcgen@users.noreply.github.com>
-Date: Sat, 1 Jan 2022 07:48:27 -0800
-Subject: [PATCH] Remove the project's main to prevent masking gmock's main
- (#1476)
-
-clang/llvm ensure gmock's main() function always overrides the main
-function coming from the dosbox library, however sometimes with
-gcc/ld, gmock's main() doesn't take precedent and instead dosbox's
-main is run.
-
-This fixes an issue reported on Fedora and Gentoo where unit tests
-were popping up SDL's graphical window, and then either timing our
-failing.
----
- meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index d885da1b9..59f677b59 100644
---- a/meson.build
-+++ b/meson.build
-@@ -444,7 +444,7 @@ executable('dosbox', dosbox_sources,
- include_directories : incdir,
- install : true)
- # create a library so we can test things inside DOSBOX dep path
--libdosbox = static_library('dosbox', ['src/main.cpp', 'src/dosbox.cpp', version_file],
-+libdosbox = static_library('dosbox', ['src/dosbox.cpp', version_file],
- include_directories : incdir,
- dependencies : [atomic_dep,
- threads_dep,
diff --git a/games-emulation/dosbox-staging/metadata.xml b/games-emulation/dosbox-staging/metadata.xml
index f4c7e89956af..bcf5208f4d03 100644
--- a/games-emulation/dosbox-staging/metadata.xml
+++ b/games-emulation/dosbox-staging/metadata.xml
@@ -10,7 +10,6 @@
<flag name="fluidsynth">use <pkg>media-sound/fluidsynth</pkg> for MIDI emulation</flag>
<flag name="mt-32">use <pkg>media-libs/munt-mt32emu</pkg> for MT-32 emulation</flag>
<flag name="network">Enable networking features (modem, ipx)</flag>
- <flag name="opus">Support compressed audio tracks (.opus) used with CDROM images</flag>
<flag name="slirp">Enable Ethernet emulation using <pkg>net-libs/libslirp</pkg></flag>
</use>
<upstream>