parent
dfcb6f5667
commit
c87fb8fdca
|
@ -1,15 +1,15 @@
|
||||||
{ lib, stdenv, fetchurl
|
{ lib, stdenv, fetchurl
|
||||||
, cmake, docbook_xml_dtd_45, docbook_xsl, doxygen, graphviz-nox, pkg-config, qttools, wrapQtAppsHook
|
, cmake, docbook_xml_dtd_45, docbook_xsl, doxygen, graphviz-nox, pkg-config, qttools, wrapQtAppsHook
|
||||||
, alsa-lib, fluidsynth, qtbase, qtsvg, libpulseaudio
|
, alsa-lib, fluidsynth, libpulseaudio, qtbase, qtsvg, sonivox
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "drumstick";
|
pname = "drumstick";
|
||||||
version = "2.7.0";
|
version = "2.7.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/drumstick/${version}/${pname}-${version}.tar.bz2";
|
url = "mirror://sourceforge/drumstick/${version}/${pname}-${version}.tar.bz2";
|
||||||
hash = "sha256-Yb5SrXJ5ZK0IJ8XbnxAGLlfqKGOrfv2VET9Ba8dKItU=";
|
hash = "sha256-5XxG5ur584fgW4oCONgMiWzV48Q02HEdmpb9+YhBFe0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -18,11 +18,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace library/rt/backendmanager.cpp --subst-var out
|
substituteInPlace library/rt/backendmanager.cpp --subst-var out
|
||||||
|
|
||||||
# https://sourceforge.net/p/drumstick/bugs/39/
|
|
||||||
substituteInPlace drumstick-alsa.pc.in drumstick-file.pc.in drumstick-rt.pc.in drumstick-widgets.pc.in \
|
|
||||||
--replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \
|
|
||||||
--replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
outputs = [ "out" "dev" "man" ];
|
outputs = [ "out" "dev" "man" ];
|
||||||
|
@ -32,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
alsa-lib fluidsynth libpulseaudio qtbase qtsvg
|
alsa-lib fluidsynth libpulseaudio qtbase qtsvg sonivox
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
|
Loading…
Reference in a new issue