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