uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
27
pkgs/applications/audio/rakarrack/default.nix
Normal file
27
pkgs/applications/audio/rakarrack/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, stdenv, fetchurl, alsa-lib, alsa-utils, fltk, libjack2, libXft,
|
||||
libXpm, libjpeg, libpng, libsamplerate, libsndfile, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rakarrack";
|
||||
version = "0.6.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/rakarrack/${pname}-${version}.tar.bz2";
|
||||
sha256 = "1rpf63pdn54c4yg13k7cb1w1c7zsvl97c4qxcpz41c8l91xd55kn";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
patches = [ ./fltk-path.patch ];
|
||||
|
||||
buildInputs = [ alsa-lib alsa-utils fltk libjack2 libXft libXpm libjpeg
|
||||
libpng libsamplerate libsndfile zlib ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Multi-effects processor emulating a guitar effects pedalboard";
|
||||
homepage = "http://rakarrack.sourceforge.net";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
};
|
||||
}
|
||||
35
pkgs/applications/audio/rakarrack/fltk-path.patch
Normal file
35
pkgs/applications/audio/rakarrack/fltk-path.patch
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
commit 47245c3fd30dc326fedd7cdae444ddcf0fd97490
|
||||
Author: holborn <holborn@users.sourceforge.net>
|
||||
Date: Tue Apr 19 15:02:26 2011 +0100
|
||||
|
||||
Fix FL path
|
||||
|
||||
modified: src/global.h
|
||||
modified: src/process.C
|
||||
|
||||
diff --git a/src/global.h b/src/global.h
|
||||
index fc74b06..3e33da9 100644
|
||||
--- a/src/global.h
|
||||
+++ b/src/global.h
|
||||
@@ -176,7 +176,7 @@ return y;
|
||||
#include <X11/xpm.h>
|
||||
#include <jack/jack.h>
|
||||
#include <jack/midiport.h>
|
||||
-#include <Fl/Fl_Preferences.H>
|
||||
+#include <FL/Fl_Preferences.H>
|
||||
#include "FPreset.h"
|
||||
#include "Reverb.h"
|
||||
#include "Chorus.h"
|
||||
diff --git a/src/process.C b/src/process.C
|
||||
index 51bbc65..c993ff8 100644
|
||||
--- a/src/process.C
|
||||
+++ b/src/process.C
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
-#include <Fl/Fl_Preferences.H>
|
||||
+#include <FL/Fl_Preferences.H>
|
||||
#include "global.h"
|
||||
|
||||
int Pexitprogram, preset;
|
||||
Loading…
Add table
Add a link
Reference in a new issue