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