2016-03-18 12:11:51 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, file, glibmm, gst_all_1 }:
|
|
|
|
|
|
|
|
let
|
2018-01-12 18:52:29 +00:00
|
|
|
ver_maj = "1.10";
|
2016-11-22 10:00:36 +00:00
|
|
|
ver_min = "0";
|
2016-03-18 12:11:51 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gstreamermm-${ver_maj}.${ver_min}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gstreamermm/${ver_maj}/${name}.tar.xz";
|
2018-01-12 18:52:29 +00:00
|
|
|
sha256 = "0q4dx9sncqbwgpzma0zvj6zssc279yl80pn8irb95qypyyggwn5y";
|
2016-03-18 12:11:51 +00:00
|
|
|
};
|
2016-04-24 13:39:30 +01:00
|
|
|
|
2016-08-29 01:30:01 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
2016-04-24 13:39:30 +01:00
|
|
|
|
2016-03-18 12:11:51 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig file ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ glibmm gst_all_1.gst-plugins-base ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2016-04-24 13:39:30 +01:00
|
|
|
|
2016-03-18 12:11:51 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "C++ interface for GStreamer";
|
2017-08-02 22:50:51 +01:00
|
|
|
homepage = https://gstreamer.freedesktop.org/bindings/cplusplus.html;
|
2016-03-18 12:11:51 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2018-03-18 21:22:27 +00:00
|
|
|
platforms = platforms.linux;
|
2018-01-12 18:52:29 +00:00
|
|
|
maintainers = with maintainers; [ romildo ];
|
2016-03-18 12:11:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|