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
, alsa-lib, fluidsynth, libpulseaudio, qtbase, qtsvg, sonivox, qt5compat ? null
{
lib,
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
@ -8,29 +25,45 @@ let
in
stdenv.mkDerivation rec {
pname = "drumstick";
version = "2.9.0";
version = "2.9.1";
src = fetchurl {
url = "mirror://sourceforge/drumstick/${version}/${pname}-${version}.tar.bz2";
hash = "sha256-p0N8EeCtVEPCGzPwiRxPdI1XT5XQ5pcKYEDJXbYYTrM=";
hash = "sha256-U5Cm9pTDxC8NzyQfjaC/eBBDUWELV4jq4ov4QGefM9g=";
};
patches = [
./drumstick-plugins.patch
];
patches = [ ./drumstick-plugins.patch ];
postPatch = ''
substituteInPlace library/rt/backendmanager.cpp --subst-var out
'';
outputs = [ "out" "dev" "man" ];
outputs = [
"out"
"dev"
"man"
];
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 = [
alsa-lib fluidsynth libpulseaudio qtbase qtsvg sonivox
alsa-lib
fluidsynth
libpulseaudio
qtbase
qtsvg
qtwayland
sonivox
] ++ lib.optionals isQt6 [ qt5compat ];
cmakeFlags = [