Merge pull request #296730 from wegank/seq66-bump

seq66: 0.90.5 -> 0.99.12
This commit is contained in:
Weijia Wang 2024-03-23 14:27:06 +01:00 committed by GitHub
commit 8f91117432
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "seq66"; pname = "seq66";
version = "0.90.5"; version = "0.99.12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ahlstromcj"; owner = "ahlstromcj";
repo = pname; repo = "seq66";
rev = version; rev = version;
sha256 = "1jvra1wzlycfpvffnqidk264zw6fyl4fsghkw5256ldk22aalmq9"; hash = "sha256-+EU0UdmZaDnhN142yR/r0tK1FKBbuFPmde6iSS26Tjo=";
}; };
nativeBuildInputs = [ autoreconfHook pkg-config qttools which wrapQtAppsHook ]; nativeBuildInputs = [ autoreconfHook pkg-config qttools which wrapQtAppsHook ];
@ -18,13 +18,9 @@ stdenv.mkDerivation rec {
buildInputs = [ alsa-lib libjack2 liblo qtbase ]; buildInputs = [ alsa-lib libjack2 liblo qtbase ];
postPatch = '' postPatch = ''
for d in libseq66/include libseq66/src libsessions/include libsessions/src seq_qt5/src seq_rtmidi/include seq_rtmidi/src Seqtool/src; do for d in libseq66/src libsessions/include libsessions/src seq_qt5/src seq_rtmidi/src; do
substituteInPlace "$d/Makefile.am" --replace '$(git_info)' '${version}' substituteInPlace "$d/Makefile.am" --replace-fail '$(git_info)' '${version}'
done 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; enableParallelBuilding = true;