dosbox-staging: initial add 0.77.0
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
45
recipes-emulators/dosbox/dosbox-staging.bb
Normal file
45
recipes-emulators/dosbox/dosbox-staging.bb
Normal file
@@ -0,0 +1,45 @@
|
||||
SUMMARY = "DOS/x86 emulator focusing on ease of use"
|
||||
HOMEPAGE = "https://dosbox-staging.github.io/"
|
||||
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=a75e9ff85f9de2c690521c2b6ddd26cf"
|
||||
|
||||
DEPENDS = " \
|
||||
libsdl2 \
|
||||
libsdl2-net \
|
||||
libpcap \
|
||||
libxkbfile \
|
||||
libpng \
|
||||
alsa-lib \
|
||||
fluidsynth \
|
||||
opusfile \
|
||||
munt \
|
||||
"
|
||||
|
||||
inherit meson gtk-icon-cache features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11 opengl"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/dosbox-staging/dosbox-staging.git \
|
||||
file://0001-Fix-missing-include.patch \
|
||||
"
|
||||
SRCREV = "15a57e26c4d1123606a7ac455d2ccbce15e976b9"
|
||||
PV = "0.77.0"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
DYNCORE ?= "-Ddynamic_core=dynrec"
|
||||
|
||||
EXTRA_OEMESON = " \
|
||||
-Duse_pcap=true \
|
||||
${DYNCORE} \
|
||||
"
|
||||
|
||||
# sorry - but it does not make sense
|
||||
COMPATIBLE_HOST_armv4 = 'null'
|
||||
COMPATIBLE_HOST_armv5 = 'null'
|
||||
COMPATIBLE_HOST_armv6 = 'null'
|
||||
|
||||
FILES_${PN} += "${datadir}/metainfo"
|
||||
FILES_${PN}-doc += "${datadir}/licenses"
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
From 5b23877f74f9cbfc8a6442e19c672ba91229f923 Mon Sep 17 00:00:00 2001
|
||||
From: Dan Church <amphetamachine@gmail.com>
|
||||
Date: Thu, 8 Jul 2021 16:15:37 -0500
|
||||
Subject: [PATCH] Fix missing include
|
||||
|
||||
Upstream-Status: Accepted[https://github.com/dosbox-staging/dosbox-staging/commit/5b23877f74f9cbfc8a6442e19c672ba91229f923]
|
||||
---
|
||||
src/hardware/ne2000.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/hardware/ne2000.cpp b/src/hardware/ne2000.cpp
|
||||
index 7b4dcec4..3f68fe79 100644
|
||||
--- a/src/hardware/ne2000.cpp
|
||||
+++ b/src/hardware/ne2000.cpp
|
||||
@@ -26,6 +26,7 @@
|
||||
|
||||
#if C_NE2000
|
||||
|
||||
+#include <cstdarg>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
|
||||
--
|
||||
2.31.1
|
||||
|
||||
Reference in New Issue
Block a user