2018-03-31 06:16:56 -07:00
|
|
|
{ stdenv, fetchurl, fetchpatch, pkgconfig, meson
|
|
|
|
, ninja, gettext, gobjectIntrospection, python
|
|
|
|
, gstreamer, orc, alsaLib, libXv, pango, libtheora
|
2018-04-04 10:36:39 -07:00
|
|
|
, wayland, cdparanoia, libvisual, libintl
|
2013-12-23 07:36:37 -08:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-30 12:09:07 -07:00
|
|
|
name = "gst-plugins-base-1.14.0";
|
2013-12-23 07:36:37 -08:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Base plugins and helper libraries";
|
2017-09-16 12:28:31 -07:00
|
|
|
homepage = https://gstreamer.freedesktop.org;
|
2013-12-23 07:36:37 -08:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2015-04-08 18:47:56 -07:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-12-23 07:36:37 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/src/gst-plugins-base/${name}.tar.xz";
|
2018-03-30 12:09:07 -07:00
|
|
|
sha256 = "0h39bcp7fcd9kgb189lxr8l0hm0almvzpzgpdh1jpq2nzxh4d43y";
|
2013-12-23 07:36:37 -08:00
|
|
|
};
|
|
|
|
|
2016-08-28 17:30:01 -07:00
|
|
|
outputs = [ "out" "dev" ];
|
2016-04-24 05:39:30 -07:00
|
|
|
|
2013-12-23 07:36:37 -08:00
|
|
|
nativeBuildInputs = [
|
2018-03-31 06:16:56 -07:00
|
|
|
pkgconfig python meson ninja gettext gobjectIntrospection
|
2013-12-23 07:36:37 -08:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2018-04-04 10:36:39 -07:00
|
|
|
orc libXv pango libtheora cdparanoia libintl wayland
|
2015-04-08 18:47:56 -07:00
|
|
|
]
|
|
|
|
++ stdenv.lib.optional stdenv.isLinux alsaLib
|
|
|
|
++ stdenv.lib.optional (!stdenv.isDarwin) libvisual;
|
2013-12-23 07:36:37 -08:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ gstreamer ];
|
2014-08-12 13:17:38 -07:00
|
|
|
|
2018-03-31 06:16:56 -07:00
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
2015-04-08 18:47:56 -07:00
|
|
|
|
2014-08-12 13:17:38 -07:00
|
|
|
enableParallelBuilding = true;
|
2015-04-08 18:47:56 -07:00
|
|
|
|
2018-03-31 06:16:56 -07:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://bug794856.bugzilla-attachments.gnome.org/attachment.cgi?id=370414";
|
|
|
|
sha256 = "07x43xis0sr0hfchf36ap0cibx0lkfpqyszb3r3w9dzz301fk04z";
|
|
|
|
})
|
|
|
|
./fix_pkgconfig_includedir.patch
|
|
|
|
];
|
2013-12-23 07:36:37 -08:00
|
|
|
}
|