gst_all_1.gst-plugins-bad: 1.16.0 -> 1.16.1

This commit is contained in:
Will Dietz 2019-10-02 12:04:26 -05:00 committed by Jan Tojnar
parent 7dff4003ba
commit 32680d9aaa
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,13 +1,36 @@
{ stdenv, fetchurl, fetchpatch, meson, ninja, gettext { stdenv
, fetchurl
, meson
, ninja
, gettext
, config , config
, pkgconfig, python3, gst-plugins-base, orc , pkgconfig
, python3
, gst-plugins-base
, orc
, gobject-introspection , gobject-introspection
, enableZbar ? true , enableZbar ? true
, faacSupport ? false, faac ? null , faacSupport ? false
, faad2, libass, libkate, libmms, librdf, ladspaH , faac ? null
, libnice, webrtc-audio-processing, lilv, lv2, serd, sord, sratom , faad2
, libbs2b, libmodplug, mpeg2dec , libass
, openjpeg, libopus, librsvg , libkate
, libmms
, librdf
, ladspaH
, libnice
, webrtc-audio-processing
, lilv
, lv2
, serd
, sord
, sratom
, libbs2b
, libmodplug
, mpeg2dec
, openjpeg
, libopus
, librsvg
, bluez , bluez
, chromaprint , chromaprint
, curl , curl
@ -27,7 +50,7 @@
, libusb1 , libusb1
, neon , neon
, openal , openal
, opencv3 , opencv4
, openexr , openexr
, openh264 , openh264
, pango , pango
@ -38,10 +61,20 @@
, srtp , srtp
, zbar , zbar
, wayland-protocols , wayland-protocols
, wildmidi, fluidsynth, libvdpau, wayland , wildmidi
, libwebp, xvidcore, gnutls, mjpegtools , fluidsynth
, libGLU_combined, libintl, libgme , libvdpau
, openssl, x265, libxml2 , wayland
, libwebp
, xvidcore
, gnutls
, mjpegtools
, libGLU_combined
, libintl
, libgme
, openssl
, x265
, libxml2
, srt , srt
}: }:
@ -49,66 +82,54 @@ assert faacSupport -> faac != null;
let let
inherit (stdenv.lib) optional optionals; inherit (stdenv.lib) optional optionals;
in in stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "gst-plugins-bad"; pname = "gst-plugins-bad";
version = "1.16.0"; version = "1.16.1";
meta = with stdenv.lib; {
description = "Gstreamer Bad Plugins";
homepage = "https://gstreamer.freedesktop.org";
longDescription = ''
a set of plug-ins that aren't up to par compared to the
rest. They might be close to being good quality, but they're missing
something - be it a good code review, some documentation, a set of tests,
a real live maintainer, or some actual wide use.
'';
license = licenses.lgpl2Plus;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ matthewbauer ];
};
preConfigure = ''
patchShebangs .
'';
patches = [
./fix_pkgconfig_includedir.patch
# Remove when https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/312 is merged and available to us
(fetchpatch {
url = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/commit/99790eaad9083cce5ab2b1646489e1a1c0faad1e.patch";
sha256 = "11bqy4sl05qq5mj4bx5s09rq106s3j0vnpjl4np058im32j69lr3";
})
# Remove when https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/312 is merged and available to us
(fetchpatch {
url = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/commit/1872da81c48d3a719bd39955fd97deac7d037d74.patch";
sha256 = "11zwrr5ggflmvr0qfssj7dmhgd3ybiadmy79b4zh24022zgw3xpz";
})
];
src = fetchurl {
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "019b0yqjrcg6jmfd4cc336h1bz5p4wxl58yz1c4sdb96avirs4r2";
};
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
src = fetchurl {
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "1dddqacxgp77f3nl153x5a6139wdphc9phds2fpqb2cv6faiqj2n";
};
patches = [
./fix_pkgconfig_includedir.patch
];
nativeBuildInputs = [ nativeBuildInputs = [
meson ninja pkgconfig python3 gettext gobject-introspection meson
] ninja
++ optionals stdenv.isLinux [ pkgconfig
python3
gettext
gobject-introspection
] ++ optionals stdenv.isLinux [
wayland-protocols wayland-protocols
]; ];
buildInputs = [ buildInputs = [
gst-plugins-base orc gst-plugins-base
faad2 libass libkate libmms orc
libnice webrtc-audio-processing # webrtc faad2
libass
libkate
libmms
libnice
webrtc-audio-processing # webrtc
libbs2b libbs2b
ladspaH librdf # ladspa plug-in ladspaH
lilv lv2 serd sord sratom # lv2 plug-in librdf # ladspa plug-in
libmodplug mpeg2dec lilv
openjpeg libopus librsvg lv2
serd
sord
sratom # lv2 plug-in
libmodplug
mpeg2dec
openjpeg
libopus
librsvg
bluez bluez
chromaprint chromaprint
curl.dev curl.dev
@ -128,7 +149,7 @@ stdenv.mkDerivation rec {
libusb1 libusb1
neon neon
openal openal
opencv3 opencv4
openexr openexr
openh264 openh264
rtmpdump rtmpdump
@ -137,25 +158,33 @@ stdenv.mkDerivation rec {
soundtouch soundtouch
spandsp spandsp
srtp srtp
fluidsynth libvdpau fluidsynth
libwebp xvidcore gnutls libGLU_combined libvdpau
libgme openssl x265 libxml2 libwebp
xvidcore
gnutls
libGLU_combined
libgme
openssl
x265
libxml2
libintl libintl
srt srt
] ] ++ optionals enableZbar [
++ optional enableZbar zbar zbar
++ optional faacSupport faac ] ++ optionals faacSupport [
++ optional stdenv.isLinux wayland faac
] ++ optionals stdenv.isLinux [
wayland
] ++ optionals (!stdenv.isDarwin) [
# wildmidi requires apple's OpenAL # wildmidi requires apple's OpenAL
# TODO: package apple's OpenAL, fix wildmidi, include on Darwin # TODO: package apple's OpenAL, fix wildmidi, include on Darwin
++ optional (!stdenv.isDarwin) wildmidi wildmidi
# TODO: mjpegtools uint64_t is not compatible with guint64 on Darwin # TODO: mjpegtools uint64_t is not compatible with guint64 on Darwin
++ optional (!stdenv.isDarwin) mjpegtools; mjpegtools
];
mesonFlags = [ mesonFlags = [
# Enables all features, so that we know when new dependencies are necessary.
"-Dauto_features=enabled"
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users "-Dexamples=disabled" # requires many dependencies and probably not useful for our users
"-Ddts=disabled" # required `libdca` library not packaged in nixpkgs as of writing, and marked as "BIG FAT WARNING: libdca is still in early development" "-Ddts=disabled" # required `libdca` library not packaged in nixpkgs as of writing, and marked as "BIG FAT WARNING: libdca is still in early development"
@ -193,8 +222,19 @@ stdenv.mkDerivation rec {
"-Dnvenc=disabled" "-Dnvenc=disabled"
]; ];
enableParallelBuilding = true;
doCheck = false; # fails 20 out of 58 tests, expensive doCheck = false; # fails 20 out of 58 tests, expensive
meta = with stdenv.lib; {
description = "GStreamer Bad Plugins";
homepage = "https://gstreamer.freedesktop.org";
longDescription = ''
a set of plug-ins that aren't up to par compared to the
rest. They might be close to being good quality, but they're missing
something - be it a good code review, some documentation, a set of tests,
a real live maintainer, or some actual wide use.
'';
license = licenses.lgpl2Plus;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ matthewbauer ];
};
} }