2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv
|
2019-12-14 02:41:39 +01:00
|
|
|
, fetchurl
|
2019-12-14 02:47:16 +01:00
|
|
|
, fetchpatch
|
2019-12-14 02:41:39 +01:00
|
|
|
, libnice
|
2021-01-19 07:50:56 +01:00
|
|
|
, pkg-config
|
2019-12-14 02:47:16 +01:00
|
|
|
, autoreconfHook
|
2019-12-14 02:41:39 +01:00
|
|
|
, gstreamer
|
|
|
|
, gst-plugins-base
|
|
|
|
, gupnp-igd
|
|
|
|
, gobject-introspection
|
|
|
|
, gst-plugins-good
|
|
|
|
, gst-plugins-bad
|
|
|
|
, gst-libav
|
2012-09-23 19:39:26 +02:00
|
|
|
}:
|
2012-03-15 22:49:54 +01:00
|
|
|
|
2019-12-14 02:47:16 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2016-09-28 02:19:51 +02:00
|
|
|
name = "farstream-0.2.8";
|
2018-03-15 13:27:02 +01:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2012-03-15 22:49:54 +01:00
|
|
|
src = fetchurl {
|
2018-03-15 13:27:02 +01:00
|
|
|
url = "https://www.freedesktop.org/software/farstream/releases/farstream/${name}.tar.gz";
|
2016-09-28 02:19:51 +02:00
|
|
|
sha256 = "0249ncd20x5mf884fd8bw75c3118b9fdml837v4fib349xmrqfrb";
|
2012-03-15 22:49:54 +01:00
|
|
|
};
|
|
|
|
|
2019-12-14 02:47:16 +01:00
|
|
|
patches = [
|
|
|
|
# Python has not been used for ages
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://gitlab.freedesktop.org/farstream/farstream/commit/73891c28fa27d5e65a71762e826f13747d743588.patch";
|
|
|
|
sha256 = "19pw1m8xhxyf5yhl6k898w240ra2k0m28gfv858x70c4wl786lrn";
|
|
|
|
})
|
2020-07-06 10:15:14 +02:00
|
|
|
# Fix build with newer gnumake.
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://gitlab.freedesktop.org/farstream/farstream/-/commit/54987d44.diff";
|
|
|
|
sha256 = "02pka68p2j1wg7768rq7afa5wl9xv82wp86q7izrmwwnxdmz4zyg";
|
|
|
|
})
|
2019-12-14 02:47:16 +01:00
|
|
|
];
|
|
|
|
|
2019-12-14 02:41:39 +01:00
|
|
|
buildInputs = [
|
|
|
|
libnice
|
|
|
|
gupnp-igd
|
|
|
|
libnice
|
|
|
|
];
|
2012-03-15 22:49:54 +01:00
|
|
|
|
2019-12-14 02:41:39 +01:00
|
|
|
nativeBuildInputs = [
|
2021-01-19 07:50:56 +01:00
|
|
|
pkg-config
|
2019-12-14 02:47:16 +01:00
|
|
|
autoreconfHook
|
2019-12-14 02:41:39 +01:00
|
|
|
gobject-introspection
|
|
|
|
];
|
2012-03-15 22:49:54 +01:00
|
|
|
|
2018-03-15 13:27:02 +01:00
|
|
|
propagatedBuildInputs = [
|
2019-12-14 02:41:39 +01:00
|
|
|
gstreamer
|
|
|
|
gst-plugins-base
|
|
|
|
gst-plugins-good
|
|
|
|
gst-plugins-bad
|
|
|
|
gst-libav
|
2018-03-15 13:27:02 +01:00
|
|
|
];
|
2012-03-15 22:49:54 +01:00
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2019-12-14 02:41:39 +01:00
|
|
|
homepage = "https://www.freedesktop.org/wiki/Software/Farstream";
|
2012-03-15 22:49:54 +01:00
|
|
|
description = "Audio/Video Communications Framework formely known as farsight";
|
2018-10-08 22:38:48 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl21;
|
2012-03-15 22:49:54 +01:00
|
|
|
};
|
|
|
|
}
|