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