nixpkgs/pkgs/development/libraries/gstreamer/ges/default.nix
Niklas Hambüchen 95bea55802 gstreamer: 1.15.1 -> 1.16.0
Changes needed:

* core: dbghelp disabled as it's not needed
* core: Fixed script not being executable and skipped by patchShebangs
* base: gtk_doc disabled because of wayland symbol error
* ges: Patch removed that was merged upstream:
  https://bugzilla.gnome.org/show_bug.cgi?id=794856#c16
2019-06-20 13:36:11 +02:00

35 lines
988 B
Nix

{ stdenv, fetchurl, fetchpatch, meson, ninja
, pkgconfig, python, gst-plugins-base, libxml2
, flex, perl, gettext, gobject-introspection
}:
stdenv.mkDerivation rec {
name = "gstreamer-editing-services-${version}";
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/gstreamer-editing-services/${name}.tar.xz";
sha256 = "1las94jkx83sxmzi5w6b0xm89dqqwzpdsb6h9w9ixndhnbpzm8w2";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [ meson ninja pkgconfig gettext gobject-introspection python flex perl ];
propagatedBuildInputs = [ gst-plugins-base libxml2 ];
patches = [
./fix_pkgconfig_includedir.patch
];
postPatch = ''
sed -i -r -e 's/p(bad|good) = .*/p\1 = pbase/' tests/check/meson.build
'';
}