mamba: 1.1 -> 1.3
This commit is contained in:
parent
8a220dfe9c
commit
ccd76df5b9
@ -1,45 +1,40 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, xorg
|
|
||||||
, cairo
|
|
||||||
, libjack2
|
|
||||||
, pcre
|
|
||||||
, libXdmcp
|
|
||||||
, libsigcxx
|
|
||||||
, liblo
|
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
|
, cairo
|
||||||
|
, libX11
|
||||||
|
, libjack2
|
||||||
|
, liblo
|
||||||
|
, libsigcxx
|
||||||
|
, libsmf
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mamba";
|
pname = "mamba";
|
||||||
version = "1.1";
|
version = "1.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "brummer10";
|
owner = "brummer10";
|
||||||
repo = "Mamba";
|
repo = "Mamba";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1rjy7l9sx8xvk64s29g0jrrirm5h2qg0pdvvz4i1kkbs7nasnjm5";
|
sha256 = "1wa3f9c4l239mpxa7nxx8hajy4icn40vpvaxq5l1qzskl74w072d";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./fix-build.patch ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [ cairo libX11 libjack2 liblo libsigcxx libsmf ];
|
||||||
xorg.libX11
|
|
||||||
xorg.libpthreadstubs
|
|
||||||
cairo
|
|
||||||
libjack2
|
|
||||||
pcre
|
|
||||||
libXdmcp
|
|
||||||
libsigcxx
|
|
||||||
liblo
|
|
||||||
];
|
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=$(out)" ];
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/brummer10/Mamba";
|
homepage = "https://github.com/brummer10/Mamba";
|
||||||
description = "Virtual MIDI keyboard for Jack Audio Connection Kit";
|
description = "Virtual MIDI keyboard for Jack Audio Connection Kit";
|
||||||
maintainers = [ maintainers.magnetophon ];
|
|
||||||
license = licenses.bsd0;
|
license = licenses.bsd0;
|
||||||
|
maintainers = with maintainers; [ magnetophon orivej ];
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
10
pkgs/applications/audio/mamba/fix-build.patch
Normal file
10
pkgs/applications/audio/mamba/fix-build.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- a/libxputty/Build/Makefile
|
||||||
|
+++ b/libxputty/Build/Makefile
|
||||||
|
@@ -20,1 +20,1 @@
|
||||||
|
- LDFLAGS += -fPIC `pkg-config --static --cflags --libs cairo x11` -lm
|
||||||
|
+ LDFLAGS += -fPIC `pkg-config --cflags --libs cairo x11` -lm
|
||||||
|
--- a/src/Makefile
|
||||||
|
+++ b/src/Makefile
|
||||||
|
@@ -84,1 +83,1 @@ ifneq ("$(wildcard ./$(BUILD_DIR))","")
|
||||||
|
- update-desktop-database
|
||||||
|
+ update-desktop-database || true
|
Loading…
x
Reference in New Issue
Block a user