mamba: init at 1.3 (#94615)

* mamba: init at 1.1

* mamba: 1.1 -> 1.3

Co-authored-by: Orivej Desh <orivej@gmx.fr>

authored by

Orivej Desh (NixOS)
Orivej Desh
and committed by
GitHub
c8003b55 431b08ca

+52
+40
pkgs/applications/audio/mamba/default.nix
··· 1 + { stdenv 2 + , fetchFromGitHub 3 + , pkgconfig 4 + , cairo 5 + , libX11 6 + , libjack2 7 + , liblo 8 + , libsigcxx 9 + , libsmf 10 + }: 11 + 12 + stdenv.mkDerivation rec { 13 + pname = "mamba"; 14 + version = "1.3"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "brummer10"; 18 + repo = "Mamba"; 19 + rev = "v${version}"; 20 + sha256 = "1wa3f9c4l239mpxa7nxx8hajy4icn40vpvaxq5l1qzskl74w072d"; 21 + fetchSubmodules = true; 22 + }; 23 + 24 + patches = [ ./fix-build.patch ]; 25 + 26 + nativeBuildInputs = [ pkgconfig ]; 27 + buildInputs = [ cairo libX11 libjack2 liblo libsigcxx libsmf ]; 28 + 29 + makeFlags = [ "PREFIX=$(out)" ]; 30 + 31 + enableParallelBuilding = true; 32 + 33 + meta = with stdenv.lib; { 34 + homepage = "https://github.com/brummer10/Mamba"; 35 + description = "Virtual MIDI keyboard for Jack Audio Connection Kit"; 36 + license = licenses.bsd0; 37 + maintainers = with maintainers; [ magnetophon orivej ]; 38 + platforms = platforms.linux; 39 + }; 40 + }
+10
pkgs/applications/audio/mamba/fix-build.patch
··· 1 + --- a/libxputty/Build/Makefile 2 + +++ b/libxputty/Build/Makefile 3 + @@ -20,1 +20,1 @@ 4 + - LDFLAGS += -fPIC `pkg-config --static --cflags --libs cairo x11` -lm 5 + + LDFLAGS += -fPIC `pkg-config --cflags --libs cairo x11` -lm 6 + --- a/src/Makefile 7 + +++ b/src/Makefile 8 + @@ -84,1 +83,1 @@ ifneq ("$(wildcard ./$(BUILD_DIR))","") 9 + - update-desktop-database 10 + + update-desktop-database || true
+2
pkgs/top-level/all-packages.nix
··· 26377 26377 icu = icu58; 26378 26378 }; 26379 26379 26380 + mamba = callPackage ../applications/audio/mamba{ }; 26381 + 26380 26382 mame = libsForQt5.callPackage ../misc/emulators/mame { 26381 26383 inherit (darwin.apple_sdk.frameworks) CoreAudioKit ForceFeedback; 26382 26384 };