seq66: 0.90.5 -> 0.99.12

This commit is contained in:
Weijia Wang 2024-03-17 20:15:59 +01:00
parent 56614a4a4a
commit a1334f0b83

View file

@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "seq66";
version = "0.90.5";
version = "0.99.12";
src = fetchFromGitHub {
owner = "ahlstromcj";
repo = pname;
repo = "seq66";
rev = version;
sha256 = "1jvra1wzlycfpvffnqidk264zw6fyl4fsghkw5256ldk22aalmq9";
hash = "sha256-+EU0UdmZaDnhN142yR/r0tK1FKBbuFPmde6iSS26Tjo=";
};
nativeBuildInputs = [ autoreconfHook pkg-config qttools which wrapQtAppsHook ];
@ -18,13 +18,9 @@ stdenv.mkDerivation rec {
buildInputs = [ alsa-lib libjack2 liblo qtbase ];
postPatch = ''
for d in libseq66/include libseq66/src libsessions/include libsessions/src seq_qt5/src seq_rtmidi/include seq_rtmidi/src Seqtool/src; do
substituteInPlace "$d/Makefile.am" --replace '$(git_info)' '${version}'
for d in libseq66/src libsessions/include libsessions/src seq_qt5/src seq_rtmidi/src; do
substituteInPlace "$d/Makefile.am" --replace-fail '$(git_info)' '${version}'
done
# gcc-13 headers compatibilty. TODO: try to remove with next version
# update
sed -e '1i #include <cstdint>' -i libseq66/src/os/daemonize.cpp
'';
enableParallelBuilding = true;