xemu: 0.8.133 -> 0.8.134 (#495001)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
SDL2,
|
||||
SDL2_image,
|
||||
sdl3,
|
||||
sdl3-image,
|
||||
fetchFromGitHub,
|
||||
gettext,
|
||||
git,
|
||||
@@ -30,17 +30,19 @@
|
||||
cacert,
|
||||
darwin,
|
||||
desktopToDarwinBundle,
|
||||
xxHash,
|
||||
tomlplusplus,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xemu";
|
||||
version = "0.8.133";
|
||||
version = "0.8.134";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xemu-project";
|
||||
repo = "xemu";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-S66DiwTx09Hx5jt2aX6D+YndsbY39qmIkGl/uViori4=";
|
||||
hash = "sha256-BWOLKa7B1GURG4Zfo65ZQrr54nRaRHYibKv71j6gtiY=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
git
|
||||
@@ -53,13 +55,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
meson subprojects download \
|
||||
SPIRV-Reflect VulkanMemoryAllocator berkeley-softfloat-3 berkeley-testfloat-3 genconfig glslang imgui \
|
||||
implot json keycodemapdb nv2a_vsh_cpu tomlplusplus volk xxhash || true
|
||||
implot json keycodemapdb nv2a_vsh_cpu volk || true
|
||||
find subprojects -type d -name .git -prune -execdir rm -r {} +
|
||||
'';
|
||||
};
|
||||
__structuredAttrs = false;
|
||||
nativeBuildInputs = [
|
||||
SDL2
|
||||
meson
|
||||
cmake
|
||||
ninja
|
||||
@@ -79,8 +80,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
]);
|
||||
|
||||
buildInputs = [
|
||||
SDL2
|
||||
SDL2_image
|
||||
sdl3
|
||||
sdl3-image
|
||||
gettext
|
||||
glib
|
||||
gtk3
|
||||
@@ -92,6 +93,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
openssl
|
||||
vulkan-headers
|
||||
vulkan-loader
|
||||
xxHash
|
||||
tomlplusplus
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
libdrm
|
||||
@@ -128,6 +131,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
substituteInPlace ./scripts/xemu-version.sh \
|
||||
--replace-fail 'date -u' "date -d @$SOURCE_DATE_EPOCH '+%Y-%m-%d %H:%M:%S'"
|
||||
|
||||
substituteInPlace subprojects/volk/volk.c \
|
||||
--replace-fail 'libvulkan.so' '${lib.getLib vulkan-loader}/lib/libvulkan.so'
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
|
||||
Reference in New Issue
Block a user