3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #9273 from joelmo/audio

Audio updates
This commit is contained in:
goibhniu 2015-08-19 10:15:30 +02:00
commit 7d807f32d4
3 changed files with 29 additions and 7 deletions

View file

@ -15,11 +15,7 @@ let
# "git describe" when _not_ on an annotated tag(!): MAJOR.MINOR-REV-HASH.
# Version to build.
tag = "4.1";
# Version info that is built into the binary. Keep in sync with 'tag'. The
# last 8 digits is a (fake) commit id.
revision = "4.1-fe672c8";
tag = "4.2";
in
@ -42,7 +38,7 @@ stdenv.mkDerivation rec {
];
patchPhase = ''
printf '#include "libs/ardour/ardour/revision.h"\nnamespace ARDOUR { const char* revision = \"${revision}\"; }\n' > libs/ardour/revision.cc
printf '#include "libs/ardour/ardour/revision.h"\nnamespace ARDOUR { const char* revision = \"${tag}-${builtins.substring 0 8 src.rev}\"; }\n' > libs/ardour/revision.cc
sed 's|/usr/include/libintl.h|${glibc}/include/libintl.h|' -i wscript
patchShebangs ./tools/
'';

View file

@ -0,0 +1,24 @@
{ stdenv, pkgs, fetchFromGitHub,
automake, pkgconfig, lv2, fftw, cmake, xlibs, libjack2, libsamplerate, libsndfile
}:
stdenv.mkDerivation rec {
repo = "rkrlv2";
name = "${repo}-b1.0";
src = fetchFromGitHub {
owner = "ssj71";
inherit repo;
rev = "a315f5aefe63be7e34663596b8b050410a9b7e72";
sha256 = "0kr3rvq7n1bh47qryyarcpiibms601qd8l1vypmm61969l4d4bn8";
};
buildInputs = with xlibs; [ automake pkgconfig lv2 fftw cmake libXpm libjack2 libsamplerate libsndfile libXft ];
meta = {
description = "Rakarrak effects ported to LV2";
homepage = https://github.com/ssj71/rkrlv2;
license = stdenv.lib.licenses.gpl3;
maintainers = [ stdenv.lib.maintainers.joelmo ];
};
}

View file

@ -398,7 +398,7 @@ let
inherit name sha256;
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz";
meta.homepage = "https://github.com/${owner}/${repo}/";
};
} // { inherit rev; };
fetchFromBitbucket = { owner, repo, rev, sha256, name ? "${repo}-${rev}-src" }: fetchzip {
inherit name sha256;
@ -2852,6 +2852,8 @@ let
rkflashtool = callPackage ../tools/misc/rkflashtool { };
rkrlv2 = callPackage ../applications/audio/rkrlv2 {};
rmlint = callPackage ../tools/misc/rmlint {
inherit (pythonPackages) sphinx;
};