2018-03-31 22:17:58 +00:00
|
|
|
{ stdenv, fetchurl, fetchpatch, meson, ninja
|
|
|
|
, pkgconfig, python, gst-plugins-base, libxml2
|
2018-12-02 11:41:15 +00:00
|
|
|
, flex, perl, gettext, gobject-introspection
|
2014-03-17 14:06:32 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-08-30 11:30:39 +00:00
|
|
|
name = "gstreamer-editing-services-${version}";
|
2019-05-01 14:10:36 +00:00
|
|
|
version = "1.16.0";
|
2014-03-17 14:06:32 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library for creation of audio/video non-linear editors";
|
2017-09-16 19:28:31 +00:00
|
|
|
homepage = "https://gstreamer.freedesktop.org";
|
2014-03-17 14:06:32 +00:00
|
|
|
license = licenses.lgpl2Plus;
|
2015-04-09 01:56:57 +00:00
|
|
|
platforms = platforms.unix;
|
2014-03-17 14:06:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/src/gstreamer-editing-services/${name}.tar.xz";
|
2019-05-01 14:10:36 +00:00
|
|
|
sha256 = "1las94jkx83sxmzi5w6b0xm89dqqwzpdsb6h9w9ixndhnbpzm8w2";
|
2014-03-17 14:06:32 +00:00
|
|
|
};
|
|
|
|
|
2016-08-29 00:30:01 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
2016-04-24 12:39:30 +00:00
|
|
|
|
2018-12-02 11:41:15 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gettext gobject-introspection python flex perl ];
|
2014-03-17 14:06:32 +00:00
|
|
|
|
2018-03-31 22:17:58 +00:00
|
|
|
propagatedBuildInputs = [ gst-plugins-base libxml2 ];
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./fix_pkgconfig_includedir.patch
|
|
|
|
];
|
2019-01-11 10:46:01 +00:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i -r -e 's/p(bad|good) = .*/p\1 = pbase/' tests/check/meson.build
|
|
|
|
'';
|
2014-03-17 14:06:32 +00:00
|
|
|
}
|