Merge pull request #150864 from krav/krav/vlc-headphones
vlc: fix headphones mode; libspatialaudio: init at 0.3.0
This commit is contained in:
commit
beef0af495
3 changed files with 36 additions and 3 deletions
|
@ -7,8 +7,8 @@
|
||||||
, mpeg2dec, systemd, gnutls, avahi, libcddb, libjack2, SDL, SDL_image
|
, mpeg2dec, systemd, gnutls, avahi, libcddb, libjack2, SDL, SDL_image
|
||||||
, libmtp, unzip, taglib, libkate, libtiger, libv4l, samba, libssh2, liboggz
|
, libmtp, unzip, taglib, libkate, libtiger, libv4l, samba, libssh2, liboggz
|
||||||
, libass, libva, libdvbpsi, libdc1394, libraw1394, libopus
|
, libass, libva, libdvbpsi, libdc1394, libraw1394, libopus
|
||||||
, libvdpau, libsamplerate, live555, fluidsynth, wayland, wayland-protocols
|
, libvdpau, libsamplerate, libspatialaudio, live555, fluidsynth
|
||||||
, ncurses, srt
|
, wayland, wayland-protocols, ncurses, srt
|
||||||
, onlyLibVLC ? false
|
, onlyLibVLC ? false
|
||||||
, withQt5 ? true, qtbase, qtsvg, qtx11extras, wrapQtAppsHook
|
, withQt5 ? true, qtbase, qtsvg, qtx11extras, wrapQtAppsHook
|
||||||
, jackSupport ? false
|
, jackSupport ? false
|
||||||
|
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
||||||
libkate libtiger libv4l samba libssh2 liboggz libass libdvbpsi libva
|
libkate libtiger libv4l samba libssh2 liboggz libass libdvbpsi libva
|
||||||
xorg.xlibsWrapper xorg.libXv xorg.libXvMC xorg.libXpm xorg.xcbutilkeysyms
|
xorg.xlibsWrapper xorg.libXv xorg.libXvMC xorg.libXpm xorg.xcbutilkeysyms
|
||||||
libdc1394 libraw1394 libopus libebml libmatroska libvdpau libsamplerate
|
libdc1394 libraw1394 libopus libebml libmatroska libvdpau libsamplerate
|
||||||
fluidsynth wayland wayland-protocols ncurses srt
|
libspatialaudio fluidsynth wayland wayland-protocols ncurses srt
|
||||||
] ++ optional (!stdenv.hostPlatform.isAarch64 && !stdenv.hostPlatform.isAarch32) live555
|
] ++ optional (!stdenv.hostPlatform.isAarch64 && !stdenv.hostPlatform.isAarch32) live555
|
||||||
++ optionals withQt5 [ qtbase qtsvg qtx11extras ]
|
++ optionals withQt5 [ qtbase qtsvg qtx11extras ]
|
||||||
++ optionals skins2Support (with xorg; [ libXpm freetype libXext libXinerama ])
|
++ optionals skins2Support (with xorg; [ libXpm freetype libXext libXinerama ])
|
||||||
|
@ -101,6 +101,12 @@ stdenv.mkDerivation rec {
|
||||||
sed -i 's|^#define CONFIGURE_LINE.*$|#define CONFIGURE_LINE "<removed>"|g' config.h
|
sed -i 's|^#define CONFIGURE_LINE.*$|#define CONFIGURE_LINE "<removed>"|g' config.h
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Add missing SOFA files
|
||||||
|
# Given in EXTRA_DIST, but not in install-data target
|
||||||
|
postInstall = ''
|
||||||
|
cp -R share/hrtfs $out/share/vlc
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Cross-platform media player and streaming server";
|
description = "Cross-platform media player and streaming server";
|
||||||
homepage = "http://www.videolan.org/vlc/";
|
homepage = "http://www.videolan.org/vlc/";
|
||||||
|
|
25
pkgs/development/libraries/libspatialaudio/default.nix
Normal file
25
pkgs/development/libraries/libspatialaudio/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{ lib, stdenv, cmake, fetchFromGitHub, libmysofa, zlib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "libspatialaudio";
|
||||||
|
version = "0.3.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "videolabs";
|
||||||
|
repo = "libspatialaudio";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-sPnQPD41AceXM4uGqWXMYhuQv0TUkA6TZP8ChxUFIoI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
buildInputs = [ libmysofa zlib ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description =
|
||||||
|
"Ambisonic encoding / decoding and binauralization library in C++";
|
||||||
|
homepage = "https://github.com/videolabs/libspatialaudio";
|
||||||
|
license = licenses.lgpl21Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ krav ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -18345,6 +18345,8 @@ with pkgs;
|
||||||
|
|
||||||
libstrophe = callPackage ../development/libraries/libstrophe { };
|
libstrophe = callPackage ../development/libraries/libstrophe { };
|
||||||
|
|
||||||
|
libspatialaudio = callPackage ../development/libraries/libspatialaudio { };
|
||||||
|
|
||||||
libspatialindex = callPackage ../development/libraries/libspatialindex { };
|
libspatialindex = callPackage ../development/libraries/libspatialindex { };
|
||||||
|
|
||||||
libspatialite = callPackage ../development/libraries/libspatialite { };
|
libspatialite = callPackage ../development/libraries/libspatialite { };
|
||||||
|
|
Loading…
Reference in a new issue