dleyna-server: fix build with gupnp 1.2
This commit is contained in:
parent
40cd020bd6
commit
6fce599d1c
@ -1,8 +1,20 @@
|
|||||||
{ stdenv, autoreconfHook, makeWrapper, pkgconfig, fetchFromGitHub, dleyna-core, dleyna-connector-dbus, gssdp, gupnp, gupnp-av, gupnp-dlna, libsoup }:
|
{ stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
, autoreconfHook
|
||||||
|
, makeWrapper
|
||||||
|
, pkgconfig
|
||||||
|
, dleyna-core
|
||||||
|
, dleyna-connector-dbus
|
||||||
|
, gssdp
|
||||||
|
, gupnp
|
||||||
|
, gupnp-av
|
||||||
|
, gupnp-dlna
|
||||||
|
, libsoup
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dleyna-server";
|
pname = "dleyna-server";
|
||||||
name = "${pname}-${version}";
|
|
||||||
version = "0.6.0";
|
version = "0.6.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -12,8 +24,30 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "13a2i6ms27s46yxdvlh2zm7pim7jmr5cylnygzbliz53g3gxxl3j";
|
sha256 = "13a2i6ms27s46yxdvlh2zm7pim7jmr5cylnygzbliz53g3gxxl3j";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig makeWrapper ];
|
patches = [
|
||||||
buildInputs = [ dleyna-core dleyna-connector-dbus gssdp gupnp gupnp-av gupnp-dlna libsoup ];
|
# fix build with gupnp 1.2
|
||||||
|
# https://github.com/intel/dleyna-server/pull/161
|
||||||
|
(fetchpatch {
|
||||||
|
url = https://github.com/intel/dleyna-server/commit/96c01c88363d6e5e9b7519bc4e8b5d86cf783e1f.patch;
|
||||||
|
sha256 = "0p8fn331x2whvn6skxqvfzilx0m0yx2q5mm2wh2625l396m3fzmm";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook
|
||||||
|
pkgconfig
|
||||||
|
makeWrapper
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
dleyna-core
|
||||||
|
dleyna-connector-dbus
|
||||||
|
gssdp
|
||||||
|
gupnp
|
||||||
|
gupnp-av
|
||||||
|
gupnp-dlna
|
||||||
|
libsoup
|
||||||
|
];
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram "$out/libexec/dleyna-server-service" \
|
wrapProgram "$out/libexec/dleyna-server-service" \
|
||||||
|
Loading…
Reference in New Issue
Block a user