Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/
Date: Wed, 29 Dec 2021 11:16:58
Message-Id: 1640776603.899c36149c3c096840fecd4cbde55f588e6eb226.voyageur@gentoo
1 commit: 899c36149c3c096840fecd4cbde55f588e6eb226
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 29 11:05:43 2021 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 29 11:16:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=899c3614
7
8 games-emulation/dosbox-staging: 0.78.0 bump
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
12
13 games-emulation/dosbox-staging/Manifest | 1 +
14 .../dosbox-staging/dosbox-staging-0.78.0.ebuild | 64 ++++++++++++++++++++++
15 2 files changed, 65 insertions(+)
16
17 diff --git a/games-emulation/dosbox-staging/Manifest b/games-emulation/dosbox-staging/Manifest
18 index 0ef607994d30..fe6a745c58bb 100644
19 --- a/games-emulation/dosbox-staging/Manifest
20 +++ b/games-emulation/dosbox-staging/Manifest
21 @@ -1,3 +1,4 @@
22 DIST dosbox-staging-0.76.0.tar.gz 1908605 BLAKE2B 71b3c3d6a6444e2442d54b1db365ea66c9ee3db703be876facb8425355d82d817c080e005cefd103714e15fc7d1c17d6329c28d67bf74c143d0428e4f58e5142 SHA512 8c0357bcec08cac2cd2b306edd8b51ad05e16a3c3efb1f4c77e1d942f285493cae8aab45f1633e9c168c0b4b45aa289cf3ffc72685dc004d83127cdb6c76ae9d
23 DIST dosbox-staging-0.77.0.tar.gz 2579927 BLAKE2B 2a8381451ec110ca5350afc70c45f158329bd273b381ff61856ab721a0b194c7d501402453e9a36b90663ee8f6697dce8f64b05adf56efa8df2fd68161e420b6 SHA512 37259fecc091f1e318c2385d6e6fdc3b4ad0905ce63a7db1fc812c924bf8c01640692aca4f08b87d06e6001e50f3f2f4bb63c3715aa9cdfeebd205ed345558a0
24 DIST dosbox-staging-0.77.1.tar.gz 2622418 BLAKE2B c56020d263ceac199266a5c458c192441f836ea2e71e1564da175b7ae522286ca1b6a07062498ccea795bbf330beecb5ef99a0130637b1df26603315d48ea6ff SHA512 fe5d6150a88f5c276aee5672f98c15b5ffee702fe9934919d3e78068efd1a85f08a8f04352bc6a8fe850324e33f3227340c59242db6cbae0475b12a58b749cac
25 +DIST dosbox-staging-0.78.0.tar.gz 2908118 BLAKE2B 77dd6afd7c8f62e2936c2ed1545faf1f2700b7bceba4afd6f77eff6b2bd1ea7b7693e3975d38098774f4f6076099251e7aa53cd20a5dec7daefb34a3533fdf40 SHA512 e56b4735f1a741f2c160646f205776e2407ab3333d4d13ce918ff447a08817862a32167afa47b3c7e35bc942bc06aea7d14e25bfe64fce9ee88a843488733746
26
27 diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild b/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild
28 new file mode 100644
29 index 000000000000..652dbe698a9a
30 --- /dev/null
31 +++ b/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild
32 @@ -0,0 +1,64 @@
33 +# Copyright 2020-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +inherit meson xdg
38 +
39 +DESCRIPTION="Modernized DOSBox soft-fork"
40 +HOMEPAGE="https://dosbox-staging.github.io/"
41 +SRC_URI="https://github.com/dosbox-staging/dosbox-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="GPL-2+"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
46 +IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl test"
47 +
48 +RESTRICT="!test? ( test )"
49 +
50 +RDEPEND="alsa? ( media-libs/alsa-lib )
51 + debug? ( sys-libs/ncurses:0= )
52 + fluidsynth? (
53 + media-sound/fluid-soundfont
54 + media-sound/fluidsynth
55 + )
56 + mt-32? ( media-libs/munt-mt32emu )
57 + network? ( media-libs/sdl2-net )
58 + opengl? ( virtual/opengl )
59 + media-libs/libpng:0=
60 + media-libs/libsdl2[joystick,opengl?,video,X]
61 + media-libs/opusfile
62 + sys-libs/zlib
63 + !games-emulation/dosbox"
64 +DEPEND="${RDEPEND}"
65 +BDEPEND="test? ( dev-cpp/gtest )"
66 +
67 +DOCS=( AUTHORS README THANKS )
68 +
69 +src_prepare() {
70 + default
71 +
72 + # We do not have default.sf2, use actual name from fluid-soundfont
73 + sed -e "s/default.sf2/FluidR3_GM.sf2/" \
74 + -i src/midi/midi_fluidsynth.cpp || die
75 +
76 + # Disable license and docs install (handled by ebuild)
77 + sed -e "/licenses_dir\|doc_dir/d" -i meson.build || die
78 +
79 + # Test failing on some platforms, bug #817908
80 + # https://github.com/dosbox-staging/dosbox-staging/issues/1230
81 + sed -i 's/.*soft_limit.*//' tests/meson.build || die
82 +}
83 +
84 +src_configure() {
85 + local emesonargs=(
86 + $(meson_use alsa use_alsa)
87 + $(meson_use debug)
88 + -Ddynamic_core=$(usex dynrec dynrec dyn-x86)
89 + $(meson_use fluidsynth use_fluidsynth)
90 + $(meson_use mt-32 use_mt32emu)
91 + $(meson_use network use_sdl2_net)
92 + $(meson_use opengl use_opengl)
93 + $(meson_feature test unit_tests)
94 + )
95 + meson_src_configure
96 +}