From 98e5369bafacf919982813d86e5dc99095d5d3d0 Mon Sep 17 00:00:00 2001 From: "Antoine R. Dumont (@ardumont)" Date: Tue, 6 Oct 2020 22:35:26 +0200 Subject: [PATCH] gmrender-resurrect: Make build against libupnp 1.14 ok Current PR opened but not merged upstream [1] [1] https://github.com/hzeller/gmrender-resurrect/pull/214 --- pkgs/tools/networking/gmrender-resurrect/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/gmrender-resurrect/default.nix b/pkgs/tools/networking/gmrender-resurrect/default.nix index fa364dc4eab6..8a8ed25a5a62 100644 --- a/pkgs/tools/networking/gmrender-resurrect/default.nix +++ b/pkgs/tools/networking/gmrender-resurrect/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, makeWrapper, gstreamer +{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkgconfig, makeWrapper, gstreamer , gst-plugins-base, gst-plugins-good, gst-plugins-bad, gst-plugins-ugly, gst-libav, libupnp }: let @@ -19,6 +19,14 @@ in sha256 = "14i5jrry6qiap5l2x2jqj7arymllajl3wgnk29ccvr8d45zp4jn1"; }; + patches = [ + (fetchpatch { + url = "https://github.com/hzeller/gmrender-resurrect/commit/dc8c4d4dc234311b3099e7f1efadf5d9733c81e9.patch"; + sha256 = "0fqi58viaq9jg5h5j1725qrach4c3wmfmh0q43q4r8az2pn7dszw"; + name = "libupnp.patch"; + }) + ]; + buildInputs = [ gstreamer libupnp ]; nativeBuildInputs = [ autoreconfHook pkgconfig makeWrapper ];