summaryrefslogtreecommitdiff
path: root/games-emulation/dosbox-staging
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-08 15:03:58 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-08 15:03:58 +0100
commit814f4cf860e299a046b649eaee5463427984c09c (patch)
tree74c45f097899310e599dad6b8df5b63e0f085bc0 /games-emulation/dosbox-staging
parent7f0ccc917c7abe6223784c703d86cd14755691fb (diff)
gentoo resync : 08.07.2021
Diffstat (limited to 'games-emulation/dosbox-staging')
-rw-r--r--games-emulation/dosbox-staging/Manifest11
-rw-r--r--games-emulation/dosbox-staging/dosbox-staging-0.75.1-r1.ebuild50
-rw-r--r--games-emulation/dosbox-staging/dosbox-staging-0.75.1-r2.ebuild51
-rw-r--r--games-emulation/dosbox-staging/dosbox-staging-0.75.2.ebuild49
-rw-r--r--games-emulation/dosbox-staging/dosbox-staging-0.77.0-r1.ebuild57
-rw-r--r--games-emulation/dosbox-staging/files/dosbox-staging-0.75.1-ar.patch11
-rw-r--r--games-emulation/dosbox-staging/files/dosbox-staging-0.75.1-pthread.patch11
-rw-r--r--games-emulation/dosbox-staging/metadata.xml1
8 files changed, 61 insertions, 180 deletions
diff --git a/games-emulation/dosbox-staging/Manifest b/games-emulation/dosbox-staging/Manifest
index 4e6e80f7fe04..ca17698457b1 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -1,10 +1,5 @@
-AUX dosbox-staging-0.75.1-ar.patch 370 BLAKE2B 8df10e9efd58665f6918b80f3b3ab4c1a601e460223a8d1737b02fba854f297a3f7b79f45b759dad12303fe23be511be2939367a56a211b7af3ba1b051518f47 SHA512 f12ee40e1124fb796465c8860052c6ca79e726cc0b3f30a4dd106d584638eb92b20a26d8c7219ebb5c5492a98520d528db4d67120b1c3065530a7565e2c8dbb9
-AUX dosbox-staging-0.75.1-pthread.patch 378 BLAKE2B d0b5fe1e9927592fac4d87863587f8a5e53089e1f52db234ceca975034768e8b84ca3976ddf66943fa42ed2c9644f109b015ba35677151bc70b6ffa9ffee80c8 SHA512 8decb24a22fdceeebe45fcff73d99ae1eeebf8f9c679f25cb049c804c5ea74ed297593839aef509ea63afc0a36f5821750be93c14cb5872af163f5c815156b30
-DIST dosbox-staging-0.75.1.tar.gz 1806471 BLAKE2B 5f9f8038327eb46c2c2b5035ca8e2cc93660bb6ce1dfa9572bf67278f14455db723104c0ab4e90b805cc7dbf253f61528ad6a31edb574af57e106f613958aede SHA512 3e14354e4eb697514c4348af2e73e9f2fb84cc3796b5cfea37faac355bd93a54b0f9c717bf0ab75d824cf34e3ee0d40546e2bbf80bc924a37bd8f981f054e4e9
-DIST dosbox-staging-0.75.2.tar.gz 1816233 BLAKE2B 0cb3224a1fe0e01e5069b78c91191f33b6d84dfb21b00ed8cd832225e68e5f66e841506bc7c887da462727b931a6c72b84dbf5e48e4dde21dbf62ffa3da4edc6 SHA512 2988b2cc44d041193d900efc4c6fa516aca6246e51c1dece9b207bd3549a8c76c5bcb2f3f5a90da6bb2b573663bddd0020274f17130548aef9cef1f4adf79220
DIST dosbox-staging-0.76.0.tar.gz 1908605 BLAKE2B 71b3c3d6a6444e2442d54b1db365ea66c9ee3db703be876facb8425355d82d817c080e005cefd103714e15fc7d1c17d6329c28d67bf74c143d0428e4f58e5142 SHA512 8c0357bcec08cac2cd2b306edd8b51ad05e16a3c3efb1f4c77e1d942f285493cae8aab45f1633e9c168c0b4b45aa289cf3ffc72685dc004d83127cdb6c76ae9d
-EBUILD dosbox-staging-0.75.1-r1.ebuild 1144 BLAKE2B fe3b39890f8a3f81748b11b338a7480f5a84572bcf0dd00acb53681707a16d9f56fb1befd32871fa64263d81c8080dc608eb5a05067ef223b2002a8ede96357e SHA512 5be3d7dd10c9fe2ecd399ccb204b09706214086bbb230ed5c6ef2f283db4a7c181d5a5126db489214654f02484a186c401d19d7bed28e85f23ad1a24ae8bcf74
-EBUILD dosbox-staging-0.75.1-r2.ebuild 1186 BLAKE2B f511b38ee74bef77a5ec74d43c6c0ace4fe77e1efd43f875d2aae9ee5c437f8e666854f314ed5b1f8398f6e04a4d605e9d8ffb41bf688769ab2de93d6986f867 SHA512 199f8186d8d6fb6eca81cb3959bcb353514353a25d5779e49ef3f50e0b852143df353ba2aa516d11e5be7e5668df8223b64127e716f92406488724e28303587d
-EBUILD dosbox-staging-0.75.2.ebuild 1163 BLAKE2B caf74b9aaa814a9c3143acfa691b96dc38d6f6aaddded408c0269feda1e48fc2a5a6cd1562673d31d98dec0b2cffca5d332371c7601a9010b6d3590231efbdf9 SHA512 221c432915666c9bf78b53e32fe9670502ff27b0d41f15f0b10c4422bceaf0ada4f387be63707e8b581d5d121cac5afff65a0105c69a52c66a8ae047a89a434e
+DIST dosbox-staging-0.77.0.tar.gz 2579927 BLAKE2B 2a8381451ec110ca5350afc70c45f158329bd273b381ff61856ab721a0b194c7d501402453e9a36b90663ee8f6697dce8f64b05adf56efa8df2fd68161e420b6 SHA512 37259fecc091f1e318c2385d6e6fdc3b4ad0905ce63a7db1fc812c924bf8c01640692aca4f08b87d06e6001e50f3f2f4bb63c3715aa9cdfeebd205ed345558a0
EBUILD dosbox-staging-0.76.0.ebuild 1431 BLAKE2B d6fefe9c171bd48de4246e239d95ebc78bbc02cf1aa138712cc3a2ed76fa9a5a5a181770e8d3f2173079770ef56b4adb83f8843d2fbfcfa6996c8806936912c6 SHA512 3fa322c2f91c97d0f86befc97c93d0e4dd4dcdba56055a97a8dd0fe85907e7319353cf85790dfc790fe811a9ba8990eaece8d86040255cf55f99ea8b502b5ea5
-MISC metadata.xml 710 BLAKE2B 45d197041761e16f354db34d0de96caca1ae85803249cbe2f617263b65603bfc609739bb498cfccc8ebc847168d0f545ff25eecc7ac7bc528532558b906f8130 SHA512 5ccb4a8c37351fd9914d51e51adc0c6c76024bf089210d8517c26410c2cff338909d5cffcf0be4f6ee74d931d57f6418112a93ce6a0b620540da21d224fb9afc
+EBUILD dosbox-staging-0.77.0-r1.ebuild 1458 BLAKE2B 0e0f6a28fe7851bded45749a2322b9b9225335c14923ed4ce1aeeb915f0a5a2eb21daba8b7862d8fdffc267210354053c10b0e038a7c5e41beb0020490c05c7b SHA512 88e4b4aa99fd3c25475aca2e522a23300b9af2628c7f64b9a8832105a350d99f451d6634b5336b11fdee173374d34975f41f46df25840c09178fb3286bf1f4a5
+MISC metadata.xml 797 BLAKE2B 0ed46471b4346f54c7072632f46f3b430b4b7952dae71f4bbc1f87eeb818db285eace15573b3e236ea24baa23622479ab5150df0ad01a0f34d8204ea49b28c78 SHA512 c20d218c8b4eff1ac91c33f02adda6be7bdfd0301add882b612ea2d2513782e3ef160b3a84c99e22a3c2707d90ddcc5b0fb76558fdc0d64c6c2831bcd4a44a07
diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.75.1-r1.ebuild b/games-emulation/dosbox-staging/dosbox-staging-0.75.1-r1.ebuild
deleted file mode 100644
index afdf9f7951fe..000000000000
--- a/games-emulation/dosbox-staging/dosbox-staging-0.75.1-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools desktop
-
-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 network opengl opus"
-
-RDEPEND="alsa? ( media-libs/alsa-lib )
- debug? ( sys-libs/ncurses:0= )
- 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=""
-
-PATCHES=( "${FILESDIR}"/${P}-pthread.patch )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_enable alsa alsa-midi) \
- $(use_enable debug) \
- $(use_enable !dynrec dynamic-x86) \
- $(use_enable dynrec) \
- $(use_enable network) \
- $(use_enable opengl) \
- $(use_enable opus opus-cdda)
-}
-
-src_install() {
- default
- doicon contrib/icons/${PN}.svg
- make_desktop_entry dosbox DOSBox-staging ${PN}
-}
diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.75.1-r2.ebuild b/games-emulation/dosbox-staging/dosbox-staging-0.75.1-r2.ebuild
deleted file mode 100644
index bdedc780583a..000000000000
--- a/games-emulation/dosbox-staging/dosbox-staging-0.75.1-r2.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools desktop 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 network opengl opus"
-
-RDEPEND="alsa? ( media-libs/alsa-lib )
- debug? ( sys-libs/ncurses:0= )
- 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=""
-
-PATCHES=( "${FILESDIR}"/${P}-ar.patch
- "${FILESDIR}"/${P}-pthread.patch )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_enable alsa alsa-midi) \
- $(use_enable debug) \
- $(use_enable !dynrec dynamic-x86) \
- $(use_enable dynrec) \
- $(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.75.2.ebuild b/games-emulation/dosbox-staging/dosbox-staging-0.75.2.ebuild
deleted file mode 100644
index 75de6e5a03a1..000000000000
--- a/games-emulation/dosbox-staging/dosbox-staging-0.75.2.ebuild
+++ /dev/null
@@ -1,49 +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 network opengl opus"
-
-RDEPEND="alsa? ( media-libs/alsa-lib )
- debug? ( sys-libs/ncurses:0= )
- 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
- 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 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
new file mode 100644
index 000000000000..5815a612b2b1
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.77.0-r1.ebuild
@@ -0,0 +1,57 @@
+# 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/files/dosbox-staging-0.75.1-ar.patch b/games-emulation/dosbox-staging/files/dosbox-staging-0.75.1-ar.patch
deleted file mode 100644
index fb2c24267f05..000000000000
--- a/games-emulation/dosbox-staging/files/dosbox-staging-0.75.1-ar.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur dosbox-staging-0.75.1.orig/configure.ac dosbox-staging-0.75.1/configure.ac
---- dosbox-staging-0.75.1.orig/configure.ac 2020-08-19 10:49:45.000000000 +0200
-+++ dosbox-staging-0.75.1/configure.ac 2020-09-04 23:03:11.375920481 +0200
-@@ -17,6 +17,7 @@
- AC_CONFIG_HEADER(config.h)
-
- dnl Checks for programs.
-+AM_PROG_AR
- AC_PROG_MAKE_SET
- AC_PROG_CC
- AC_PROG_CPP
diff --git a/games-emulation/dosbox-staging/files/dosbox-staging-0.75.1-pthread.patch b/games-emulation/dosbox-staging/files/dosbox-staging-0.75.1-pthread.patch
deleted file mode 100644
index 1aa7de682bd2..000000000000
--- a/games-emulation/dosbox-staging/files/dosbox-staging-0.75.1-pthread.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- dosbox-staging-0.75.1/configure.ac.orig 2020-08-20 14:25:41.295432272 +0200
-+++ dosbox-staging-0.75.1/configure.ac 2020-08-20 14:26:00.614461707 +0200
-@@ -37,7 +37,7 @@
- :,
- AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
- )
--LIBS="$LIBS $SDL_LIBS"
-+LIBS="$LIBS -lpthread $SDL_LIBS"
- CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
-
- dnl Checks for header files.
diff --git a/games-emulation/dosbox-staging/metadata.xml b/games-emulation/dosbox-staging/metadata.xml
index f9ff028304d3..02a2086f27a3 100644
--- a/games-emulation/dosbox-staging/metadata.xml
+++ b/games-emulation/dosbox-staging/metadata.xml
@@ -8,6 +8,7 @@
<use>
<flag name="dynrec">Use recompiling cpu core instead of dynamic x86/x64 specific cpu core</flag>
<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>
</use>