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 libgudev
libnice libnice
libofa libofa
lrdf
sbc sbc
spandsp spandsp

View File

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