From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9DD27158020 for ; Thu, 22 Dec 2022 20:35:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90C80E07DB; Thu, 22 Dec 2022 20:35:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7512AE07DB for ; Thu, 22 Dec 2022 20:35:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6502E340BC1 for ; Thu, 22 Dec 2022 20:35:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AE9817E7 for ; Thu, 22 Dec 2022 20:35:37 +0000 (UTC) From: "Bernard Cafarelli" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" Message-ID: <1671741335.f717b63dbc1f7a073ec5154fbe66a3b039ca9dec.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/dosbox-staging/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/dosbox-staging/Manifest games-emulation/dosbox-staging/dosbox-staging-0.80.0.ebuild games-emulation/dosbox-staging/metadata.xml X-VCS-Directories: games-emulation/dosbox-staging/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: f717b63dbc1f7a073ec5154fbe66a3b039ca9dec X-VCS-Branch: master Date: Thu, 22 Dec 2022 20:35:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f300f699-9ece-4b57-973d-25d5e7422f1a X-Archives-Hash: a863eef8d016b4d7cb5772ec6063913b commit: f717b63dbc1f7a073ec5154fbe66a3b039ca9dec Author: Bernard Cafarelli gentoo org> AuthorDate: Thu Dec 22 20:35:08 2022 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Thu Dec 22 20:35:35 2022 +0000 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 000000000000..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