1 |
commit: 9ff9a345144f6d436e67713f2b775c2d0626cfa6 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 20 20:09:51 2022 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 20 20:17:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ff9a345 |
7 |
|
8 |
games-emulation/dosbox-staging: add 0.79.0 |
9 |
|
10 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
11 |
|
12 |
games-emulation/dosbox-staging/Manifest | 1 + |
13 |
.../dosbox-staging/dosbox-staging-0.79.0.ebuild | 68 ++++++++++++++++++++++ |
14 |
2 files changed, 69 insertions(+) |
15 |
|
16 |
diff --git a/games-emulation/dosbox-staging/Manifest b/games-emulation/dosbox-staging/Manifest |
17 |
index 28ec09329a13..f8a8410222e4 100644 |
18 |
--- a/games-emulation/dosbox-staging/Manifest |
19 |
+++ b/games-emulation/dosbox-staging/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST dosbox-staging-0.77.0.tar.gz 2579927 BLAKE2B 2a8381451ec110ca5350afc70c45f1 |
21 |
DIST dosbox-staging-0.77.1.tar.gz 2622418 BLAKE2B c56020d263ceac199266a5c458c192441f836ea2e71e1564da175b7ae522286ca1b6a07062498ccea795bbf330beecb5ef99a0130637b1df26603315d48ea6ff SHA512 fe5d6150a88f5c276aee5672f98c15b5ffee702fe9934919d3e78068efd1a85f08a8f04352bc6a8fe850324e33f3227340c59242db6cbae0475b12a58b749cac |
22 |
DIST dosbox-staging-0.78.0.tar.gz 2908118 BLAKE2B 77dd6afd7c8f62e2936c2ed1545faf1f2700b7bceba4afd6f77eff6b2bd1ea7b7693e3975d38098774f4f6076099251e7aa53cd20a5dec7daefb34a3533fdf40 SHA512 e56b4735f1a741f2c160646f205776e2407ab3333d4d13ce918ff447a08817862a32167afa47b3c7e35bc942bc06aea7d14e25bfe64fce9ee88a843488733746 |
23 |
DIST dosbox-staging-0.78.1.tar.gz 2968448 BLAKE2B 7b48763d10338d36e61696331358f7572a528c10d48e473dfaba6a8c96dd5d3ca2b9e1f5c595d653fbbe64f2b5f1d9f1ff8279dfab8f2cb49ac6faba697e97ca SHA512 3179e8eac00e22e35b36623c11688b8c60408bf487a56683269ff065988fbdf4319c16097232cc191695cf2e10c05f4c4eee15e92d9887ebf03a23f808d5db7c |
24 |
+DIST dosbox-staging-0.79.0.tar.gz 3114176 BLAKE2B 1206aed3d87ead0315a1e7e4ff814c4a787026521653b68532cb231590417c9124511ad8f39132d8d595b227675cfafdec4236a6f8dece43c139a401b7e9d11a SHA512 573365258d2fdc82ad8a803ce8f2b7f47b7219eeba9bc3253447ad48b9df793bc459947dbaa7a484bcce7e23ed3d0385438335dcdd2790c7eba6723960dfc890 |
25 |
|
26 |
diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.79.0.ebuild b/games-emulation/dosbox-staging/dosbox-staging-0.79.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..a22e5df9f7cb |
29 |
--- /dev/null |
30 |
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.79.0.ebuild |
31 |
@@ -0,0 +1,68 @@ |
32 |
+# Copyright 2020-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+inherit meson xdg |
37 |
+ |
38 |
+DESCRIPTION="Modernized DOSBox soft-fork" |
39 |
+HOMEPAGE="https://dosbox-staging.github.io/" |
40 |
+SRC_URI="https://github.com/dosbox-staging/dosbox-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-2+" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
45 |
+IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl slirp test" |
46 |
+ |
47 |
+RESTRICT="!test? ( test )" |
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 |
+ slirp? ( net-libs/libslirp ) |
59 |
+ media-libs/iir1 |
60 |
+ media-libs/libpng:0= |
61 |
+ media-libs/libsdl2[joystick,opengl?,video,X] |
62 |
+ media-libs/opusfile |
63 |
+ media-libs/speexdsp |
64 |
+ sys-libs/zlib |
65 |
+ !games-emulation/dosbox" |
66 |
+DEPEND="${RDEPEND}" |
67 |
+BDEPEND="test? ( dev-cpp/gtest )" |
68 |
+ |
69 |
+DOCS=( AUTHORS README THANKS ) |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ default |
73 |
+ |
74 |
+ # We do not have default.sf2, use actual name from fluid-soundfont |
75 |
+ sed -e "s/default.sf2/FluidR3_GM.sf2/" \ |
76 |
+ -i src/midi/midi_fluidsynth.cpp || die |
77 |
+ |
78 |
+ # Disable license and docs install (handled by ebuild) |
79 |
+ sed -e "/licenses_dir\|doc_dir/d" -i meson.build || die |
80 |
+} |
81 |
+ |
82 |
+src_configure() { |
83 |
+ # Do not look for static libraries |
84 |
+ # speexdsp system flag needs to be manually enabled |
85 |
+ local emesonargs=( |
86 |
+ -Ddefault_library=shared |
87 |
+ -Dsystem_libraries=speexdsp |
88 |
+ $(meson_use alsa use_alsa) |
89 |
+ $(meson_use debug) |
90 |
+ -Ddynamic_core=$(usex dynrec dynrec dyn-x86) |
91 |
+ $(meson_use fluidsynth use_fluidsynth) |
92 |
+ $(meson_use mt-32 use_mt32emu) |
93 |
+ $(meson_use network use_sdl2_net) |
94 |
+ $(meson_use opengl use_opengl) |
95 |
+ $(meson_use slirp use_slirp) |
96 |
+ $(meson_feature test unit_tests) |
97 |
+ ) |
98 |
+ meson_src_configure |
99 |
+} |