mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
gst_all_1.gst-editing-services: 1.16.0 -> 1.16.1
This commit is contained in:
parent
1f6d0f00a0
commit
b32481a687
@ -1,11 +1,61 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, meson, ninja
|
{ stdenv
|
||||||
, pkgconfig, python, gst-plugins-base, libxml2
|
, fetchurl
|
||||||
, flex, perl, gettext, gobject-introspection
|
, fetchpatch
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkgconfig
|
||||||
|
, python
|
||||||
|
, gst-plugins-base
|
||||||
|
, libxml2
|
||||||
|
, flex
|
||||||
|
, perl
|
||||||
|
, gettext
|
||||||
|
, gobject-introspection
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gstreamer-editing-services";
|
pname = "gstreamer-editing-services";
|
||||||
version = "1.16.0";
|
version = "1.16.1";
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
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; {
|
meta = with stdenv.lib; {
|
||||||
description = "Library for creation of audio/video non-linear editors";
|
description = "Library for creation of audio/video non-linear editors";
|
||||||
@ -13,27 +63,4 @@ stdenv.mkDerivation rec {
|
|||||||
license = licenses.lgpl2Plus;
|
license = licenses.lgpl2Plus;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
|
|
||||||
sha256 = "1las94jkx83sxmzi5w6b0xm89dqqwzpdsb6h9w9ixndhnbpzm8w2";
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkgconfig gettext gobject-introspection python flex perl ];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ gst-plugins-base libxml2 ];
|
|
||||||
|
|
||||||
mesonFlags = [
|
|
||||||
"-Dgtk_doc=disabled"
|
|
||||||
];
|
|
||||||
|
|
||||||
patches = [
|
|
||||||
./fix_pkgconfig_includedir.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
sed -i -r -e 's/p(bad|good) = .*/p\1 = pbase/' tests/check/meson.build
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user