<commit_before>{ stdenv
, fetchTritonPatch
, fetchurl
, gettext
, yasm

, a52dec
, alsa-lib
, avahi
, bzip2
, dbus
, faad2
, flac
, ffmpeg_2
, fontconfig
, freefont_ttf
, freetype
, fribidi
, gnutls
, gstreamer_1
, gst-plugins-base_1
, gvfs
, jack2_lib
, libass
, libavc1394
, libbluray
, libcaca
, libcddb
, libdc1394
, libdvbpsi
, libdvdnav
, libebml
, libgcrypt
, libidn
, libkate
, libmad
, libmatroska
, libmodplug
, libmtp
, liboggz
, libpng
, libraw1394
, librsvg
, libsamplerate
, libshout
, libssh2
, libtheora
, libtiff
, libtiger
, libupnp
, libva
, libvdpau
, libvorbis
, libvpx
, libxml2
, lua
, libmpeg2
, mesa_noglu
, opus
, perl
, pulseaudio_lib
, qt4
#, qt5
, samba_client
, schroedinger
, SDL
, SDL_image
, speex
, systemd_lib
, taglib
, unzip
, v4l_lib
, x264
, x265
, xorg
, xz
, zlib

, onlyLibVLC ? false
}:

let
  inherit (stdenv.lib)
    optional;
in

stdenv.mkDerivation rec {
  name = "vlc-${version}";
  version = "2.2.4";

  src = fetchurl {
    url = "http://get.videolan.org/vlc/${version}/${name}.tar.xz";
    allowHashOutput = false;
    sha256 = "1632e91d2a0087e0ef4c3fb4c95c3c2890f7715a9d1d43ffd46329f428cf53be";
  };

  nativeBuildInputs = [
    gettext
    yasm
  ];

  buildInputs = [
    a52dec
    alsa-lib
    avahi
    bzip2
    dbus
    faad2
    flac
    ffmpeg_2
    fontconfig
    freefont_ttf
    freetype
    fribidi
    gnutls
    gstreamer_1
    gst-plugins-base_1
    gvfs
    jack2_lib
    libass
    libavc1394
    libbluray
    libcaca
    libcddb
    libdc1394
    libdvbpsi
    libdvdnav<commit_msg>vlc: fix gstreamer references<commit_after>{ stdenv
, fetchTritonPatch
, fetchurl
, gettext
, yasm

, a52dec
, alsa-lib
, avahi
, bzip2
, dbus
, faad2
, flac
, ffmpeg_2
, fontconfig
, freefont_ttf
, freetype
, fribidi
, gnutls
, gstreamer
, gst-plugins-base
, gvfs
, jack2_lib
, libass
, libavc1394
, libbluray
, libcaca
, libcddb
, libdc1394
, libdvbpsi
, libdvdnav
, libebml
, libgcrypt
, libidn
, libkate
, libmad
, libmatroska
, libmodplug
, libmtp
, liboggz
, libpng
, libraw1394
, librsvg
, libsamplerate
, libshout
, libssh2
, libtheora
, libtiff
, libtiger
, libupnp
, libva
, libvdpau
, libvorbis
, libvpx
, libxml2
, lua
, libmpeg2
, mesa_noglu
, opus
, perl
, pulseaudio_lib
, qt4
#, qt5
, samba_client
, schroedinger
, SDL
, SDL_image
, speex
, systemd_lib
, taglib
, unzip
, v4l_lib
, x264
, x265
, xorg
, xz
, zlib

, onlyLibVLC ? false
}:

let
  inherit (stdenv.lib)
    optional;
in

stdenv.mkDerivation rec {
  name = "vlc-${version}";
  version = "2.2.4";

  src = fetchurl {
    url = "http://get.videolan.org/vlc/${version}/${name}.tar.xz";
    allowHashOutput = false;
    sha256 = "1632e91d2a0087e0ef4c3fb4c95c3c2890f7715a9d1d43ffd46329f428cf53be";
  };

  nativeBuildInputs = [
    gettext
    yasm
  ];

  buildInputs = [
    a52dec
    alsa-lib
    avahi
    bzip2
    dbus
    faad2
    flac
    ffmpeg_2
    fontconfig
    freefont_ttf
    freetype
    fribidi
    gnutls
    gstreamer
    gst-plugins-base
    gvfs
    jack2_lib
    libass
    libavc1394
    libbluray
    libcaca
    libcddb
    libdc1394
    libdvbpsi
    libdvdnav
{'fraction_non_alphanumeric': 0.09403080872913992, 'fraction_numerical': 0.059050064184852376, 'mean_word_length': 3.0271317829457365, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3076718', 'n_tokens_mistral': 1532, 'n_tokens_neox': 1429, 'n_words': 256}