commit
7d807f32d4
@ -15,11 +15,7 @@ let
|
|||||||
# "git describe" when _not_ on an annotated tag(!): MAJOR.MINOR-REV-HASH.
|
# "git describe" when _not_ on an annotated tag(!): MAJOR.MINOR-REV-HASH.
|
||||||
|
|
||||||
# Version to build.
|
# Version to build.
|
||||||
tag = "4.1";
|
tag = "4.2";
|
||||||
|
|
||||||
# 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";
|
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
@ -42,7 +38,7 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
patchPhase = ''
|
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
|
sed 's|/usr/include/libintl.h|${glibc}/include/libintl.h|' -i wscript
|
||||||
patchShebangs ./tools/
|
patchShebangs ./tools/
|
||||||
'';
|
'';
|
||||||
|
24
pkgs/applications/audio/rkrlv2/default.nix
Normal file
24
pkgs/applications/audio/rkrlv2/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -398,7 +398,7 @@ let
|
|||||||
inherit name sha256;
|
inherit name sha256;
|
||||||
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz";
|
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz";
|
||||||
meta.homepage = "https://github.com/${owner}/${repo}/";
|
meta.homepage = "https://github.com/${owner}/${repo}/";
|
||||||
};
|
} // { inherit rev; };
|
||||||
|
|
||||||
fetchFromBitbucket = { owner, repo, rev, sha256, name ? "${repo}-${rev}-src" }: fetchzip {
|
fetchFromBitbucket = { owner, repo, rev, sha256, name ? "${repo}-${rev}-src" }: fetchzip {
|
||||||
inherit name sha256;
|
inherit name sha256;
|
||||||
@ -2852,6 +2852,8 @@ let
|
|||||||
|
|
||||||
rkflashtool = callPackage ../tools/misc/rkflashtool { };
|
rkflashtool = callPackage ../tools/misc/rkflashtool { };
|
||||||
|
|
||||||
|
rkrlv2 = callPackage ../applications/audio/rkrlv2 {};
|
||||||
|
|
||||||
rmlint = callPackage ../tools/misc/rmlint {
|
rmlint = callPackage ../tools/misc/rmlint {
|
||||||
inherit (pythonPackages) sphinx;
|
inherit (pythonPackages) sphinx;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user