23 makeXinePluginPath = l: lib.concatStringsSep ":" (map (p: "${p}/lib/xine/plugins") l);
25 self = stdenv.mkDerivation rec {
26 pname = "vdr-xineliboutput";
30 url = "mirror://sourceforge/project/xineliboutput/xineliboutput/${pname}-${version}/${pname}-${version}.tgz";
31 sha256 = "sha256-GnTaGaIbBufZP2npa9mAbrO1ccMf1RzhbvjrWhKBTjg=";
35 # pkg-config is called with opengl, which do not contain needed glx symbols
36 substituteInPlace configure \
37 --replace "X11 opengl" "X11 gl"
40 # configure don't accept argument --prefix
45 -e 's,XINEPLUGINDIR=/[^/]*/[^/]*/[^/]*/,XINEPLUGINDIR=/,'
48 makeFlags = [ "DESTDIR=$(out)" ];
51 for f in $out/bin/*; do
53 --prefix XINE_PLUGIN_PATH ":" "${makeXinePluginPath [ "$out" xine-lib ]}"
57 nativeBuildInputs = [ makeWrapper ];
78 passthru.requiredXinePlugins = [ xine-lib self ];
81 homepage = "https://sourceforge.net/projects/xineliboutput/";
82 description = "Xine-lib based software output device for VDR";
83 maintainers = [ maintainers.ck3d ];
84 license = licenses.gpl2;
85 inherit (vdr.meta) platforms;