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