mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
games-emulation/dosbox-staging: add 0.82.2
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST dosbox-staging-0.82.0.tar.gz 7196080 BLAKE2B 0d4067ae8f9ec7eb348d1a25bc8e842a4c3328ba3fccdc589137ff61e88f92e34594cf46c8f54d0936f8c50afa5b158bceca37091557c6d1fe856af03c9a43b1 SHA512 d3a7316d31111c89db1f157ee25f6a14d1fd0c6b2f00e524f16a47bf958d6037c82b051e2e9b62ccf2380ef1671d59523a164e68c8525e61903ec639effcfaf0
|
||||
DIST dosbox-staging-0.82.1.tar.gz 6691719 BLAKE2B 58ae707b4105477d39c3417535dc5f54779797379fe8f7df06685a7d728655c7ad7dbdf5bf159e8eb9099c3eaed1e8e708ce4f4c4a585dacffa916a7b602f0a2 SHA512 756892cce07fa0e62407413b8aa463181c5d50780dca8aae8b36b8b5457ef9adc7a6ca01de69df673f360413bf384c30cc29fde06d556b839952482f5a60e64d
|
||||
DIST dosbox-staging-0.82.2.tar.gz 6691414 BLAKE2B d37be59d5817058fab3252377dd8103d8a89364ac27025680eaaba9741c603ca6f4e91d3b3f6b1ec21ee8a5904a04a587d367ab9274ad8f4c809e4fe7e1d13dc SHA512 09dfd20f3a749e141a3eca41bd4556fdcb33df864a908710fb6f6163dbdab4f427c2738354c089cea53af0ae8f7cd3f526ad9939e5e562abb9c9705a443c3c5d
|
||||
|
||||
71
games-emulation/dosbox-staging/dosbox-staging-0.82.2.ebuild
Normal file
71
games-emulation/dosbox-staging/dosbox-staging-0.82.2.ebuild
Normal file
@@ -0,0 +1,71 @@
|
||||
# Copyright 2020-2025 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
|
||||
}
|
||||
Reference in New Issue
Block a user