From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id DA3CC15827B for ; Sun, 24 Aug 2025 20:06:25 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id BD407341051 for ; Sun, 24 Aug 2025 20:06:25 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B7EA1110560; Sun, 24 Aug 2025 20:06:24 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id AE3A3110560 for ; Sun, 24 Aug 2025 20:06:24 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5F7CE341051 for ; Sun, 24 Aug 2025 20:06:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC348234F for ; Sun, 24 Aug 2025 20:06:22 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1756058618.972578983db6b0201e28ce6d33b73431bd28bfa1.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/86Box/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/86Box/86Box-5.0.ebuild app-emulation/86Box/Manifest app-emulation/86Box/metadata.xml X-VCS-Directories: app-emulation/86Box/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 972578983db6b0201e28ce6d33b73431bd28bfa1 X-VCS-Branch: master Date: Sun, 24 Aug 2025 20:06:22 +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: 26855b64-4223-488c-8329-823555a0ccc9 X-Archives-Hash: 387ae87703caa103e2de3d768e2df89d commit: 972578983db6b0201e28ce6d33b73431bd28bfa1 Author: Conrad Kostecki gentoo org> AuthorDate: Sun Aug 24 18:03:38 2025 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sun Aug 24 18:03:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97257898 app-emulation/86Box: add 5.0 Signed-off-by: Conrad Kostecki gentoo.org> app-emulation/86Box/86Box-5.0.ebuild | 82 ++++++++++++++++++++++++++++++++++++ app-emulation/86Box/Manifest | 1 + app-emulation/86Box/metadata.xml | 1 + 3 files changed, 84 insertions(+) diff --git a/app-emulation/86Box/86Box-5.0.ebuild b/app-emulation/86Box/86Box-5.0.ebuild new file mode 100644 index 000000000000..ab3b66a0118c --- /dev/null +++ b/app-emulation/86Box/86Box-5.0.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +DESCRIPTION="Emulator of x86-based machines based on PCem" +HOMEPAGE="https://github.com/86Box/86Box" +SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="discord experimental +fluidsynth +munt new-dynarec +openal +qt6 +threads vde vnc" + +DEPEND=" + app-emulation/faudio + dev-libs/libevdev + dev-libs/libserialport + media-libs/freetype:2= + media-libs/libpng:= + media-libs/libsdl2 + media-libs/libsndfile + media-libs/openal + media-libs/rtmidi + net-libs/libslirp + sys-libs/zlib + fluidsynth? ( media-sound/fluidsynth:= ) + munt? ( media-libs/munt-mt32emu ) + openal? ( media-libs/openal ) + qt6? ( + dev-libs/wayland + dev-qt/qtbase:6=[gui,network,opengl,widgets] + x11-libs/libX11 + x11-libs/libXi + x11-libs/libxkbcommon + ) + vnc? ( net-libs/libvncserver ) +" +RDEPEND="${DEPEND} + qt6? ( dev-qt/qttranslations:6 ) + vde? ( net-misc/vde ) +" +BDEPEND=" + virtual/pkgconfig + qt6? ( kde-frameworks/extra-cmake-modules ) +" + +src_configure() { + # LTO needs to be filtered + # See https://bugs.gentoo.org/854507 + filter-lto + append-flags -fno-strict-aliasing + + local mycmakeargs=( + -DCPPTHREADS="$(usex threads)" + -DDEV_BRANCH="$(usex experimental)" + -DDISCORD="$(usex discord)" + -DDYNAREC="ON" + -DFLUIDSYNTH="$(usex fluidsynth)" + -DHAS_VDE="$(usex vde "${EPREFIX}/usr/$(get_libdir)/libvdeplug.so" "HAS_VDE-NOTFOUND")" + -DMINITRACE="OFF" + -DMUNT="$(usex munt)" + -DMUNT_EXTERNAL="$(usex munt)" + -DNEW_DYNAREC="$(usex new-dynarec)" + -DOPENAL="$(usex openal)" + -DPREFER_STATIC="OFF" + -DQT="$(usex qt6)" + -DRELEASE="ON" + -DRTMIDI="ON" + $(usex qt6 '-DUSE_QT6=ON' '') + -DVNC="$(usex vnc)" + ) + + cmake_src_configure +} + +pkg_postinst() { + elog "In order to use 86Box, you will need some roms for various emulated systems." + elog "See https://github.com/86Box/roms for more information." +} diff --git a/app-emulation/86Box/Manifest b/app-emulation/86Box/Manifest index ae6146a24334..c60d4fbfff37 100644 --- a/app-emulation/86Box/Manifest +++ b/app-emulation/86Box/Manifest @@ -1 +1,2 @@ DIST 86Box-4.2.1.tar.gz 5320110 BLAKE2B cf3379dffcd93f9c317c02b91ba5772a54abcc0e67ca588b22e07d5b221d40db4c0a54dcdd30cd1e2dd46a808393a9e09db917fe9445cbfb56ff9675d4eb35d9 SHA512 ed8e90f68318d163c39202479d654859d4d74b6fdffd47cfcba6b0393965265615aa008b02cfd04ac8cafc2f38cead53ed5d6071cabd4b96eba91ec805c5a2df +DIST 86Box-5.0.tar.gz 13880473 BLAKE2B 53d6c67eb0750cf3b52f845373317bf42d0c9143f953158025d6ee389778871581abd3bfe3e3fb0e418f56a5b7e7e4ad8ed261dce0b8b3d53060ef4450c6324f SHA512 e2ce22b856e995d3248a10e304ae091162747d79be821d9b74c7bd2b1f8a03061b07ff29dfa026650f28129538917b7548721e110a9a2fe387915c79684340cc diff --git a/app-emulation/86Box/metadata.xml b/app-emulation/86Box/metadata.xml index 34264c7eee87..b2235723fc85 100644 --- a/app-emulation/86Box/metadata.xml +++ b/app-emulation/86Box/metadata.xml @@ -11,6 +11,7 @@ fairly recent system designs based on the PCI bus. + Enable Discord integration Enable hardware from devbranch, which may be unstable or unusable. Enable MIDI support through media-sound/fluidsynth. Enable MIDI MT-32 support through media-libs/munt-mt32emu.