gst_all_1.gst-plugins-good: 1.16.0 -> 1.16.1
This commit is contained in:
parent
ca789d36ff
commit
2ef14fa9eb
@ -1,14 +1,37 @@
|
|||||||
{ stdenv, fetchurl, meson, ninja, pkgconfig, python
|
{ stdenv
|
||||||
, gst-plugins-base, orc, bzip2, gettext
|
, fetchurl
|
||||||
, libv4l, libdv, libavc1394, libiec61883
|
, meson
|
||||||
, libvpx, speex, flac, taglib, libshout
|
, ninja
|
||||||
, cairo, gdk-pixbuf, aalib, libcaca
|
, pkgconfig
|
||||||
, libsoup, libpulseaudio, libintl
|
, python
|
||||||
, darwin, lame, mpg123, twolame
|
, gst-plugins-base
|
||||||
|
, orc
|
||||||
|
, bzip2
|
||||||
|
, gettext
|
||||||
|
, libv4l
|
||||||
|
, libdv
|
||||||
|
, libavc1394
|
||||||
|
, libiec61883
|
||||||
|
, libvpx
|
||||||
|
, speex
|
||||||
|
, flac
|
||||||
|
, taglib
|
||||||
|
, libshout
|
||||||
|
, cairo
|
||||||
|
, gdk-pixbuf
|
||||||
|
, aalib
|
||||||
|
, libcaca
|
||||||
|
, libsoup
|
||||||
|
, libpulseaudio
|
||||||
|
, libintl
|
||||||
|
, darwin
|
||||||
|
, lame
|
||||||
|
, mpg123
|
||||||
|
, twolame
|
||||||
, gtkSupport ? false, gtk3 ? null
|
, gtkSupport ? false, gtk3 ? null
|
||||||
# As of writing, jack2 incurs a Qt dependency (big!) via `ffado`.
|
# As of writing, jack2 incurs a Qt dependency (big!) via `ffado`.
|
||||||
# In the fuure we should probably split `ffado`.
|
# In the future we should probably split `ffado`.
|
||||||
, enableJack ? false
|
, enableJack ? false, jack2
|
||||||
, libXdamage
|
, libXdamage
|
||||||
, libXext
|
, libXext
|
||||||
, libXfixes
|
, libXfixes
|
||||||
@ -16,7 +39,6 @@
|
|||||||
, xorg
|
, xorg
|
||||||
, libgudev
|
, libgudev
|
||||||
, wavpack
|
, wavpack
|
||||||
, jack2
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert gtkSupport -> gtk3 != null;
|
assert gtkSupport -> gtk3 != null;
|
||||||
@ -26,10 +48,89 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gst-plugins-good";
|
pname = "gst-plugins-good";
|
||||||
version = "1.16.0";
|
version = "1.16.1";
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
|
||||||
|
sha256 = "07wgz9anf4ram2snp8n1wv6l0q3pd00iaw8bvw3wgklg05lvxflz";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [ ./fix_pkgconfig_includedir.patch ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkgconfig
|
||||||
|
python
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
gettext
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gst-plugins-base
|
||||||
|
orc
|
||||||
|
bzip2
|
||||||
|
libdv
|
||||||
|
libvpx
|
||||||
|
speex
|
||||||
|
flac
|
||||||
|
taglib
|
||||||
|
cairo
|
||||||
|
gdk-pixbuf
|
||||||
|
aalib
|
||||||
|
libcaca
|
||||||
|
libsoup
|
||||||
|
libshout
|
||||||
|
lame
|
||||||
|
mpg123
|
||||||
|
twolame
|
||||||
|
libintl
|
||||||
|
libXdamage
|
||||||
|
libXext
|
||||||
|
libXfixes
|
||||||
|
ncurses
|
||||||
|
xorg.libXfixes
|
||||||
|
xorg.libXdamage
|
||||||
|
wavpack
|
||||||
|
] ++ optional gtkSupport [
|
||||||
|
# for gtksink
|
||||||
|
gtk3
|
||||||
|
] ++ optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.Cocoa
|
||||||
|
] ++ optionals stdenv.isLinux [
|
||||||
|
libv4l
|
||||||
|
libpulseaudio
|
||||||
|
libavc1394
|
||||||
|
libiec61883
|
||||||
|
libgudev
|
||||||
|
] ++ optionals (stdenv.isLinux && enableJack) [
|
||||||
|
jack2
|
||||||
|
];
|
||||||
|
|
||||||
|
mesonFlags = [
|
||||||
|
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
|
||||||
|
"-Dqt5=disabled" # not clear as of writing how to correctly pass in the required qt5 deps
|
||||||
|
] ++ optionals (!gtkSupport) [
|
||||||
|
"-Dgtk3=disabled"
|
||||||
|
] ++ optionals (!stdenv.isLinux || !enableJack) [
|
||||||
|
"-Djack=disabled" # unclear whether Jack works on Darwin
|
||||||
|
] ++ optionals (!stdenv.isLinux) [
|
||||||
|
"-Dv4l2-gudev=disabled"
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
NIX_LDFLAGS = [
|
||||||
|
# linking error on Darwin
|
||||||
|
# https://github.com/NixOS/nixpkgs/pull/70690#issuecomment-553694896
|
||||||
|
"-lncurses"
|
||||||
|
];
|
||||||
|
|
||||||
|
# fails 1 tests with "Unexpected critical/warning: g_object_set_is_valid_property: object class 'GstRtpStorage' has no property named ''"
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Gstreamer Good Plugins";
|
description = "GStreamer Good Plugins";
|
||||||
homepage = "https://gstreamer.freedesktop.org";
|
homepage = "https://gstreamer.freedesktop.org";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
a set of plug-ins that we consider to have good quality code,
|
a set of plug-ins that we consider to have good quality code,
|
||||||
@ -40,55 +141,4 @@ stdenv.mkDerivation rec {
|
|||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
maintainers = with maintainers; [ matthewbauer ];
|
maintainers = with maintainers; [ matthewbauer ];
|
||||||
};
|
};
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
|
|
||||||
sha256 = "1zdhif1mhf0ihkjpjyrh65g2iz2cawkjjb3h5w8h9ml06grxwjk5";
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
|
||||||
|
|
||||||
patches = [ ./fix_pkgconfig_includedir.patch ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig python meson ninja gettext ];
|
|
||||||
|
|
||||||
NIX_LDFLAGS = "-lncurses";
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
gst-plugins-base orc bzip2
|
|
||||||
libdv libvpx speex flac taglib
|
|
||||||
cairo gdk-pixbuf aalib libcaca
|
|
||||||
libsoup libshout lame mpg123 twolame libintl
|
|
||||||
libXdamage
|
|
||||||
libXext
|
|
||||||
libXfixes
|
|
||||||
ncurses
|
|
||||||
xorg.libXfixes
|
|
||||||
xorg.libXdamage
|
|
||||||
wavpack
|
|
||||||
]
|
|
||||||
++ optional gtkSupport gtk3 # for gtksink
|
|
||||||
++ optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ]
|
|
||||||
++ optionals stdenv.isLinux [ libv4l libpulseaudio libavc1394 libiec61883 libgudev ]
|
|
||||||
++ optionals (stdenv.isLinux && enableJack) [
|
|
||||||
jack2
|
|
||||||
];
|
|
||||||
|
|
||||||
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
|
|
||||||
"-Dqt5=disabled" # not clear as of writing how to correctly pass in the required qt5 deps
|
|
||||||
]
|
|
||||||
++ optional (!gtkSupport) "-Dgtk3=disabled"
|
|
||||||
++ optionals (!stdenv.isLinux || !enableJack) [
|
|
||||||
"-Djack=disabled" # unclear whether Jack works on Darwin
|
|
||||||
]
|
|
||||||
++ optionals (!stdenv.isLinux) [
|
|
||||||
"-Dv4l2-gudev=disabled"
|
|
||||||
];
|
|
||||||
|
|
||||||
# fails 1 tests with "Unexpected critical/warning: g_object_set_is_valid_property: object class 'GstRtpStorage' has no property named ''"
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user