dleyna-core: fix build with gupnp-1.2
This commit is contained in:
parent
c947e2dca4
commit
40cd020bd6
@ -1,10 +1,17 @@
|
|||||||
{ stdenv, autoreconfHook, pkgconfig, fetchFromGitHub, gupnp }:
|
{ stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
, autoreconfHook
|
||||||
|
, pkgconfig
|
||||||
|
, gupnp
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dleyna-core";
|
pname = "dleyna-core";
|
||||||
name = "${pname}-${version}";
|
|
||||||
version = "0.6.0";
|
version = "0.6.0";
|
||||||
|
|
||||||
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "01org";
|
owner = "01org";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
@ -12,12 +19,25 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1x5vj5zfk95avyg6g3nf6gar250cfrgla2ixj2ifn8pcick2d9vq";
|
sha256 = "1x5vj5zfk95avyg6g3nf6gar250cfrgla2ixj2ifn8pcick2d9vq";
|
||||||
};
|
};
|
||||||
|
|
||||||
setupHook = ./setup-hook.sh;
|
patches = [
|
||||||
|
./0001-Search-connectors-in-DLEYNA_CONNECTOR_PATH.patch
|
||||||
|
|
||||||
patches = [ ./0001-Search-connectors-in-DLEYNA_CONNECTOR_PATH.patch ];
|
# fix build with gupnp 1.2
|
||||||
|
# https://github.com/intel/dleyna-core/pull/52
|
||||||
|
(fetchpatch {
|
||||||
|
url = https://github.com/intel/dleyna-core/commit/41b2e56f67b6fc9c8c256b86957d281644b9b846.patch;
|
||||||
|
sha256 = "1h758cp65v7qyfpvyqdri7q0gwx85mhdpkb2y8waq735q5q9ib39";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [
|
||||||
propagatedBuildInputs = [ gupnp ];
|
autoreconfHook
|
||||||
|
pkgconfig
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
gupnp
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Library of utility functions that are used by the higher level dLeyna";
|
description = "Library of utility functions that are used by the higher level dLeyna";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user