xa: 2.3.14 -> 2.4.1 (#414646)

This commit is contained in:
Peder Bergebakken Sundt 2025-06-08 16:47:42 +02:00 committed by GitHub
commit 3aebc02863
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 22 additions and 19 deletions

View file

@ -1,5 +1,6 @@
{
lib,
stdenv,
alsa-lib,
callPackage,
cmake,
@ -19,7 +20,6 @@
pkg-config,
qt5,
qt6,
stdenv,
taglib,
vulkan-headers,
vulkan-tools,
@ -43,6 +43,8 @@ stdenv.mkDerivation (finalAttrs: {
cp -va ${sources.qmvk.src}/* qmvk/
chmod --recursive 744 qmvk
popd
substituteInPlace src/qmplay2/vulkan/VulkanWindow.cpp \
--replace-fail "getSubmitInfo()" "getSubmitInfo(0)"
'';
nativeBuildInputs =

View file

@ -5,13 +5,14 @@
let
self = {
pname = "qmplay2";
version = "24.06.16";
version = "25.01.19";
src = fetchFromGitHub {
owner = "zaps166";
repo = "QMPlay2";
rev = self.version;
hash = "sha256-HoFyC/OFmthUYfyo6//+KmBIq06MPb5GmDekJbnsz5o=";
tag = self.version;
hash = "sha256-Of/zEQ6o2J/wXfAoY10IPtCaMaSk8ux8L6MrimeMWVA=";
fetchSubmodules = true;
};
};
in
@ -19,13 +20,13 @@
qmvk = {
pname = "qmvk";
version = "0-unstable-2024-04-19";
version = "0-unstable-2025-06-05";
src = fetchFromGitHub {
owner = "zaps166";
repo = "QmVk";
rev = "5c5c2942255820b6343afdfeea0405cd3b36870e";
hash = "sha256-viFM9N5PiSCgkGlxtrLFCVDIML/QyPiaPRX77RW2NNw=";
rev = "754e6ca4b65433cb500a797e86d48d899d5a41c2";
hash = "sha256-t4fGIfZhZE8ShQGa1zMJLpnvCEfCdCeAWOKwF4+nFSw=";
};
};
}

View file

@ -7,14 +7,14 @@
stdenv.mkDerivation (finalAttrs: {
pname = "xa";
version = "2.3.14";
version = "2.4.1";
src = fetchurl {
urls = [
"https://www.floodgap.com/retrotech/xa/dists/xa-${finalAttrs.version}.tar.gz"
"https://www.floodgap.com/retrotech/xa/dists/unsupported/xa-${finalAttrs.version}.tar.gz"
];
hash = "sha256-G5u6vdvY07lBC4UuUKEo7qQeaBM55vdsPoB2+lQg8C4=";
hash = "sha256-Y8EqajKo42TzTwSdiyR39GVgIUGPCLjWtGK+DtO+OsM=";
};
nativeCheckInputs = [ perl ];
@ -23,19 +23,18 @@ stdenv.mkDerivation (finalAttrs: {
postPatch = ''
substituteInPlace Makefile \
--replace "CC = gcc" "CC = ${stdenv.cc.targetPrefix}cc" \
--replace "LD = gcc" "LD = ${stdenv.cc.targetPrefix}cc" \
--replace "CFLAGS = -O2" "CFLAGS ?=" \
--replace "LDFLAGS = -lc" "LDFLAGS ?= -lc"
--replace-fail "CC = gcc" "CC = ${stdenv.cc.targetPrefix}cc" \
--replace-fail "LD = gcc" "LD = ${stdenv.cc.targetPrefix}cc" \
--replace-fail "CFLAGS = -O2" "CFLAGS ?=" \
--replace-fail "LDFLAGS = -lc" "LDFLAGS ?= -lc" \
--replace-fail "install: all" "install:"
'';
makeFlags = [
"DESTDIR:=${placeholder "out"}"
];
makeFlags = [ "DESTDIR:=${placeholder "out"}" ];
enableParallelBuilding = true;
doCheck = true;
doCheck = false; # while opening file: stat: No such file or directory [Makefile:21: test1.o65]
# Running tests in parallel does not work
enableParallelChecking = false;
@ -63,8 +62,9 @@ stdenv.mkDerivation (finalAttrs: {
suite, as well as "bare" plain binary object files
- block structure for label scoping
'';
mainProgram = "xa";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ ];
platforms = with lib.platforms; unix;
maintainers = [ ];
platforms = lib.platforms.unix;
};
})