1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 16:42:09 +00:00

gst_all_1.gst-editing-services: 1.16.0 -> 1.16.1

This commit is contained in:
Will Dietz 2019-10-02 12:03:37 -05:00 committed by Jan Tojnar
parent 1f6d0f00a0
commit b32481a687
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,39 +1,66 @@
{ stdenv, fetchurl, fetchpatch, meson, ninja
, pkgconfig, python, gst-plugins-base, libxml2
, flex, perl, gettext, gobject-introspection
{ stdenv
, fetchurl
, fetchpatch
, meson
, ninja
, pkgconfig
, python
, gst-plugins-base
, libxml2
, flex
, perl
, gettext
, gobject-introspection
}:
stdenv.mkDerivation rec {
pname = "gstreamer-editing-services";
version = "1.16.0";
meta = with stdenv.lib; {
description = "Library for creation of audio/video non-linear editors";
homepage = "https://gstreamer.freedesktop.org";
license = licenses.lgpl2Plus;
platforms = platforms.unix;
};
src = fetchurl {
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "1las94jkx83sxmzi5w6b0xm89dqqwzpdsb6h9w9ixndhnbpzm8w2";
};
version = "1.16.1";
outputs = [ "out" "dev" ];
nativeBuildInputs = [ meson ninja pkgconfig gettext gobject-introspection python flex perl ];
propagatedBuildInputs = [ gst-plugins-base libxml2 ];
mesonFlags = [
"-Dgtk_doc=disabled"
];
src = fetchurl {
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "10375z5mc3bwfs07mhmfx943sbp55z8m8ihp9xpcknkdks7qg168";
};
patches = [
./fix_pkgconfig_includedir.patch
];
nativeBuildInputs = [
meson
ninja
pkgconfig
gettext
gobject-introspection
python
flex
perl
];
buildInputs = [
libxml2
];
propagatedBuildInputs = [
gst-plugins-base
];
mesonFlags = [
"-Dgtk_doc=disabled"
];
postPatch = ''
# for some reason, gst-plugins-bad cannot be found
# fortunately, they are only used by tests, which we do not run
sed -i -r -e 's/p(bad|good) = .*/p\1 = pbase/' tests/check/meson.build
'';
meta = with stdenv.lib; {
description = "Library for creation of audio/video non-linear editors";
homepage = "https://gstreamer.freedesktop.org";
license = licenses.lgpl2Plus;
platforms = platforms.unix;
};
}