2020-03-22 17:14:40 -07:00
|
|
|
{ config, stdenv, fetchFromGitHub, pkgconfig, autoreconfHook
|
2016-01-17 15:04:40 -08:00
|
|
|
, librdf_raptor2, ladspaH, openssl, zlib
|
2019-03-14 06:25:29 -07:00
|
|
|
, doCheck ? config.doCheckByDefault or false, ladspaPlugins
|
2013-03-02 06:45:13 -08:00
|
|
|
}:
|
2010-07-28 04:55:54 -07:00
|
|
|
|
2013-03-02 06:45:13 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2020-03-22 17:14:40 -07:00
|
|
|
pname = "lrdf";
|
|
|
|
version = "0.6.1";
|
2009-09-21 02:58:21 -07:00
|
|
|
|
2020-03-22 17:14:40 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "swh";
|
|
|
|
repo = "LRDF";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "00wzkfb8y0aqd519ypz067cq099dpc89w69zw8ln39vl6f9x2pd4";
|
2009-09-21 02:58:21 -07:00
|
|
|
};
|
|
|
|
|
2018-07-17 16:11:12 -07:00
|
|
|
postPatch = stdenv.lib.optionalString doCheck ''
|
|
|
|
sed -i -e 's:usr/local:${ladspaPlugins}:' examples/{instances,remove}_test.c
|
|
|
|
'';
|
2013-02-03 06:56:48 -08:00
|
|
|
|
2017-09-05 14:26:13 -07:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2013-03-02 06:45:13 -08:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ librdf_raptor2 ];
|
|
|
|
|
2018-07-17 16:11:12 -07:00
|
|
|
inherit doCheck;
|
|
|
|
|
2020-03-22 17:14:40 -07:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2013-03-02 06:45:13 -08:00
|
|
|
meta = {
|
2013-10-06 02:49:53 -07:00
|
|
|
description = "Lightweight RDF library with special support for LADSPA plugins";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://sourceforge.net/projects/lrdf/";
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-07-28 04:55:54 -07:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-09-21 02:58:21 -07:00
|
|
|
};
|
|
|
|
}
|