mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
parent
e983c3005a
commit
bc7b0f5e60
|
@ -1,27 +1,19 @@
|
|||
{ lib, stdenv, fetchFromGitHub, fftw, gtk2, lv2, libsamplerate, libsndfile, pkg-config, zita-convolver }:
|
||||
{ lib, stdenv, fetchgit, fftw, gtk2, lv2, libsamplerate, libsndfile, pkg-config, zita-convolver }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ir.lv2";
|
||||
version = "1.2.4";
|
||||
version = "0-unstable-2018-06-21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tomszilagyi";
|
||||
repo = "ir.lv2";
|
||||
rev = version;
|
||||
sha256 = "1p6makmgr898fakdxzl4agh48qqwgv1k1kwm8cgq187n0mhiknp6";
|
||||
src = fetchgit {
|
||||
url = "https://git.hq.sig7.se/ir.lv2.git";
|
||||
rev = "38bf3ec7d370d8234dd55be99c14cf9533b43c60";
|
||||
sha256 = "sha256-5toZYQX2oIAfQ5XPMMN+HGNE4FOE/t6mciih/OpU1dw=";
|
||||
};
|
||||
|
||||
buildInputs = [ fftw gtk2 lv2 libsamplerate libsndfile zita-convolver ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
postPatch = ''
|
||||
# Fix build with lv2 1.18: https://github.com/tomszilagyi/ir.lv2/pull/20
|
||||
find . -type f -exec fgrep -q LV2UI_Descriptor {} \; \
|
||||
-exec sed -i {} -e 's/const struct _\?LV2UI_Descriptor/const LV2UI_Descriptor/' \;
|
||||
'';
|
||||
|
||||
|
||||
postBuild = "make convert4chan";
|
||||
|
||||
installPhase = ''
|
||||
|
|
Loading…
Reference in a new issue