summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schneider <qsx@chaotikum.eu>2025-02-10 16:58:39 +0100
committerConrad Kostecki <conikost@gentoo.org>2025-02-10 22:09:35 +0100
commit7a12017c5bd245de75cd1e1c2493d48a68bdf696 (patch)
tree6189a7cdb42108013252b63134d285617cf90dd9 /app-emulation
parentmedia-sound/mixxx: add 2.5.0 (diff)
downloadgentoo-7a12017c5bd245de75cd1e1c2493d48a68bdf696.tar.gz
gentoo-7a12017c5bd245de75cd1e1c2493d48a68bdf696.tar.bz2
gentoo-7a12017c5bd245de75cd1e1c2493d48a68bdf696.zip
app-emulation/86Box: Add support for virtual networking through net-misc/vde
The strange `-DHAS_VDE=...` CMake argument is because upstream searches for vde headers and libraries on its own, instead of using pkg-config. Closes: https://bugs.gentoo.org/949556 Signed-off-by: Thomas Schneider <qsx@chaotikum.eu> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/86Box/86Box-4.2.1-r1.ebuild (renamed from app-emulation/86Box/86Box-4.2.1.ebuild)6
-rw-r--r--app-emulation/86Box/metadata.xml1
2 files changed, 5 insertions, 2 deletions
diff --git a/app-emulation/86Box/86Box-4.2.1.ebuild b/app-emulation/86Box/86Box-4.2.1-r1.ebuild
index 1be46ab052ba..d31e28f23805 100644
--- a/app-emulation/86Box/86Box-4.2.1.ebuild
+++ b/app-emulation/86Box/86Box-4.2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="experimental +fluidsynth +munt new-dynarec +openal +qt6 +threads"
+IUSE="experimental +fluidsynth +munt new-dynarec +openal +qt6 +threads vde"
DEPEND="
app-emulation/faudio
@@ -25,6 +25,7 @@ DEPEND="
net-libs/libslirp
sys-libs/zlib
qt6? ( x11-libs/libXi )
+ vde? ( net-misc/vde )
"
RDEPEND="
@@ -62,6 +63,7 @@ src_configure() {
-DQT="$(usex qt6)"
-DRELEASE="ON"
$(usex qt6 '-DUSE_QT6=ON' '')
+ -DHAS_VDE="$(usex vde "${EPREFIX}/usr/$(get_libdir)/libvdeplug.so" "HAS_VDE-NOTFOUND")"
)
cmake_src_configure
diff --git a/app-emulation/86Box/metadata.xml b/app-emulation/86Box/metadata.xml
index 7988953f183d..34264c7eee87 100644
--- a/app-emulation/86Box/metadata.xml
+++ b/app-emulation/86Box/metadata.xml
@@ -15,6 +15,7 @@
<flag name="fluidsynth">Enable MIDI support through <pkg>media-sound/fluidsynth</pkg>.</flag>
<flag name="munt">Enable MIDI MT-32 support through <pkg>media-libs/munt-mt32emu</pkg>.</flag>
<flag name="new-dynarec">Enable new dynamic recompiler from PCem 15, which should provide an even better emulation speed.</flag>
+ <flag name="vde">Enable virtual networking through <pkg>net-misc/vde</pkg>.</flag>
</use>
<upstream>
<bugs-to>https://github.com/86Box/86Box/issues</bugs-to>