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