public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bernard Cafarelli" <voyageur@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/
Date: Mon,  5 Jul 2021 18:24:05 +0000 (UTC)	[thread overview]
Message-ID: <1625508685.0d69c655bbd5f419194c8f4c7a1753100447ce62.voyageur@gentoo> (raw)

commit:     0d69c655bbd5f419194c8f4c7a1753100447ce62
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  5 18:10:18 2021 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Mon Jul  5 18:11:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d69c655

games-emulation/dosbox-staging: 0.77 bump

Switch to meson, integrated support for FluidSynth and MT-32

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 games-emulation/dosbox-staging/Manifest            |  1 +
 .../dosbox-staging/dosbox-staging-0.77.0.ebuild    | 56 ++++++++++++++++++++++
 games-emulation/dosbox-staging/metadata.xml        |  1 +
 3 files changed, 58 insertions(+)

diff --git a/games-emulation/dosbox-staging/Manifest b/games-emulation/dosbox-staging/Manifest
index 23fae2ca126..ebdefbfb3fc 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -1 +1,2 @@
 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

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.77.0.ebuild b/games-emulation/dosbox-staging/dosbox-staging-0.77.0.ebuild
new file mode 100644
index 00000000000..956b471e690
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.77.0.ebuild
@@ -0,0 +1,56 @@
+# 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
+	)
+	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/metadata.xml b/games-emulation/dosbox-staging/metadata.xml
index f9ff028304d..7cf856695f3 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-sound/munt</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>


             reply	other threads:[~2021-07-05 18:24 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-05 18:24 Bernard Cafarelli [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-14 10:47 [gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/ Bernard Cafarelli
2024-04-14 21:09 Bernard Cafarelli
2024-04-07 19:10 Bernard Cafarelli
2024-04-07 19:10 Bernard Cafarelli
2024-03-18  5:31 Sam James
2024-02-14 13:17 Bernard Cafarelli
2023-01-11 21:50 Bernard Cafarelli
2022-12-26 23:18 Mike Gilbert
2022-12-22 20:35 Bernard Cafarelli
2022-10-20 21:38 Bernard Cafarelli
2022-09-20 20:17 Bernard Cafarelli
2022-01-12 11:45 Bernard Cafarelli
2021-12-29 18:35 Bernard Cafarelli
2021-12-29 11:16 Bernard Cafarelli
2021-10-31 17:51 Sam James
2021-10-22 21:29 Bernard Cafarelli
2021-10-22 20:59 Bernard Cafarelli
2021-10-11  3:16 Sam James
2021-08-30 11:01 Bernard Cafarelli
2021-07-06  7:51 Bernard Cafarelli
2021-07-06  7:51 Bernard Cafarelli
2020-12-04 14:30 Bernard Cafarelli
2020-10-27 13:13 Bernard Cafarelli
2020-09-04 21:26 Bernard Cafarelli
2020-08-21 13:20 Bernard Cafarelli
2020-08-19 10:03 Bernard Cafarelli
2020-05-09 15:39 Bernard Cafarelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1625508685.0d69c655bbd5f419194c8f4c7a1753100447ce62.voyageur@gentoo \
    --to=voyageur@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox