[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2024-04-14 Thread Bernard Cafarelli
commit: 3e9e2f1c6cd65eba7999c12c92c97a3ecffbe3eb
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Sun Apr 14 10:05:43 2024 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Sun Apr 14 21:09:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e9e2f1c

games-emulation/dosbox-staging: drop 0.81.1, this was not released yet

Closes: https://bugs.gentoo.org/929245
Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest|  1 -
 .../dosbox-staging/dosbox-staging-0.81.1.ebuild| 71 --
 2 files changed, 72 deletions(-)

diff --git a/games-emulation/dosbox-staging/Manifest 
b/games-emulation/dosbox-staging/Manifest
index 4b545fff4caf..9da9930aaf7f 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -1,3 +1,2 @@
 DIST dosbox-staging-0.80.1.tar.gz 3876041 BLAKE2B 
bfc260cb4d2ff01ac8538bbb2de65847ac32e81873dae42d2d4e84f1b9be5370be5d19bd2d209e7b1bc92f03f072ecd349df615869dcefde2f27074a6712874b
 SHA512 
8d28761e998c033b0cad5ca49c1a094d0ff2ca8a45183101c31805dda6a8e6861805739e723492329cab525af782849ec34ae97d29449d6c50e781475a011561
 DIST dosbox-staging-0.81.0.tar.gz 6943457 BLAKE2B 
088fef12a6e0627a146b47f6b581af39f07d4acd47098650aa18a61d5b77d6255196838036037f1df2b61dc288163dc8c1da57b0669a3a8e9ceea8a9ec275494
 SHA512 
96257602b0133ec78fbc7bd5803404d91abf673172e97319067a0f3f97db8860ae6d4771bb03cff5b73e033f220cb4fa6cd778cf549a9bc63e3550def9aa8797
-DIST dosbox-staging-0.81.1.tar.gz 7013870 BLAKE2B 
60416ba06a4e003f50ccc56a4623450e604db7bb6d3d19f9127558c155c645f96b604556550b1ecb3de029b8f16ee485ba06b2dd4bd31373577b477989c40fb5
 SHA512 
61d3aec8234c90b01671d346b705c2b920370cc42bafd5aeb4d0810622e347249fa66e0cb9fba574645cef473331a9f2d33fdb87f41e8e053ef6034618544ba6

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.81.1.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.81.1.ebuild
deleted file mode 100644
index 8dc276da8126..
--- a/games-emulation/dosbox-staging/dosbox-staging-0.81.1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit flag-o-matic 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 ~ppc ~ppc64 ~x86"
-IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl slirp test"
-
-RESTRICT="!test? ( test )"
-
-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 )
-   slirp? ( net-libs/libslirp )
-   media-libs/iir1
-   media-libs/libpng:0=
-   media-libs/libsdl2[joystick,opengl?,video,X]
-   media-libs/opusfile
-   media-libs/speexdsp
-   sys-libs/zlib
-   !games-emulation/dosbox"
-DEPEND="${RDEPEND}"
-BDEPEND="test? ( dev-cpp/gtest )"
-
-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() {
-   # -Werror=odr
-   # https://bugs.gentoo.org/926078
-   # https://github.com/dosbox-staging/dosbox-staging/issues/3519
-   filter-lto
-
-   # xinput2 comes with libsdl2[X]
-   local emesonargs=(
-   -Duse_xinput2=true
-   $(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_use slirp use_slirp)
-   $(meson_feature test unit_tests)
-   )
-   meson_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2024-04-07 Thread Bernard Cafarelli
commit: 7d057b5b0f02040d9cbe4ad7ea8d30003c97565f
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Sun Apr  7 19:07:03 2024 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Sun Apr  7 19:07:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d057b5b

games-emulation/dosbox-staging: drop 0.79.1, 0.80.0

Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest|  2 -
 .../dosbox-staging/dosbox-staging-0.79.1.ebuild| 64 -
 .../dosbox-staging/dosbox-staging-0.80.0.ebuild| 66 --
 3 files changed, 132 deletions(-)

diff --git a/games-emulation/dosbox-staging/Manifest 
b/games-emulation/dosbox-staging/Manifest
index b82ea21f7dde..9da9930aaf7f 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -1,4 +1,2 @@
-DIST dosbox-staging-0.79.1.tar.gz 3280884 BLAKE2B 
48fd371df026392d59db2c9874f81b772b6595e2471a7ad1200e27e94fc87892f8e1c51288c1b0a430d8c3260535e35a00025047248551569f402b32a1ca3cf8
 SHA512 
6d7212229b58936cd1c4382f5e5cad45066e92f6a5b3bb2e97177ff7122dd527496a16dcefbfa84c3ad031d805c804c7872ec6eeaef9d695b0b8c4309f58acc7
-DIST dosbox-staging-0.80.0.tar.gz 3871686 BLAKE2B 
169f06bdaa2eec8490deb58d315c8ee05a165678d35e42f7970d0339d97a34e672cb5bf5f7252d35ec9a995dfb169927ace6e0a949da673dd8d36b545eef32aa
 SHA512 
f1de336a6c996dc1bff23520d1f865b4aa16c8702200abf2c604084f846c00f1aa31d1940be817a307326ccdcc2f07c7f7e6c8c6fdbb61b331fe6428ed2ff9d6
 DIST dosbox-staging-0.80.1.tar.gz 3876041 BLAKE2B 
bfc260cb4d2ff01ac8538bbb2de65847ac32e81873dae42d2d4e84f1b9be5370be5d19bd2d209e7b1bc92f03f072ecd349df615869dcefde2f27074a6712874b
 SHA512 
8d28761e998c033b0cad5ca49c1a094d0ff2ca8a45183101c31805dda6a8e6861805739e723492329cab525af782849ec34ae97d29449d6c50e781475a011561
 DIST dosbox-staging-0.81.0.tar.gz 6943457 BLAKE2B 
088fef12a6e0627a146b47f6b581af39f07d4acd47098650aa18a61d5b77d6255196838036037f1df2b61dc288163dc8c1da57b0669a3a8e9ceea8a9ec275494
 SHA512 
96257602b0133ec78fbc7bd5803404d91abf673172e97319067a0f3f97db8860ae6d4771bb03cff5b73e033f220cb4fa6cd778cf549a9bc63e3550def9aa8797

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.79.1.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.79.1.ebuild
deleted file mode 100644
index 0a3180cceb83..
--- a/games-emulation/dosbox-staging/dosbox-staging-0.79.1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-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 ~ppc ~ppc64 ~x86"
-IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl slirp test"
-
-RESTRICT="!test? ( test )"
-
-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 )
-   slirp? ( net-libs/libslirp )
-   media-libs/iir1
-   media-libs/libpng:0=
-   media-libs/libsdl2[joystick,opengl?,video,X]
-   media-libs/opusfile
-   media-libs/speexdsp
-   sys-libs/zlib
-   !games-emulation/dosbox"
-DEPEND="${RDEPEND}"
-BDEPEND="test? ( dev-cpp/gtest )"
-
-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_use slirp use_slirp)
-   $(meson_feature test unit_tests)
-   )
-   meson_src_configure
-}

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.80.0.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.80.0.ebuild
deleted file mode 100644
index 0b11b68c3d99..
--- a/games-emulation/dosbox-staging/dosbox-staging-0.80.0.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit meson xdg
-
-DESCRIPTION="Modernized DOSBox soft-fork"

[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2024-04-07 Thread Bernard Cafarelli
commit: bb637748419985ef527006d34532929c65e8c723
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Sun Apr  7 19:09:47 2024 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Sun Apr  7 19:09:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb637748

games-emulation/dosbox-staging: add 0.81.1

Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest|  1 +
 .../dosbox-staging/dosbox-staging-0.81.1.ebuild| 71 ++
 2 files changed, 72 insertions(+)

diff --git a/games-emulation/dosbox-staging/Manifest 
b/games-emulation/dosbox-staging/Manifest
index 9da9930aaf7f..4b545fff4caf 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -1,2 +1,3 @@
 DIST dosbox-staging-0.80.1.tar.gz 3876041 BLAKE2B 
bfc260cb4d2ff01ac8538bbb2de65847ac32e81873dae42d2d4e84f1b9be5370be5d19bd2d209e7b1bc92f03f072ecd349df615869dcefde2f27074a6712874b
 SHA512 
8d28761e998c033b0cad5ca49c1a094d0ff2ca8a45183101c31805dda6a8e6861805739e723492329cab525af782849ec34ae97d29449d6c50e781475a011561
 DIST dosbox-staging-0.81.0.tar.gz 6943457 BLAKE2B 
088fef12a6e0627a146b47f6b581af39f07d4acd47098650aa18a61d5b77d6255196838036037f1df2b61dc288163dc8c1da57b0669a3a8e9ceea8a9ec275494
 SHA512 
96257602b0133ec78fbc7bd5803404d91abf673172e97319067a0f3f97db8860ae6d4771bb03cff5b73e033f220cb4fa6cd778cf549a9bc63e3550def9aa8797
+DIST dosbox-staging-0.81.1.tar.gz 7013870 BLAKE2B 
60416ba06a4e003f50ccc56a4623450e604db7bb6d3d19f9127558c155c645f96b604556550b1ecb3de029b8f16ee485ba06b2dd4bd31373577b477989c40fb5
 SHA512 
61d3aec8234c90b01671d346b705c2b920370cc42bafd5aeb4d0810622e347249fa66e0cb9fba574645cef473331a9f2d33fdb87f41e8e053ef6034618544ba6

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.81.1.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.81.1.ebuild
new file mode 100644
index ..8dc276da8126
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.81.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit flag-o-matic 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 ~ppc ~ppc64 ~x86"
+IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl slirp test"
+
+RESTRICT="!test? ( test )"
+
+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 )
+   slirp? ( net-libs/libslirp )
+   media-libs/iir1
+   media-libs/libpng:0=
+   media-libs/libsdl2[joystick,opengl?,video,X]
+   media-libs/opusfile
+   media-libs/speexdsp
+   sys-libs/zlib
+   !games-emulation/dosbox"
+DEPEND="${RDEPEND}"
+BDEPEND="test? ( dev-cpp/gtest )"
+
+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() {
+   # -Werror=odr
+   # https://bugs.gentoo.org/926078
+   # https://github.com/dosbox-staging/dosbox-staging/issues/3519
+   filter-lto
+
+   # xinput2 comes with libsdl2[X]
+   local emesonargs=(
+   -Duse_xinput2=true
+   $(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_use slirp use_slirp)
+   $(meson_feature test unit_tests)
+   )
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2024-03-17 Thread Sam James
commit: 718fed0a681f14841a17a084e70c212135c845f0
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Mar 18 03:51:30 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 18 05:30:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=718fed0a

games-emulation/dosbox-staging: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/926078
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 games-emulation/dosbox-staging/dosbox-staging-0.81.0.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.81.0.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.81.0.ebuild
index 859fcaaa1816..8dc276da8126 100644
--- a/games-emulation/dosbox-staging/dosbox-staging-0.81.0.ebuild
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.81.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-inherit meson xdg
+inherit flag-o-matic meson xdg
 
 DESCRIPTION="Modernized DOSBox soft-fork"
 HOMEPAGE="https://dosbox-staging.github.io/;
@@ -49,6 +49,11 @@ src_prepare() {
 }
 
 src_configure() {
+   # -Werror=odr
+   # https://bugs.gentoo.org/926078
+   # https://github.com/dosbox-staging/dosbox-staging/issues/3519
+   filter-lto
+
# xinput2 comes with libsdl2[X]
local emesonargs=(
-Duse_xinput2=true



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2024-02-14 Thread Bernard Cafarelli
commit: 56922b70744a893607f6da9ec461c710afe530e3
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Wed Feb 14 13:16:59 2024 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Wed Feb 14 13:17:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56922b70

games-emulation/dosbox-staging: add 0.81.0

screenshot feature is now enabled by default (it only uses libpng now
which is a hard dependency)

Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest|  1 +
 .../dosbox-staging/dosbox-staging-0.81.0.ebuild| 66 ++
 2 files changed, 67 insertions(+)

diff --git a/games-emulation/dosbox-staging/Manifest 
b/games-emulation/dosbox-staging/Manifest
index 5b8c1c27587a..b82ea21f7dde 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -1,3 +1,4 @@
 DIST dosbox-staging-0.79.1.tar.gz 3280884 BLAKE2B 
48fd371df026392d59db2c9874f81b772b6595e2471a7ad1200e27e94fc87892f8e1c51288c1b0a430d8c3260535e35a00025047248551569f402b32a1ca3cf8
 SHA512 
6d7212229b58936cd1c4382f5e5cad45066e92f6a5b3bb2e97177ff7122dd527496a16dcefbfa84c3ad031d805c804c7872ec6eeaef9d695b0b8c4309f58acc7
 DIST dosbox-staging-0.80.0.tar.gz 3871686 BLAKE2B 
169f06bdaa2eec8490deb58d315c8ee05a165678d35e42f7970d0339d97a34e672cb5bf5f7252d35ec9a995dfb169927ace6e0a949da673dd8d36b545eef32aa
 SHA512 
f1de336a6c996dc1bff23520d1f865b4aa16c8702200abf2c604084f846c00f1aa31d1940be817a307326ccdcc2f07c7f7e6c8c6fdbb61b331fe6428ed2ff9d6
 DIST dosbox-staging-0.80.1.tar.gz 3876041 BLAKE2B 
bfc260cb4d2ff01ac8538bbb2de65847ac32e81873dae42d2d4e84f1b9be5370be5d19bd2d209e7b1bc92f03f072ecd349df615869dcefde2f27074a6712874b
 SHA512 
8d28761e998c033b0cad5ca49c1a094d0ff2ca8a45183101c31805dda6a8e6861805739e723492329cab525af782849ec34ae97d29449d6c50e781475a011561
+DIST dosbox-staging-0.81.0.tar.gz 6943457 BLAKE2B 
088fef12a6e0627a146b47f6b581af39f07d4acd47098650aa18a61d5b77d6255196838036037f1df2b61dc288163dc8c1da57b0669a3a8e9ceea8a9ec275494
 SHA512 
96257602b0133ec78fbc7bd5803404d91abf673172e97319067a0f3f97db8860ae6d4771bb03cff5b73e033f220cb4fa6cd778cf549a9bc63e3550def9aa8797

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.81.0.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.81.0.ebuild
new file mode 100644
index ..859fcaaa1816
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.81.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+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 ~ppc ~ppc64 ~x86"
+IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl slirp test"
+
+RESTRICT="!test? ( test )"
+
+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 )
+   slirp? ( net-libs/libslirp )
+   media-libs/iir1
+   media-libs/libpng:0=
+   media-libs/libsdl2[joystick,opengl?,video,X]
+   media-libs/opusfile
+   media-libs/speexdsp
+   sys-libs/zlib
+   !games-emulation/dosbox"
+DEPEND="${RDEPEND}"
+BDEPEND="test? ( dev-cpp/gtest )"
+
+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() {
+   # xinput2 comes with libsdl2[X]
+   local emesonargs=(
+   -Duse_xinput2=true
+   $(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_use slirp use_slirp)
+   $(meson_feature test unit_tests)
+   )
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2023-01-11 Thread Bernard Cafarelli
commit: 788626c4bd20c96b0418450a3f6eb30c40cef63e
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Wed Jan 11 21:49:51 2023 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Wed Jan 11 21:50:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=788626c4

games-emulation/dosbox-staging: add 0.80.1

Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest|  1 +
 .../dosbox-staging/dosbox-staging-0.80.1.ebuild| 68 ++
 2 files changed, 69 insertions(+)

diff --git a/games-emulation/dosbox-staging/Manifest 
b/games-emulation/dosbox-staging/Manifest
index 804b04cfc411..5b8c1c27587a 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -1,2 +1,3 @@
 DIST dosbox-staging-0.79.1.tar.gz 3280884 BLAKE2B 
48fd371df026392d59db2c9874f81b772b6595e2471a7ad1200e27e94fc87892f8e1c51288c1b0a430d8c3260535e35a00025047248551569f402b32a1ca3cf8
 SHA512 
6d7212229b58936cd1c4382f5e5cad45066e92f6a5b3bb2e97177ff7122dd527496a16dcefbfa84c3ad031d805c804c7872ec6eeaef9d695b0b8c4309f58acc7
 DIST dosbox-staging-0.80.0.tar.gz 3871686 BLAKE2B 
169f06bdaa2eec8490deb58d315c8ee05a165678d35e42f7970d0339d97a34e672cb5bf5f7252d35ec9a995dfb169927ace6e0a949da673dd8d36b545eef32aa
 SHA512 
f1de336a6c996dc1bff23520d1f865b4aa16c8702200abf2c604084f846c00f1aa31d1940be817a307326ccdcc2f07c7f7e6c8c6fdbb61b331fe6428ed2ff9d6
+DIST dosbox-staging-0.80.1.tar.gz 3876041 BLAKE2B 
bfc260cb4d2ff01ac8538bbb2de65847ac32e81873dae42d2d4e84f1b9be5370be5d19bd2d209e7b1bc92f03f072ecd349df615869dcefde2f27074a6712874b
 SHA512 
8d28761e998c033b0cad5ca49c1a094d0ff2ca8a45183101c31805dda6a8e6861805739e723492329cab525af782849ec34ae97d29449d6c50e781475a011561

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.80.1.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.80.1.ebuild
new file mode 100644
index ..fcc5f3f64734
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.80.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+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 ~ppc ~ppc64 ~x86"
+IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl screenshot slirp 
test"
+
+RESTRICT="!test? ( test )"
+
+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 )
+   screenshot? ( media-libs/sdl2-image )
+   slirp? ( net-libs/libslirp )
+   media-libs/iir1
+   media-libs/libpng:0=
+   media-libs/libsdl2[joystick,opengl?,video,X]
+   media-libs/opusfile
+   media-libs/speexdsp
+   sys-libs/zlib
+   !games-emulation/dosbox"
+DEPEND="${RDEPEND}"
+BDEPEND="test? ( dev-cpp/gtest )"
+
+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() {
+   # xinput2 comes with libsdl2[X]
+   local emesonargs=(
+   -Duse_xinput2=true
+   $(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_use screenshot use_sdl2_image)
+   $(meson_use slirp use_slirp)
+   $(meson_feature test unit_tests)
+   )
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2022-12-26 Thread Mike Gilbert
commit: c9aa5c4917d889bc064cb700610b616e9b0665fd
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Dec 26 23:17:07 2022 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Dec 26 23:17:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9aa5c49

games-emulation/dosbox-staging: update Manifest

Upstream modified the v0.80.0 tag to correct the version in meson.build.

Closes: https://bugs.gentoo.org/888539
Signed-off-by: Mike Gilbert  gentoo.org>

 games-emulation/dosbox-staging/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/dosbox-staging/Manifest 
b/games-emulation/dosbox-staging/Manifest
index 9a7fea044300..804b04cfc411 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -1,2 +1,2 @@
 DIST dosbox-staging-0.79.1.tar.gz 3280884 BLAKE2B 
48fd371df026392d59db2c9874f81b772b6595e2471a7ad1200e27e94fc87892f8e1c51288c1b0a430d8c3260535e35a00025047248551569f402b32a1ca3cf8
 SHA512 
6d7212229b58936cd1c4382f5e5cad45066e92f6a5b3bb2e97177ff7122dd527496a16dcefbfa84c3ad031d805c804c7872ec6eeaef9d695b0b8c4309f58acc7
-DIST dosbox-staging-0.80.0.tar.gz 3871598 BLAKE2B 
59cb6515f17b9a661f5e9d7787b01ecef4fe047dfd0ca4573cc12c73af1f9fe433f4c20a1c42e1fcd259c31af3922738c057aa64fc777a513a7881a86436a1fa
 SHA512 
aed548df29d5d4aa6593f0b589d7548caaf02be31668dc2c6bcbb0eb324a73d9344ce471a8449e90706b379ed6794e6584e5ebc6b3628274f5ec6667c14a3d8a
+DIST dosbox-staging-0.80.0.tar.gz 3871686 BLAKE2B 
169f06bdaa2eec8490deb58d315c8ee05a165678d35e42f7970d0339d97a34e672cb5bf5f7252d35ec9a995dfb169927ace6e0a949da673dd8d36b545eef32aa
 SHA512 
f1de336a6c996dc1bff23520d1f865b4aa16c8702200abf2c604084f846c00f1aa31d1940be817a307326ccdcc2f07c7f7e6c8c6fdbb61b331fe6428ed2ff9d6



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2022-12-22 Thread Bernard Cafarelli
commit: f717b63dbc1f7a073ec5154fbe66a3b039ca9dec
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Thu Dec 22 20:35:08 2022 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Thu Dec 22 20:35:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f717b63d

games-emulation/dosbox-staging: add 0.80.0

Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest|  1 +
 .../dosbox-staging/dosbox-staging-0.80.0.ebuild| 66 ++
 games-emulation/dosbox-staging/metadata.xml|  1 +
 3 files changed, 68 insertions(+)

diff --git a/games-emulation/dosbox-staging/Manifest 
b/games-emulation/dosbox-staging/Manifest
index 74eb0a4d9231..9a7fea044300 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -1 +1,2 @@
 DIST dosbox-staging-0.79.1.tar.gz 3280884 BLAKE2B 
48fd371df026392d59db2c9874f81b772b6595e2471a7ad1200e27e94fc87892f8e1c51288c1b0a430d8c3260535e35a00025047248551569f402b32a1ca3cf8
 SHA512 
6d7212229b58936cd1c4382f5e5cad45066e92f6a5b3bb2e97177ff7122dd527496a16dcefbfa84c3ad031d805c804c7872ec6eeaef9d695b0b8c4309f58acc7
+DIST dosbox-staging-0.80.0.tar.gz 3871598 BLAKE2B 
59cb6515f17b9a661f5e9d7787b01ecef4fe047dfd0ca4573cc12c73af1f9fe433f4c20a1c42e1fcd259c31af3922738c057aa64fc777a513a7881a86436a1fa
 SHA512 
aed548df29d5d4aa6593f0b589d7548caaf02be31668dc2c6bcbb0eb324a73d9344ce471a8449e90706b379ed6794e6584e5ebc6b3628274f5ec6667c14a3d8a

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.80.0.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.80.0.ebuild
new file mode 100644
index ..0b11b68c3d99
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.80.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+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 ~ppc ~ppc64 ~x86"
+IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl screenshot slirp 
test"
+
+RESTRICT="!test? ( test )"
+
+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 )
+   screenshot? ( media-libs/sdl2-image )
+   slirp? ( net-libs/libslirp )
+   media-libs/iir1
+   media-libs/libpng:0=
+   media-libs/libsdl2[joystick,opengl?,video,X]
+   media-libs/opusfile
+   media-libs/speexdsp
+   sys-libs/zlib
+   !games-emulation/dosbox"
+DEPEND="${RDEPEND}"
+BDEPEND="test? ( dev-cpp/gtest )"
+
+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_use screenshot use_sdl2_image)
+   $(meson_use slirp use_slirp)
+   $(meson_feature test unit_tests)
+   )
+   meson_src_configure
+}

diff --git a/games-emulation/dosbox-staging/metadata.xml 
b/games-emulation/dosbox-staging/metadata.xml
index bcf5208f4d03..5f790a376160 100644
--- a/games-emulation/dosbox-staging/metadata.xml
+++ b/games-emulation/dosbox-staging/metadata.xml
@@ -10,6 +10,7 @@
use media-sound/fluidsynth 
for MIDI emulation
use media-libs/munt-mt32emu for 
MT-32 emulation
Enable networking features (modem, 
ipx)
+   Enable screenshots of rendered output 
using media-libs/sdl2-image
Enable Ethernet emulation using 
net-libs/libslirp





[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/files/, games-emulation/dosbox-staging/

2022-12-22 Thread Bernard Cafarelli
commit: 31ddefb3d752579421f8142b17a8497400c0bc5d
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Thu Dec 22 20:15:21 2022 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Thu Dec 22 20:35:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31ddefb3

games-emulation/dosbox-staging: drop 0.78.1, 0.79.0

Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest|  2 -
 .../dosbox-staging/dosbox-staging-0.78.1.ebuild| 68 --
 .../dosbox-staging/dosbox-staging-0.79.0.ebuild| 68 --
 .../files/dosbox-staging-0.78.1-musl.patch | 16 -
 4 files changed, 154 deletions(-)

diff --git a/games-emulation/dosbox-staging/Manifest 
b/games-emulation/dosbox-staging/Manifest
index 0996dcb1264d..74eb0a4d9231 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -1,3 +1 @@
-DIST dosbox-staging-0.78.1.tar.gz 2968448 BLAKE2B 
7b48763d10338d36e61696331358f7572a528c10d48e473dfaba6a8c96dd5d3ca2b9e1f5c595d653fbbe64f2b5f1d9f1ff8279dfab8f2cb49ac6faba697e97ca
 SHA512 
3179e8eac00e22e35b36623c11688b8c60408bf487a56683269ff065988fbdf4319c16097232cc191695cf2e10c05f4c4eee15e92d9887ebf03a23f808d5db7c
-DIST dosbox-staging-0.79.0.tar.gz 3114176 BLAKE2B 
1206aed3d87ead0315a1e7e4ff814c4a787026521653b68532cb231590417c9124511ad8f39132d8d595b227675cfafdec4236a6f8dece43c139a401b7e9d11a
 SHA512 
573365258d2fdc82ad8a803ce8f2b7f47b7219eeba9bc3253447ad48b9df793bc459947dbaa7a484bcce7e23ed3d0385438335dcdd2790c7eba6723960dfc890
 DIST dosbox-staging-0.79.1.tar.gz 3280884 BLAKE2B 
48fd371df026392d59db2c9874f81b772b6595e2471a7ad1200e27e94fc87892f8e1c51288c1b0a430d8c3260535e35a00025047248551569f402b32a1ca3cf8
 SHA512 
6d7212229b58936cd1c4382f5e5cad45066e92f6a5b3bb2e97177ff7122dd527496a16dcefbfa84c3ad031d805c804c7872ec6eeaef9d695b0b8c4309f58acc7

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.78.1.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.78.1.ebuild
deleted file mode 100644
index a882bcb7b4a8..
--- a/games-emulation/dosbox-staging/dosbox-staging-0.78.1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 2020-2022 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 ~ppc ~ppc64 ~x86"
-IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl slirp test"
-
-RESTRICT="!test? ( test )"
-
-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 )
-   slirp? ( net-libs/libslirp )
-   media-libs/libpng:0=
-   media-libs/libsdl2[joystick,opengl?,video,X]
-   media-libs/opusfile
-   sys-libs/zlib
-   !games-emulation/dosbox"
-DEPEND="${RDEPEND}"
-BDEPEND="test? ( dev-cpp/gtest )"
-
-DOCS=( AUTHORS README THANKS )
-
-PATCHES=( "${FILESDIR}"/${P}-musl.patch )
-
-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
-
-   # Test failing on some platforms, bug #817908
-   # https://github.com/dosbox-staging/dosbox-staging/issues/1230
-   sed -i 's/.*soft_limit.*//' tests/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_use slirp use_slirp)
-   $(meson_feature test unit_tests)
-   )
-   meson_src_configure
-}

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.79.0.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.79.0.ebuild
deleted file mode 100644
index a22e5df9f7cb..
--- a/games-emulation/dosbox-staging/dosbox-staging-0.79.0.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit meson xdg
-
-DESCRIPTION="Modernized DOSBox soft-fork"
-HOMEPAGE="https://dosbox-staging.github.io/;

[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2022-10-20 Thread Bernard Cafarelli
commit: 20fa9f51828736eb5ca1293e587bfbb9f34ada80
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Thu Oct 20 21:35:43 2022 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Thu Oct 20 21:35:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20fa9f51

games-emulation/dosbox-staging: add 0.79.1

Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest|  1 +
 .../dosbox-staging/dosbox-staging-0.79.1.ebuild| 64 ++
 2 files changed, 65 insertions(+)

diff --git a/games-emulation/dosbox-staging/Manifest 
b/games-emulation/dosbox-staging/Manifest
index eabfa050e8e3..0996dcb1264d 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -1,2 +1,3 @@
 DIST dosbox-staging-0.78.1.tar.gz 2968448 BLAKE2B 
7b48763d10338d36e61696331358f7572a528c10d48e473dfaba6a8c96dd5d3ca2b9e1f5c595d653fbbe64f2b5f1d9f1ff8279dfab8f2cb49ac6faba697e97ca
 SHA512 
3179e8eac00e22e35b36623c11688b8c60408bf487a56683269ff065988fbdf4319c16097232cc191695cf2e10c05f4c4eee15e92d9887ebf03a23f808d5db7c
 DIST dosbox-staging-0.79.0.tar.gz 3114176 BLAKE2B 
1206aed3d87ead0315a1e7e4ff814c4a787026521653b68532cb231590417c9124511ad8f39132d8d595b227675cfafdec4236a6f8dece43c139a401b7e9d11a
 SHA512 
573365258d2fdc82ad8a803ce8f2b7f47b7219eeba9bc3253447ad48b9df793bc459947dbaa7a484bcce7e23ed3d0385438335dcdd2790c7eba6723960dfc890
+DIST dosbox-staging-0.79.1.tar.gz 3280884 BLAKE2B 
48fd371df026392d59db2c9874f81b772b6595e2471a7ad1200e27e94fc87892f8e1c51288c1b0a430d8c3260535e35a00025047248551569f402b32a1ca3cf8
 SHA512 
6d7212229b58936cd1c4382f5e5cad45066e92f6a5b3bb2e97177ff7122dd527496a16dcefbfa84c3ad031d805c804c7872ec6eeaef9d695b0b8c4309f58acc7

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.79.1.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.79.1.ebuild
new file mode 100644
index ..0a3180cceb83
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.79.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+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 ~ppc ~ppc64 ~x86"
+IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl slirp test"
+
+RESTRICT="!test? ( test )"
+
+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 )
+   slirp? ( net-libs/libslirp )
+   media-libs/iir1
+   media-libs/libpng:0=
+   media-libs/libsdl2[joystick,opengl?,video,X]
+   media-libs/opusfile
+   media-libs/speexdsp
+   sys-libs/zlib
+   !games-emulation/dosbox"
+DEPEND="${RDEPEND}"
+BDEPEND="test? ( dev-cpp/gtest )"
+
+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_use slirp use_slirp)
+   $(meson_feature test unit_tests)
+   )
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2022-09-20 Thread Bernard Cafarelli
commit: 9ff9a345144f6d436e67713f2b775c2d0626cfa6
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Tue Sep 20 20:09:51 2022 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Tue Sep 20 20:17:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ff9a345

games-emulation/dosbox-staging: add 0.79.0

Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest|  1 +
 .../dosbox-staging/dosbox-staging-0.79.0.ebuild| 68 ++
 2 files changed, 69 insertions(+)

diff --git a/games-emulation/dosbox-staging/Manifest 
b/games-emulation/dosbox-staging/Manifest
index 28ec09329a13..f8a8410222e4 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -3,3 +3,4 @@ DIST dosbox-staging-0.77.0.tar.gz 2579927 BLAKE2B 
2a8381451ec110ca5350afc70c45f1
 DIST dosbox-staging-0.77.1.tar.gz 2622418 BLAKE2B 
c56020d263ceac199266a5c458c192441f836ea2e71e1564da175b7ae522286ca1b6a07062498ccea795bbf330beecb5ef99a0130637b1df26603315d48ea6ff
 SHA512 
fe5d6150a88f5c276aee5672f98c15b5ffee702fe9934919d3e78068efd1a85f08a8f04352bc6a8fe850324e33f3227340c59242db6cbae0475b12a58b749cac
 DIST dosbox-staging-0.78.0.tar.gz 2908118 BLAKE2B 
77dd6afd7c8f62e2936c2ed1545faf1f2700b7bceba4afd6f77eff6b2bd1ea7b7693e3975d38098774f4f6076099251e7aa53cd20a5dec7daefb34a3533fdf40
 SHA512 
e56b4735f1a741f2c160646f205776e2407abd4d13ce918ff447a08817862a32167afa47b3c7e35bc942bc06aea7d14e25bfe64fce9ee88a843488733746
 DIST dosbox-staging-0.78.1.tar.gz 2968448 BLAKE2B 
7b48763d10338d36e61696331358f7572a528c10d48e473dfaba6a8c96dd5d3ca2b9e1f5c595d653fbbe64f2b5f1d9f1ff8279dfab8f2cb49ac6faba697e97ca
 SHA512 
3179e8eac00e22e35b36623c11688b8c60408bf487a56683269ff065988fbdf4319c16097232cc191695cf2e10c05f4c4eee15e92d9887ebf03a23f808d5db7c
+DIST dosbox-staging-0.79.0.tar.gz 3114176 BLAKE2B 
1206aed3d87ead0315a1e7e4ff814c4a787026521653b68532cb231590417c9124511ad8f39132d8d595b227675cfafdec4236a6f8dece43c139a401b7e9d11a
 SHA512 
573365258d2fdc82ad8a803ce8f2b7f47b7219eeba9bc3253447ad48b9df793bc459947dbaa7a484bcce7e23ed3d0385438335dcdd2790c7eba6723960dfc890

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.79.0.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.79.0.ebuild
new file mode 100644
index ..a22e5df9f7cb
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.79.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+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 ~ppc ~ppc64 ~x86"
+IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl slirp test"
+
+RESTRICT="!test? ( test )"
+
+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 )
+   slirp? ( net-libs/libslirp )
+   media-libs/iir1
+   media-libs/libpng:0=
+   media-libs/libsdl2[joystick,opengl?,video,X]
+   media-libs/opusfile
+   media-libs/speexdsp
+   sys-libs/zlib
+   !games-emulation/dosbox"
+DEPEND="${RDEPEND}"
+BDEPEND="test? ( dev-cpp/gtest )"
+
+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() {
+   # Do not look for static libraries
+   # speexdsp system flag needs to be manually enabled
+   local emesonargs=(
+   -Ddefault_library=shared
+   -Dsystem_libraries=speexdsp
+   $(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_use slirp use_slirp)
+   $(meson_feature test unit_tests)
+   )
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/files/, games-emulation/dosbox-staging/

2022-09-20 Thread Bernard Cafarelli
commit: e50e4bd6ebdbbb0f3f2f09b75870cfd929c6a523
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Tue Sep 20 20:17:01 2022 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Tue Sep 20 20:17:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e50e4bd6

games-emulation/dosbox-staging: drop 0.76.0, 0.77.0-r1, 0.77.1, 0.78.0

Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest|  4 --
 .../dosbox-staging/dosbox-staging-0.76.0.ebuild| 59 ---
 .../dosbox-staging/dosbox-staging-0.77.0-r1.ebuild | 57 --
 .../dosbox-staging/dosbox-staging-0.77.1.ebuild| 64 
 .../dosbox-staging/dosbox-staging-0.78.0.ebuild| 68 --
 .../files/dosbox-staging-0.78.0-fix_tests.patch| 31 --
 games-emulation/dosbox-staging/metadata.xml|  1 -
 7 files changed, 284 deletions(-)

diff --git a/games-emulation/dosbox-staging/Manifest 
b/games-emulation/dosbox-staging/Manifest
index f8a8410222e4..eabfa050e8e3 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -1,6 +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
-DIST dosbox-staging-0.77.1.tar.gz 2622418 BLAKE2B 
c56020d263ceac199266a5c458c192441f836ea2e71e1564da175b7ae522286ca1b6a07062498ccea795bbf330beecb5ef99a0130637b1df26603315d48ea6ff
 SHA512 
fe5d6150a88f5c276aee5672f98c15b5ffee702fe9934919d3e78068efd1a85f08a8f04352bc6a8fe850324e33f3227340c59242db6cbae0475b12a58b749cac
-DIST dosbox-staging-0.78.0.tar.gz 2908118 BLAKE2B 
77dd6afd7c8f62e2936c2ed1545faf1f2700b7bceba4afd6f77eff6b2bd1ea7b7693e3975d38098774f4f6076099251e7aa53cd20a5dec7daefb34a3533fdf40
 SHA512 
e56b4735f1a741f2c160646f205776e2407abd4d13ce918ff447a08817862a32167afa47b3c7e35bc942bc06aea7d14e25bfe64fce9ee88a843488733746
 DIST dosbox-staging-0.78.1.tar.gz 2968448 BLAKE2B 
7b48763d10338d36e61696331358f7572a528c10d48e473dfaba6a8c96dd5d3ca2b9e1f5c595d653fbbe64f2b5f1d9f1ff8279dfab8f2cb49ac6faba697e97ca
 SHA512 
3179e8eac00e22e35b36623c11688b8c60408bf487a56683269ff065988fbdf4319c16097232cc191695cf2e10c05f4c4eee15e92d9887ebf03a23f808d5db7c
 DIST dosbox-staging-0.79.0.tar.gz 3114176 BLAKE2B 
1206aed3d87ead0315a1e7e4ff814c4a787026521653b68532cb231590417c9124511ad8f39132d8d595b227675cfafdec4236a6f8dece43c139a401b7e9d11a
 SHA512 
573365258d2fdc82ad8a803ce8f2b7f47b7219eeba9bc3253447ad48b9df793bc459947dbaa7a484bcce7e23ed3d0385438335dcdd2790c7eba6723960dfc890

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.76.0.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.76.0.ebuild
deleted file mode 100644
index 7e127ad865ea..
--- a/games-emulation/dosbox-staging/dosbox-staging-0.76.0.ebuild
+++ /dev/null
@@ -1,59 +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 +fluidsynth network opengl opus"
-
-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 )
-   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
-
-   # 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
-
-   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 fluidsynth) \
-   $(use_enable network) \
-   $(use_enable opengl) \
-   $(use_enable opus 

[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/, games-emulation/dosbox-staging/files/

2022-01-15 Thread Bernard Cafarelli
commit: 0784ac677157c9940fe45091321c9939a9daa559
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Sat Jan 15 09:59:46 2022 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Sat Jan 15 10:01:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0784ac67

games-emulation/dosbox-staging: fix compilation with musl

Closes: https://bugs.gentoo.org/830930
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernard Cafarelli  gentoo.org>

 .../dosbox-staging/dosbox-staging-0.78.1.ebuild  |  2 ++
 .../files/dosbox-staging-0.78.1-musl.patch   | 16 
 2 files changed, 18 insertions(+)

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.78.1.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.78.1.ebuild
index 462a9abd8870..a882bcb7b4a8 100644
--- a/games-emulation/dosbox-staging/dosbox-staging-0.78.1.ebuild
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.78.1.ebuild
@@ -35,6 +35,8 @@ BDEPEND="test? ( dev-cpp/gtest )"
 
 DOCS=( AUTHORS README THANKS )
 
+PATCHES=( "${FILESDIR}"/${P}-musl.patch )
+
 src_prepare() {
default
 

diff --git 
a/games-emulation/dosbox-staging/files/dosbox-staging-0.78.1-musl.patch 
b/games-emulation/dosbox-staging/files/dosbox-staging-0.78.1-musl.patch
new file mode 100644
index ..a1f4fe3ca654
--- /dev/null
+++ b/games-emulation/dosbox-staging/files/dosbox-staging-0.78.1-musl.patch
@@ -0,0 +1,16 @@
+diff --git a/src/libs/loguru/loguru.cpp b/src/libs/loguru/loguru.cpp
+index 9675cc1d..c4b5c0e3 100644
+--- a/src/libs/loguru/loguru.cpp
 b/src/libs/loguru/loguru.cpp
+@@ -83,7 +83,7 @@
+   #ifndef LOGURU_STACKTRACES
+   #define LOGURU_STACKTRACES 0
+   #endif
+-#elif defined(__rtems__) || defined(__ANDROID__) || defined(__FreeBSD__)
++#elif defined(__rtems__) || defined(__ANDROID__) || defined(__FreeBSD__) || 
!defined(__GLIBC__)
+   #define LOGURU_PTHREADS1
+   #define LOGURU_WINTHREADS  0
+   #ifndef LOGURU_STACKTRACES
+-- 
+2.34.1
+



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2022-01-12 Thread Bernard Cafarelli
commit: cd74f6c382c758058bdb65d684066ea4beeadfdd
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Wed Jan 12 11:33:55 2022 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Wed Jan 12 11:44:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd74f6c3

games-emulation/dosbox-staging: 0.78.1 bump

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest|  1 +
 .../dosbox-staging/dosbox-staging-0.78.1.ebuild| 66 ++
 2 files changed, 67 insertions(+)

diff --git a/games-emulation/dosbox-staging/Manifest 
b/games-emulation/dosbox-staging/Manifest
index fe6a745c58bb..28ec09329a13 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -2,3 +2,4 @@ DIST dosbox-staging-0.76.0.tar.gz 1908605 BLAKE2B 
71b3c3d6a6444e2442d54b1db365ea
 DIST dosbox-staging-0.77.0.tar.gz 2579927 BLAKE2B 
2a8381451ec110ca5350afc70c45f158329bd273b381ff61856ab721a0b194c7d501402453e9a36b90663ee8f6697dce8f64b05adf56efa8df2fd68161e420b6
 SHA512 
37259fecc091f1e318c2385d6e6fdc3b4ad0905ce63a7db1fc812c924bf8c01640692aca4f08b87d06e6001e50f3f2f4bb63c3715aa9cdfeebd205ed345558a0
 DIST dosbox-staging-0.77.1.tar.gz 2622418 BLAKE2B 
c56020d263ceac199266a5c458c192441f836ea2e71e1564da175b7ae522286ca1b6a07062498ccea795bbf330beecb5ef99a0130637b1df26603315d48ea6ff
 SHA512 
fe5d6150a88f5c276aee5672f98c15b5ffee702fe9934919d3e78068efd1a85f08a8f04352bc6a8fe850324e33f3227340c59242db6cbae0475b12a58b749cac
 DIST dosbox-staging-0.78.0.tar.gz 2908118 BLAKE2B 
77dd6afd7c8f62e2936c2ed1545faf1f2700b7bceba4afd6f77eff6b2bd1ea7b7693e3975d38098774f4f6076099251e7aa53cd20a5dec7daefb34a3533fdf40
 SHA512 
e56b4735f1a741f2c160646f205776e2407abd4d13ce918ff447a08817862a32167afa47b3c7e35bc942bc06aea7d14e25bfe64fce9ee88a843488733746
+DIST dosbox-staging-0.78.1.tar.gz 2968448 BLAKE2B 
7b48763d10338d36e61696331358f7572a528c10d48e473dfaba6a8c96dd5d3ca2b9e1f5c595d653fbbe64f2b5f1d9f1ff8279dfab8f2cb49ac6faba697e97ca
 SHA512 
3179e8eac00e22e35b36623c11688b8c60408bf487a56683269ff065988fbdf4319c16097232cc191695cf2e10c05f4c4eee15e92d9887ebf03a23f808d5db7c

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.78.1.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.78.1.ebuild
new file mode 100644
index ..462a9abd8870
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.78.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2020-2022 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 ~ppc ~ppc64 ~x86"
+IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl slirp test"
+
+RESTRICT="!test? ( test )"
+
+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 )
+   slirp? ( net-libs/libslirp )
+   media-libs/libpng:0=
+   media-libs/libsdl2[joystick,opengl?,video,X]
+   media-libs/opusfile
+   sys-libs/zlib
+   !games-emulation/dosbox"
+DEPEND="${RDEPEND}"
+BDEPEND="test? ( dev-cpp/gtest )"
+
+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
+
+   # Test failing on some platforms, bug #817908
+   # https://github.com/dosbox-staging/dosbox-staging/issues/1230
+   sed -i 's/.*soft_limit.*//' tests/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_use slirp use_slirp)
+   $(meson_feature test unit_tests)
+   )
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/, games-emulation/dosbox-staging/files/

2022-01-01 Thread Bernard Cafarelli
commit: 7bc3e53fa241aea8d83673da95d9665f22fdecee
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Sat Jan  1 18:25:33 2022 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Sat Jan  1 18:27:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bc3e53f

games-emulation/dosbox-staging: add upstream fix for failing tests

With some compilers/linkers, dosbox main() function would be used in
tests instead of gmock's one

Closes: https://bugs.gentoo.org/830237
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernard Cafarelli  gentoo.org>

 .../dosbox-staging/dosbox-staging-0.78.0.ebuild|  4 ++-
 .../files/dosbox-staging-0.78.0-fix_tests.patch| 31 ++
 2 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild
index 35528cd3b10a..ec44d977dad6 100644
--- a/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -35,6 +35,8 @@ BDEPEND="test? ( dev-cpp/gtest )"
 
 DOCS=( AUTHORS README THANKS )
 
+PATCHES=( "${FILESDIR}"/${P}-fix_tests.patch )
+
 src_prepare() {
default
 

diff --git 
a/games-emulation/dosbox-staging/files/dosbox-staging-0.78.0-fix_tests.patch 
b/games-emulation/dosbox-staging/files/dosbox-staging-0.78.0-fix_tests.patch
new file mode 100644
index ..d75aad0275ff
--- /dev/null
+++ b/games-emulation/dosbox-staging/files/dosbox-staging-0.78.0-fix_tests.patch
@@ -0,0 +1,31 @@
+From 4499e4566d2e488be1c0e0a20328b13652ed14cb Mon Sep 17 00:00:00 2001
+From: kcgen 
+Date: Sat, 1 Jan 2022 07:48:27 -0800
+Subject: [PATCH] Remove the project's main to prevent masking gmock's main
+ (#1476)
+
+clang/llvm ensure gmock's main() function always overrides the main
+function coming from the dosbox library, however sometimes with
+gcc/ld, gmock's main() doesn't take precedent and instead dosbox's
+main is run.
+
+This fixes an issue reported on Fedora and Gentoo where unit tests
+were popping up SDL's graphical window, and then either timing our
+failing.
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index d885da1b9..59f677b59 100644
+--- a/meson.build
 b/meson.build
+@@ -444,7 +444,7 @@ executable('dosbox', dosbox_sources,
+include_directories : incdir,
+install : true)
+ # create a library so we can test things inside DOSBOX dep path
+-libdosbox = static_library('dosbox', ['src/main.cpp', 'src/dosbox.cpp', 
version_file],
++libdosbox = static_library('dosbox', ['src/dosbox.cpp', version_file],
+ include_directories : incdir,
+ dependencies : [atomic_dep,
+ threads_dep,



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2021-12-29 Thread Bernard Cafarelli
commit: d50b874f3b3d2c69e613bda5b7f8bac32c1c759c
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Wed Dec 29 18:35:12 2021 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Wed Dec 29 18:35:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d50b874f

games-emulation/dosbox-staging: add missing flag for libslirp support

This is used in this new version for Ethernet emulation

Closes: https://bugs.gentoo.org/830229
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild | 4 +++-
 games-emulation/dosbox-staging/metadata.xml | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild
index 652dbe698a9a..35528cd3b10a 100644
--- a/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/dosbox-staging/dosbox-staging/archive/v${PV}.tar.gz
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl test"
+IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl slirp test"
 
 RESTRICT="!test? ( test )"
 
@@ -24,6 +24,7 @@ RDEPEND="alsa? ( media-libs/alsa-lib )
mt-32? ( media-libs/munt-mt32emu )
network? ( media-libs/sdl2-net )
opengl? ( virtual/opengl )
+   slirp? ( net-libs/libslirp )
media-libs/libpng:0=
media-libs/libsdl2[joystick,opengl?,video,X]
media-libs/opusfile
@@ -58,6 +59,7 @@ src_configure() {
$(meson_use mt-32 use_mt32emu)
$(meson_use network use_sdl2_net)
$(meson_use opengl use_opengl)
+   $(meson_use slirp use_slirp)
$(meson_feature test unit_tests)
)
meson_src_configure

diff --git a/games-emulation/dosbox-staging/metadata.xml 
b/games-emulation/dosbox-staging/metadata.xml
index 639809d4af9f..f4c7e89956af 100644
--- a/games-emulation/dosbox-staging/metadata.xml
+++ b/games-emulation/dosbox-staging/metadata.xml
@@ -11,6 +11,7 @@
use media-libs/munt-mt32emu for 
MT-32 emulation
Enable networking features (modem, 
ipx)
Support compressed audio tracks (.opus) used 
with CDROM images
+   Enable Ethernet emulation using 
net-libs/libslirp


dosbox-staging/dosbox-staging



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2021-12-29 Thread Bernard Cafarelli
commit: 899c36149c3c096840fecd4cbde55f588e6eb226
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Wed Dec 29 11:05:43 2021 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Wed Dec 29 11:16:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=899c3614

games-emulation/dosbox-staging: 0.78.0 bump

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest|  1 +
 .../dosbox-staging/dosbox-staging-0.78.0.ebuild| 64 ++
 2 files changed, 65 insertions(+)

diff --git a/games-emulation/dosbox-staging/Manifest 
b/games-emulation/dosbox-staging/Manifest
index 0ef607994d30..fe6a745c58bb 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -1,3 +1,4 @@
 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
 DIST dosbox-staging-0.77.1.tar.gz 2622418 BLAKE2B 
c56020d263ceac199266a5c458c192441f836ea2e71e1564da175b7ae522286ca1b6a07062498ccea795bbf330beecb5ef99a0130637b1df26603315d48ea6ff
 SHA512 
fe5d6150a88f5c276aee5672f98c15b5ffee702fe9934919d3e78068efd1a85f08a8f04352bc6a8fe850324e33f3227340c59242db6cbae0475b12a58b749cac
+DIST dosbox-staging-0.78.0.tar.gz 2908118 BLAKE2B 
77dd6afd7c8f62e2936c2ed1545faf1f2700b7bceba4afd6f77eff6b2bd1ea7b7693e3975d38098774f4f6076099251e7aa53cd20a5dec7daefb34a3533fdf40
 SHA512 
e56b4735f1a741f2c160646f205776e2407abd4d13ce918ff447a08817862a32167afa47b3c7e35bc942bc06aea7d14e25bfe64fce9ee88a843488733746

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild
new file mode 100644
index ..652dbe698a9a
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.78.0.ebuild
@@ -0,0 +1,64 @@
+# 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 ~ppc ~ppc64 ~x86"
+IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl test"
+
+RESTRICT="!test? ( test )"
+
+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="test? ( dev-cpp/gtest )"
+
+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
+
+   # Test failing on some platforms, bug #817908
+   # https://github.com/dosbox-staging/dosbox-staging/issues/1230
+   sed -i 's/.*soft_limit.*//' tests/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_feature test unit_tests)
+   )
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2021-10-31 Thread Sam James
commit: 66ee878e844204ffde2a84ae7209836912535ce3
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 31 17:51:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 31 17:51:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66ee878e

games-emulation/dosbox-staging: Keyword 0.77.1 ppc, #813930

Signed-off-by: Sam James  gentoo.org>

 games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild
index 21a9a75fb1a..652dbe698a9 100644
--- a/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/dosbox-staging/dosbox-staging/archive/v${PV}.tar.gz
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl test"
 
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2021-10-22 Thread Bernard Cafarelli
commit: 1f301fcff1c8b4aaf145df303d5cdf7f4d2a67e9
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Fri Oct 22 21:29:07 2021 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Fri Oct 22 21:29:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f301fcf

games-emulation/dosbox-staging: fix MissingTestRestrict

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild
index 1f48dd089fc..21a9a75fb1a 100644
--- a/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild
@@ -13,6 +13,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc64 ~x86"
 IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl test"
 
+RESTRICT="!test? ( test )"
+
 RDEPEND="alsa? ( media-libs/alsa-lib )
debug? ( sys-libs/ncurses:0= )
fluidsynth? (



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2021-10-22 Thread Bernard Cafarelli
commit: e404d6818cb47382e09284a27b576830f1d01175
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Fri Oct 22 20:59:28 2021 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Fri Oct 22 20:59:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e404d681

games-emulation/dosbox-staging: skip test failing on some platforms

Also add USE=test logic for gtest dependency

Closes: https://bugs.gentoo.org/817908
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild
index 1cb6c2e10ce..1f48dd089fc 100644
--- a/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/dosbox-staging/dosbox-staging/archive/v${PV}.tar.gz
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl"
+IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl test"
 
 RDEPEND="alsa? ( media-libs/alsa-lib )
debug? ( sys-libs/ncurses:0= )
@@ -28,7 +28,7 @@ RDEPEND="alsa? ( media-libs/alsa-lib )
sys-libs/zlib
!games-emulation/dosbox"
 DEPEND="${RDEPEND}"
-BDEPEND=""
+BDEPEND="test? ( dev-cpp/gtest )"
 
 DOCS=( AUTHORS README THANKS )
 
@@ -41,6 +41,10 @@ src_prepare() {
 
# Disable license and docs install (handled by ebuild)
sed -e "/licenses_dir\|doc_dir/d" -i meson.build || die
+
+   # Test failing on some platforms, bug #817908
+   # https://github.com/dosbox-staging/dosbox-staging/issues/1230
+   sed -i 's/.*soft_limit.*//' tests/meson.build || die
 }
 
 src_configure() {
@@ -52,6 +56,7 @@ src_configure() {
$(meson_use mt-32 use_mt32emu)
$(meson_use network use_sdl2_net)
$(meson_use opengl use_opengl)
+   $(meson_feature test unit_tests)
)
meson_src_configure
 }



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2021-10-10 Thread Sam James
commit: 5c2f9c27c4e40a843e93c1e45116c5be9970f3b8
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 11 03:16:19 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 11 03:16:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c2f9c27

games-emulation/dosbox-staging: Keyword 0.77.1 ppc64, #813930

Signed-off-by: Sam James  gentoo.org>

 games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild
index 5815a612b2b..1cb6c2e10ce 100644
--- a/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/dosbox-staging/dosbox-staging/archive/v${PV}.tar.gz
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
 IUSE="+alsa debug dynrec +fluidsynth mt-32 network opengl"
 
 RDEPEND="alsa? ( media-libs/alsa-lib )



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2021-08-30 Thread Bernard Cafarelli
commit: a30252e5a66bf4551c9598841f7027237ff34369
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Mon Aug 30 10:59:25 2021 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Mon Aug 30 10:59:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a30252e5

games-emulation/dosbox-staging: 0.77.1 bump

Bugfixes release

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest|  1 +
 .../dosbox-staging/dosbox-staging-0.77.1.ebuild| 57 ++
 2 files changed, 58 insertions(+)

diff --git a/games-emulation/dosbox-staging/Manifest 
b/games-emulation/dosbox-staging/Manifest
index ebdefbfb3fc..0ef607994d3 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -1,2 +1,3 @@
 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
+DIST dosbox-staging-0.77.1.tar.gz 2622418 BLAKE2B 
c56020d263ceac199266a5c458c192441f836ea2e71e1564da175b7ae522286ca1b6a07062498ccea795bbf330beecb5ef99a0130637b1df26603315d48ea6ff
 SHA512 
fe5d6150a88f5c276aee5672f98c15b5ffee702fe9934919d3e78068efd1a85f08a8f04352bc6a8fe850324e33f3227340c59242db6cbae0475b12a58b749cac

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.77.1.ebuild
new file mode 100644
index 000..5815a612b2b
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.77.1.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
+}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2021-07-06 Thread Bernard Cafarelli
commit: 16252277dadb60844d14558cffa42e9d7dda1c42
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Tue Jul  6 07:34:27 2021 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Tue Jul  6 07:51:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16252277

games-emulation/dosbox-staging: add missing mt32emu dependency

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

 .../{dosbox-staging-0.77.0.ebuild => dosbox-staging-0.77.0-r1.ebuild}| 1 +
 1 file changed, 1 insertion(+)

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.77.0.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.77.0-r1.ebuild
similarity index 97%
rename from games-emulation/dosbox-staging/dosbox-staging-0.77.0.ebuild
rename to games-emulation/dosbox-staging/dosbox-staging-0.77.0-r1.ebuild
index 956b471e690..5815a612b2b 100644
--- a/games-emulation/dosbox-staging/dosbox-staging-0.77.0.ebuild
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.77.0-r1.ebuild
@@ -19,6 +19,7 @@ RDEPEND="alsa? ( media-libs/alsa-lib )
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=



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2021-07-06 Thread Bernard Cafarelli
commit: 0f3a156165af5c0c05310b44b7ac1658b0807780
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Tue Jul  6 07:51:44 2021 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Tue Jul  6 07:51:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f3a1561

games-emulation/dosbox-staging: fix metadata  reference

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

 games-emulation/dosbox-staging/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-emulation/dosbox-staging/metadata.xml 
b/games-emulation/dosbox-staging/metadata.xml
index 7cf856695f3..02a2086f27a 100644
--- a/games-emulation/dosbox-staging/metadata.xml
+++ b/games-emulation/dosbox-staging/metadata.xml
@@ -8,7 +8,7 @@

Use recompiling cpu core instead of dynamic 
x86/x64 specific cpu core
use media-sound/fluidsynth 
for MIDI emulation
-   use media-sound/munt for MT-32 
emulation
+   use media-libs/munt-mt32emu for 
MT-32 emulation
Enable networking features (modem, 
ipx)
Support compressed audio tracks (.opus) used 
with CDROM images




[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2021-07-05 Thread Bernard Cafarelli
commit: 0d69c655bbd5f419194c8f4c7a1753100447ce62
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Mon Jul  5 18:10:18 2021 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Mon Jul  5 18:11:25 2021 +
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  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 000..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 recompiling cpu core instead of dynamic 
x86/x64 specific cpu core
use media-sound/fluidsynth 
for MIDI emulation
+   use media-sound/munt for MT-32 
emulation
Enable networking features (modem, 
ipx)
Support compressed audio tracks (.opus) used 
with CDROM images




[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/files/, games-emulation/dosbox-staging/

2021-07-05 Thread Bernard Cafarelli
commit: a0febe5bd2001fb3dc2f17e632b1d82212529511
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Mon Jul  5 17:59:49 2021 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Mon Jul  5 18:11:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0febe5b

games-emulation/dosbox-staging: drop old

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

 games-emulation/dosbox-staging/Manifest|  2 -
 .../dosbox-staging/dosbox-staging-0.75.1-r1.ebuild | 50 -
 .../dosbox-staging/dosbox-staging-0.75.1-r2.ebuild | 51 --
 .../dosbox-staging/dosbox-staging-0.75.2.ebuild| 49 -
 .../files/dosbox-staging-0.75.1-ar.patch   | 11 -
 .../files/dosbox-staging-0.75.1-pthread.patch  | 11 -
 6 files changed, 174 deletions(-)

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

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 afdf9f7951f..000
--- 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 bdedc780583..000
--- 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

[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2020-12-04 Thread Bernard Cafarelli
commit: 55f43470369cb639b280de81d56b9e4b00d3bd0a
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Fri Dec  4 14:29:49 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Fri Dec  4 14:30:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55f43470

games-emulation/dosbox-staging: 0.76.0 bump

Add support for fluidsynth MIDI with USE flag

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest|  1 +
 .../dosbox-staging/dosbox-staging-0.76.0.ebuild| 59 ++
 games-emulation/dosbox-staging/metadata.xml|  1 +
 3 files changed, 61 insertions(+)

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

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.76.0.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.76.0.ebuild
new file mode 100644
index 000..7e127ad865e
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.76.0.ebuild
@@ -0,0 +1,59 @@
+# 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 +fluidsynth network opengl opus"
+
+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 )
+   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
+
+   # 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
+
+   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 fluidsynth) \
+   $(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/metadata.xml 
b/games-emulation/dosbox-staging/metadata.xml
index 91406d636bc..f9ff028304d 100644
--- a/games-emulation/dosbox-staging/metadata.xml
+++ b/games-emulation/dosbox-staging/metadata.xml
@@ -7,6 +7,7 @@


Use recompiling cpu core instead of dynamic 
x86/x64 specific cpu core
+   use media-sound/fluidsynth 
for MIDI emulation
Enable networking features (modem, 
ipx)
Support compressed audio tracks (.opus) used 
with CDROM images




[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2020-10-27 Thread Bernard Cafarelli
commit: 2c948b7b0c4666e0760eb7833f92abb3a6e884a8
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Tue Oct 27 13:13:24 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Tue Oct 27 13:13:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c948b7b

games-emulation/dosbox-staging: 0.75.2 bump

Set -DNDEBUG preprocessor flag for release build
Fix license (GPL-2+) in current ebuilds

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest   | 1 +
 games-emulation/dosbox-staging/dosbox-staging-0.75.1-r1.ebuild| 2 +-
 games-emulation/dosbox-staging/dosbox-staging-0.75.1-r2.ebuild| 2 +-
 ...sbox-staging-0.75.1-r2.ebuild => dosbox-staging-0.75.2.ebuild} | 8 +++-
 4 files changed, 6 insertions(+), 7 deletions(-)

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

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
index dbebde3b22e..afdf9f7951f 100644
--- a/games-emulation/dosbox-staging/dosbox-staging-0.75.1-r1.ebuild
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.75.1-r1.ebuild
@@ -8,7 +8,7 @@ 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"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="alsa debug dynrec network opengl opus"

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
index 12e1e297030..bdedc780583 100644
--- a/games-emulation/dosbox-staging/dosbox-staging-0.75.1-r2.ebuild
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.75.1-r2.ebuild
@@ -8,7 +8,7 @@ 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"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="alsa debug dynrec network opengl opus"

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.75.1-r2.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.75.2.ebuild
similarity index 89%
copy from games-emulation/dosbox-staging/dosbox-staging-0.75.1-r2.ebuild
copy to games-emulation/dosbox-staging/dosbox-staging-0.75.2.ebuild
index 12e1e297030..75de6e5a03a 100644
--- a/games-emulation/dosbox-staging/dosbox-staging-0.75.1-r2.ebuild
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.75.2.ebuild
@@ -2,13 +2,13 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit autotools desktop xdg
+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"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="alsa debug dynrec network opengl opus"
@@ -25,15 +25,13 @@ RDEPEND="alsa? ( media-libs/alsa-lib )
 DEPEND="${RDEPEND}"
 BDEPEND=""
 
-PATCHES=( "${FILESDIR}"/${P}-ar.patch
-   "${FILESDIR}"/${P}-pthread.patch )
-
 src_prepare() {
default
eautoreconf
 }
 
 src_configure() {
+   use debug || append-cppflags -DNDEBUG
econf \
$(use_enable alsa alsa-midi) \
$(use_enable debug) \



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2020-09-04 Thread Bernard Cafarelli
commit: 9b4bfacc4f2cf6b0fd04c6a7ef442b3ab042885e
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Fri Sep  4 21:26:10 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Fri Sep  4 21:26:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b4bfacc

games-emulation/dosbox-staging: drop old

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest|  1 -
 .../dosbox-staging/dosbox-staging-0.75.0.ebuild| 47 -
 .../dosbox-staging/dosbox-staging-0.75.1.ebuild| 49 --
 3 files changed, 97 deletions(-)

diff --git a/games-emulation/dosbox-staging/Manifest 
b/games-emulation/dosbox-staging/Manifest
index e93eac01c1e..8e11b738031 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -1,2 +1 @@
-DIST dosbox-staging-0.75.0.tar.gz 1805354 BLAKE2B 
e376006a2c3890d98efdaa8041634bfca8b95f6c6471f36f8fdd53e319aad8d37f20bd195a20264bade1e6974327f1f888dec6050da493fc8a6e6bb6c5739150
 SHA512 
2e049ed44928ad4adeaca73d328cf8f415bcb8c1a399306b1e8a5fd2b7cd7c3d3fe10017b47e5d2f3e54c34042ee901b98486f5b47a3d2eaf43f4e13891f8b70
 DIST dosbox-staging-0.75.1.tar.gz 1806471 BLAKE2B 
5f9f8038327eb46c2c2b5035ca8e2cc93660bb6ce1dfa9572bf67278f14455db723104c0ab4e90b805cc7dbf253f61528ad6a31edb574af57e106f613958aede
 SHA512 
3e14354e4eb697514c4348af2e73e9f2fb84cc3796b5cfea37faac355bd93a54b0f9c717bf0ab75d824cf34e3ee0d40546e2bbf80bc924a37bd8f981f054e4e9

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.75.0.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.75.0.ebuild
deleted file mode 100644
index 45521a91d41..000
--- a/games-emulation/dosbox-staging/dosbox-staging-0.75.0.ebuild
+++ /dev/null
@@ -1,47 +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 opengl opus"
-
-RDEPEND="alsa? ( media-libs/alsa-lib )
-   debug? ( sys-libs/ncurses:0= )
-   opengl? ( virtual/opengl )
-   opus? ( media-libs/opusfile )
-   media-libs/libpng:0=
-   media-libs/libsdl2[joystick,opengl?,video,X]
-   media-libs/sdl-net
-   sys-libs/zlib
-   !games-emulation/dosbox"
-DEPEND="${RDEPEND}"
-BDEPEND=""
-
-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 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.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.75.1.ebuild
deleted file mode 100644
index 3ace52dd142..000
--- a/games-emulation/dosbox-staging/dosbox-staging-0.75.1.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
-
-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 opengl opus"
-
-RDEPEND="alsa? ( media-libs/alsa-lib )
-   debug? ( sys-libs/ncurses:0= )
-   opengl? ( virtual/opengl )
-   opus? ( media-libs/opusfile )
-   media-libs/libpng:0=
-   media-libs/libsdl2[joystick,opengl?,video,X]
-   media-libs/sdl-net
-   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 opengl) \
-   $(use_enable opus opus-cdda)
-}
-
-src_install() {
-   default
-   doicon contrib/icons/${PN}.svg
-   make_desktop_entry dosbox DOSBox-staging ${PN}
-}



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/, games-emulation/dosbox-staging/files/

2020-09-04 Thread Bernard Cafarelli
commit: 0d7dc6ce882f0189e8340630c9bd1fdf75f02d10
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Fri Sep  4 21:25:48 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Fri Sep  4 21:26:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d7dc6ce

games-emulation/dosbox-staging: small fixes

Do not call ar directly
Fix icon installation
Use provided desktop file

Closes: https://bugs.gentoo.org/738116
Closes: https://bugs.gentoo.org/738470
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Bernard Cafarelli  gentoo.org>

 .../dosbox-staging/dosbox-staging-0.75.1-r2.ebuild | 51 ++
 .../files/dosbox-staging-0.75.1-ar.patch   | 11 +
 2 files changed, 62 insertions(+)

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
new file mode 100644
index 000..12e1e297030
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.75.1-r2.ebuild
@@ -0,0 +1,51 @@
+# 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/files/dosbox-staging-0.75.1-ar.patch 
b/games-emulation/dosbox-staging/files/dosbox-staging-0.75.1-ar.patch
new file mode 100644
index 000..fb2c24267f0
--- /dev/null
+++ b/games-emulation/dosbox-staging/files/dosbox-staging-0.75.1-ar.patch
@@ -0,0 +1,11 @@
+diff -Naur dosbox-staging-0.75.1.orig/configure.ac 
dosbox-staging-0.75.1/configure.ac
+--- dosbox-staging-0.75.1.orig/configure.ac2020-08-19 10:49:45.0 
+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



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2020-08-21 Thread Bernard Cafarelli
commit: b543b99a457e15cff0389a7954fa9641cb5eac10
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Fri Aug 21 13:17:45 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Fri Aug 21 13:19:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b543b99a

games-emulation/dosbox-staging: fix sdl2-net dep

Also add a USE-flag for it

Closes: https://bugs.gentoo.org/738360
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Bernard Cafarelli  gentoo.org>

 .../dosbox-staging/dosbox-staging-0.75.1-r1.ebuild | 50 ++
 games-emulation/dosbox-staging/metadata.xml|  1 +
 2 files changed, 51 insertions(+)

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
new file mode 100644
index 000..dbebde3b22e
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.75.1-r1.ebuild
@@ -0,0 +1,50 @@
+# 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/metadata.xml 
b/games-emulation/dosbox-staging/metadata.xml
index ea78ea742a7..91406d636bc 100644
--- a/games-emulation/dosbox-staging/metadata.xml
+++ b/games-emulation/dosbox-staging/metadata.xml
@@ -7,6 +7,7 @@


Use recompiling cpu core instead of dynamic 
x86/x64 specific cpu core
+   Enable networking features (modem, 
ipx)
Support compressed audio tracks (.opus) used 
with CDROM images





[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/, games-emulation/dosbox-staging/files/

2020-08-20 Thread Bernard Cafarelli
commit: 5b94739c84fec1e575996b979cdbda9bd7cb462b
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Thu Aug 20 12:35:29 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Thu Aug 20 12:35:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b94739c

games-emulation/dosbox-staging: 0.75.1 bump

Also fix compilation with USE=-alsa

Closes: https://bugs.gentoo.org/736234
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest|  1 +
 .../dosbox-staging/dosbox-staging-0.75.1.ebuild| 49 ++
 .../files/dosbox-staging-0.75.1-pthread.patch  | 11 +
 3 files changed, 61 insertions(+)

diff --git a/games-emulation/dosbox-staging/Manifest 
b/games-emulation/dosbox-staging/Manifest
index 099aa872432..e93eac01c1e 100644
--- a/games-emulation/dosbox-staging/Manifest
+++ b/games-emulation/dosbox-staging/Manifest
@@ -1 +1,2 @@
 DIST dosbox-staging-0.75.0.tar.gz 1805354 BLAKE2B 
e376006a2c3890d98efdaa8041634bfca8b95f6c6471f36f8fdd53e319aad8d37f20bd195a20264bade1e6974327f1f888dec6050da493fc8a6e6bb6c5739150
 SHA512 
2e049ed44928ad4adeaca73d328cf8f415bcb8c1a399306b1e8a5fd2b7cd7c3d3fe10017b47e5d2f3e54c34042ee901b98486f5b47a3d2eaf43f4e13891f8b70
+DIST dosbox-staging-0.75.1.tar.gz 1806471 BLAKE2B 
5f9f8038327eb46c2c2b5035ca8e2cc93660bb6ce1dfa9572bf67278f14455db723104c0ab4e90b805cc7dbf253f61528ad6a31edb574af57e106f613958aede
 SHA512 
3e14354e4eb697514c4348af2e73e9f2fb84cc3796b5cfea37faac355bd93a54b0f9c717bf0ab75d824cf34e3ee0d40546e2bbf80bc924a37bd8f981f054e4e9

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.75.1.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.75.1.ebuild
new file mode 100644
index 000..3ace52dd142
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.75.1.ebuild
@@ -0,0 +1,49 @@
+# 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 opengl opus"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+   debug? ( sys-libs/ncurses:0= )
+   opengl? ( virtual/opengl )
+   opus? ( media-libs/opusfile )
+   media-libs/libpng:0=
+   media-libs/libsdl2[joystick,opengl?,video,X]
+   media-libs/sdl-net
+   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 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/files/dosbox-staging-0.75.1-pthread.patch 
b/games-emulation/dosbox-staging/files/dosbox-staging-0.75.1-pthread.patch
new file mode 100644
index 000..1aa7de682bd
--- /dev/null
+++ b/games-emulation/dosbox-staging/files/dosbox-staging-0.75.1-pthread.patch
@@ -0,0 +1,11 @@
+--- dosbox-staging-0.75.1/configure.ac.orig2020-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.



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2020-08-19 Thread Bernard Cafarelli
commit: f0eeb1bebea041aca6565f2893e0c5f423fffb90
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Tue Aug 18 11:51:15 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Wed Aug 19 10:02:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0eeb1be

games-emulation/dosbox-staging: add missing dep

also fix dekstop file to adhere to theme specs

Closes: https://bugs.gentoo.org/733314
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Andrew Ammerlaan  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/17158
Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/dosbox-staging-0.75.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.75.0.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.75.0.ebuild
index fb71bdee846..45521a91d41 100644
--- a/games-emulation/dosbox-staging/dosbox-staging-0.75.0.ebuild
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.75.0.ebuild
@@ -16,7 +16,7 @@ IUSE="alsa debug dynrec opengl opus"
 RDEPEND="alsa? ( media-libs/alsa-lib )
debug? ( sys-libs/ncurses:0= )
opengl? ( virtual/opengl )
-   opus? ( media-libs/opus )
+   opus? ( media-libs/opusfile )
media-libs/libpng:0=
media-libs/libsdl2[joystick,opengl?,video,X]
media-libs/sdl-net
@@ -43,5 +43,5 @@ src_configure() {
 src_install() {
default
doicon contrib/icons/${PN}.svg
-   make_desktop_entry dosbox DOSBox-staging ${PN}.svg
+   make_desktop_entry dosbox DOSBox-staging ${PN}
 }



[gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/

2020-05-09 Thread Bernard Cafarelli
commit: 45fb4facbf6f7dd1f9f02ea215a5395eed52c7e6
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Sat May  9 15:38:33 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Sat May  9 15:38:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45fb4fac

games-emulation/dosbox-staging: initial import

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Bernard Cafarelli  gentoo.org>

 games-emulation/dosbox-staging/Manifest|  1 +
 .../dosbox-staging/dosbox-staging-0.75.0.ebuild| 47 ++
 games-emulation/dosbox-staging/metadata.xml| 15 +++
 3 files changed, 63 insertions(+)

diff --git a/games-emulation/dosbox-staging/Manifest 
b/games-emulation/dosbox-staging/Manifest
new file mode 100644
index 000..099aa872432
--- /dev/null
+++ b/games-emulation/dosbox-staging/Manifest
@@ -0,0 +1 @@
+DIST dosbox-staging-0.75.0.tar.gz 1805354 BLAKE2B 
e376006a2c3890d98efdaa8041634bfca8b95f6c6471f36f8fdd53e319aad8d37f20bd195a20264bade1e6974327f1f888dec6050da493fc8a6e6bb6c5739150
 SHA512 
2e049ed44928ad4adeaca73d328cf8f415bcb8c1a399306b1e8a5fd2b7cd7c3d3fe10017b47e5d2f3e54c34042ee901b98486f5b47a3d2eaf43f4e13891f8b70

diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.75.0.ebuild 
b/games-emulation/dosbox-staging/dosbox-staging-0.75.0.ebuild
new file mode 100644
index 000..fb71bdee846
--- /dev/null
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.75.0.ebuild
@@ -0,0 +1,47 @@
+# 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 opengl opus"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+   debug? ( sys-libs/ncurses:0= )
+   opengl? ( virtual/opengl )
+   opus? ( media-libs/opus )
+   media-libs/libpng:0=
+   media-libs/libsdl2[joystick,opengl?,video,X]
+   media-libs/sdl-net
+   sys-libs/zlib
+   !games-emulation/dosbox"
+DEPEND="${RDEPEND}"
+BDEPEND=""
+
+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 opengl) \
+   $(use_enable opus opus-cdda)
+}
+
+src_install() {
+   default
+   doicon contrib/icons/${PN}.svg
+   make_desktop_entry dosbox DOSBox-staging ${PN}.svg
+}

diff --git a/games-emulation/dosbox-staging/metadata.xml 
b/games-emulation/dosbox-staging/metadata.xml
new file mode 100644
index 000..ea78ea742a7
--- /dev/null
+++ b/games-emulation/dosbox-staging/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   voyag...@gentoo.org
+   Bernard Cafarelli
+   
+   
+   Use recompiling cpu core instead of dynamic 
x86/x64 specific cpu core
+   Support compressed audio tracks (.opus) used 
with CDROM images
+   
+   
+   dosbox-staging/dosbox-staging
+   
+