liquidsoap: make it find ladspa plugins (#49891)
* liquidsoap: make it find ladspa plugins * liquidsoap: cleanup Moved makeWrapper and pkgconfig to nativeBuildInputs Refreshed meta.homepage
This commit is contained in:
parent
756fcf6ac4
commit
2d96b9a294
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, which, pkgconfig
|
{ stdenv, makeWrapper, fetchurl, which, pkgconfig
|
||||||
, ocamlPackages
|
, ocamlPackages
|
||||||
, libao, portaudio, alsaLib, libpulseaudio, libjack2
|
, libao, portaudio, alsaLib, libpulseaudio, libjack2
|
||||||
, libsamplerate, libmad, taglib, lame, libogg
|
, libsamplerate, libmad, taglib, lame, libogg
|
||||||
@ -31,10 +31,15 @@ stdenv.mkDerivation {
|
|||||||
sed ${toString packageFilters} PACKAGES.default > PACKAGES
|
sed ${toString packageFilters} PACKAGES.default > PACKAGES
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
wrapProgram $out/bin/liquidsoap --set LIQ_LADSPA_PATH /run/current-system/sw/lib/ladspa
|
||||||
|
'';
|
||||||
|
|
||||||
configureFlags = [ "--localstatedir=/var" ];
|
configureFlags = [ "--localstatedir=/var" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper pkgconfig ];
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ which ocamlPackages.ocaml ocamlPackages.findlib pkgconfig
|
[ which ocamlPackages.ocaml ocamlPackages.findlib
|
||||||
libao portaudio alsaLib libpulseaudio libjack2
|
libao portaudio alsaLib libpulseaudio libjack2
|
||||||
libsamplerate libmad taglib lame libogg
|
libsamplerate libmad taglib lame libogg
|
||||||
libvorbis speex libtheora libopus fdk_aac
|
libvorbis speex libtheora libopus fdk_aac
|
||||||
@ -47,7 +52,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Swiss-army knife for multimedia streaming";
|
description = "Swiss-army knife for multimedia streaming";
|
||||||
homepage = http://liquidsoap.fm/;
|
homepage = https://www.liquidsoap.info/;
|
||||||
maintainers = with maintainers; [ ehmry ];
|
maintainers = with maintainers; [ ehmry ];
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = ocamlPackages.ocaml.meta.platforms or [];
|
platforms = ocamlPackages.ocaml.meta.platforms or [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user