qt6Packages.drumstick: 2.9.0 -> 2.9.1 (#338563)

This commit is contained in:
Weijia Wang 2024-09-07 15:23:07 +02:00 committed by GitHub
commit 8e971e668d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,23 @@
{ lib, stdenv, fetchurl {
, cmake, docbook_xml_dtd_45, docbook_xsl, doxygen, graphviz-nox, pkg-config, qttools, wrapQtAppsHook lib,
, alsa-lib, fluidsynth, libpulseaudio, qtbase, qtsvg, sonivox, qt5compat ? null stdenv,
fetchurl,
cmake,
docbook_xml_dtd_45,
docbook_xsl,
doxygen,
graphviz-nox,
pkg-config,
qttools,
wrapQtAppsHook,
alsa-lib,
fluidsynth,
libpulseaudio,
qtbase,
qtsvg,
qtwayland,
sonivox,
qt5compat ? null,
}: }:
let let
@ -8,29 +25,45 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "drumstick"; pname = "drumstick";
version = "2.9.0"; version = "2.9.1";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/drumstick/${version}/${pname}-${version}.tar.bz2"; url = "mirror://sourceforge/drumstick/${version}/${pname}-${version}.tar.bz2";
hash = "sha256-p0N8EeCtVEPCGzPwiRxPdI1XT5XQ5pcKYEDJXbYYTrM="; hash = "sha256-U5Cm9pTDxC8NzyQfjaC/eBBDUWELV4jq4ov4QGefM9g=";
}; };
patches = [ patches = [ ./drumstick-plugins.patch ];
./drumstick-plugins.patch
];
postPatch = '' postPatch = ''
substituteInPlace library/rt/backendmanager.cpp --subst-var out substituteInPlace library/rt/backendmanager.cpp --subst-var out
''; '';
outputs = [ "out" "dev" "man" ]; outputs = [
"out"
"dev"
"man"
];
nativeBuildInputs = [ nativeBuildInputs = [
cmake docbook_xml_dtd_45 docbook_xml_dtd_45 docbook_xsl doxygen graphviz-nox pkg-config qttools wrapQtAppsHook cmake
docbook_xml_dtd_45
docbook_xml_dtd_45
docbook_xsl
doxygen
graphviz-nox
pkg-config
qttools
wrapQtAppsHook
]; ];
buildInputs = [ buildInputs = [
alsa-lib fluidsynth libpulseaudio qtbase qtsvg sonivox alsa-lib
fluidsynth
libpulseaudio
qtbase
qtsvg
qtwayland
sonivox
] ++ lib.optionals isQt6 [ qt5compat ]; ] ++ lib.optionals isQt6 [ qt5compat ];
cmakeFlags = [ cmakeFlags = [