lrdf: 0.5.0 -> 0.6.1

Also remove the second copy of lrdf from gstreamer/bad inputs.
This commit is contained in:
Orivej Desh 2020-03-23 00:14:40 +00:00
parent 7e55f28cfe
commit fb4d3a8535
2 changed files with 10 additions and 9 deletions

View File

@ -178,7 +178,6 @@ in stdenv.mkDerivation rec {
libgudev
libnice
libofa
lrdf
sbc
spandsp

View File

@ -1,29 +1,31 @@
{ config, stdenv, fetchurl, pkgconfig, autoreconfHook
{ config, stdenv, fetchFromGitHub, pkgconfig, autoreconfHook
, librdf_raptor2, ladspaH, openssl, zlib
, doCheck ? config.doCheckByDefault or false, ladspaPlugins
}:
stdenv.mkDerivation rec {
version = "0.5.0";
pname = "liblrdf";
pname = "lrdf";
version = "0.6.1";
src = fetchurl {
url = "https://github.com/swh/LRDF/archive/${version}.tar.gz";
sha256 = "18p2flb2sv2hq6w2qkd29z9c7knnwqr3f12i2srshlzx6vwkm05s";
src = fetchFromGitHub {
owner = "swh";
repo = "LRDF";
rev = "v${version}";
sha256 = "00wzkfb8y0aqd519ypz067cq099dpc89w69zw8ln39vl6f9x2pd4";
};
postPatch = stdenv.lib.optionalString doCheck ''
sed -i -e 's:usr/local:${ladspaPlugins}:' examples/{instances,remove}_test.c
'';
preAutoreconf = "rm m4/*";
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ ladspaH openssl zlib ];
propagatedBuildInputs = [ librdf_raptor2 ];
inherit doCheck;
enableParallelBuilding = true;
meta = {
description = "Lightweight RDF library with special support for LADSPA plugins";
homepage = https://sourceforge.net/projects/lrdf/;