libsForQt5.drumstick: 2.7.2 -> 2.9.0
This commit is contained in:
parent
817a592c92
commit
bd4c516a4f
@ -1,15 +1,18 @@
|
||||
{ lib, stdenv, fetchurl
|
||||
, cmake, docbook_xml_dtd_45, docbook_xsl, doxygen, graphviz-nox, pkg-config, qttools, wrapQtAppsHook
|
||||
, alsa-lib, fluidsynth, libpulseaudio, qtbase, qtsvg, sonivox
|
||||
, alsa-lib, fluidsynth, libpulseaudio, qtbase, qtsvg, sonivox, qt5compat ? null
|
||||
}:
|
||||
|
||||
let
|
||||
isQt6 = lib.versions.major qtbase.version == "6";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "drumstick";
|
||||
version = "2.7.2";
|
||||
version = "2.9.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/drumstick/${version}/${pname}-${version}.tar.bz2";
|
||||
hash = "sha256-5XxG5ur584fgW4oCONgMiWzV48Q02HEdmpb9+YhBFe0=";
|
||||
hash = "sha256-p0N8EeCtVEPCGzPwiRxPdI1XT5XQ5pcKYEDJXbYYTrM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -28,17 +31,18 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib fluidsynth libpulseaudio qtbase qtsvg sonivox
|
||||
];
|
||||
] ++ lib.optionals isQt6 [ qt5compat ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DUSE_DBUS=ON"
|
||||
(lib.cmakeBool "USE_DBUS" true)
|
||||
(lib.cmakeBool "USE_QT5" (!isQt6))
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
maintainers = [];
|
||||
description = "MIDI libraries for Qt5/C++";
|
||||
description = "MIDI libraries for Qt/C++";
|
||||
homepage = "https://drumstick.sourceforge.io/";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ wegank ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -33,6 +33,8 @@ makeScopeWithSplicing' {
|
||||
accounts-qt = callPackage ../development/libraries/accounts-qt { };
|
||||
appstream-qt = callPackage ../development/libraries/appstream/qt.nix { };
|
||||
|
||||
drumstick = callPackage ../development/libraries/drumstick { };
|
||||
|
||||
fcitx5-chinese-addons = callPackage ../tools/inputmethods/fcitx5/fcitx5-chinese-addons.nix { };
|
||||
|
||||
fcitx5-configtool = kdePackages.callPackage ../tools/inputmethods/fcitx5/fcitx5-configtool.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user