2018-02-25 02:23:58 +00:00
|
|
|
{ stdenv, autoreconfHook, pkgconfig, fetchFromGitHub, dleyna-connector-dbus, dleyna-core, gssdp, gupnp, gupnp-av, gupnp-dlna, libsoup, makeWrapper }:
|
2017-08-30 23:24:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "dleyna-renderer";
|
|
|
|
version = "0.6.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "01org";
|
|
|
|
repo = name;
|
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "0jy54aq8hgrvzchrvfzqaj4pcn0cfhafl9bv8a9p6j82yjk4pvpp";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig makeWrapper ];
|
2018-02-25 02:23:58 +00:00
|
|
|
buildInputs = [ dleyna-core dleyna-connector-dbus gssdp gupnp gupnp-av gupnp-dlna libsoup ];
|
2017-08-30 23:24:13 +01:00
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
wrapProgram "$out/libexec/dleyna-renderer-service" \
|
|
|
|
--set DLEYNA_CONNECTOR_PATH "$DLEYNA_CONNECTOR_PATH"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library to discover and manipulate Digital Media Renderers";
|
|
|
|
homepage = http://01.org/dleyna;
|
|
|
|
maintainers = [ maintainers.jtojnar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|