Merge pull request #43641 from jfrankenau/ffmpeg-libmysofa
libmysofa: init at 0.6 and enable in ffmpeg-full
This commit is contained in:
commit
e56b97fcf1
26
pkgs/development/libraries/audio/libmysofa/default.nix
Normal file
26
pkgs/development/libraries/audio/libmysofa/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, cmake, zlib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "libmysofa-${version}";
|
||||||
|
version = "0.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "hoene";
|
||||||
|
repo = "libmysofa";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "160gcmsn6dwaca29bs95nsgjdalwc299lip0h37k3jcbxxkchgsh";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
buildInputs = [ zlib ];
|
||||||
|
|
||||||
|
cmakeFlags = [ "-DBUILD_TESTS=OFF" ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Reader for AES SOFA files to get better HRTFs";
|
||||||
|
homepage = https://github.com/hoene/libmysofa;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ jfrankenau ];
|
||||||
|
};
|
||||||
|
}
|
@ -77,6 +77,7 @@
|
|||||||
#, libiec61883 ? null, libavc1394 ? null # iec61883 (also uses libraw1394)
|
#, libiec61883 ? null, libavc1394 ? null # iec61883 (also uses libraw1394)
|
||||||
#, libmfx ? null # Hardware acceleration vis libmfx
|
#, libmfx ? null # Hardware acceleration vis libmfx
|
||||||
, libmodplug ? null # ModPlug support
|
, libmodplug ? null # ModPlug support
|
||||||
|
, libmysofa ? null # HRTF support via SOFAlizer
|
||||||
#, libnut ? null # NUT (de)muxer, native (de)muser exists
|
#, libnut ? null # NUT (de)muxer, native (de)muser exists
|
||||||
, libogg ? null # Ogg container used by vorbis & theora
|
, libogg ? null # Ogg container used by vorbis & theora
|
||||||
, libopus ? null # Opus de/encoder
|
, libopus ? null # Opus de/encoder
|
||||||
@ -344,6 +345,7 @@ stdenv.mkDerivation rec {
|
|||||||
#(enableFeature (if isLinux then libiec61883 != null && libavc1394 != null && libraw1394 != null else false) "libiec61883")
|
#(enableFeature (if isLinux then libiec61883 != null && libavc1394 != null && libraw1394 != null else false) "libiec61883")
|
||||||
#(enableFeature (libmfx != null) "libmfx")
|
#(enableFeature (libmfx != null) "libmfx")
|
||||||
(enableFeature (libmodplug != null) "libmodplug")
|
(enableFeature (libmodplug != null) "libmodplug")
|
||||||
|
(enableFeature (libmysofa != null) "libmysofa")
|
||||||
#(enableFeature (libnut != null) "libnut")
|
#(enableFeature (libnut != null) "libnut")
|
||||||
(enableFeature (libopus != null) "libopus")
|
(enableFeature (libopus != null) "libopus")
|
||||||
(enableFeature (libssh != null) "libssh")
|
(enableFeature (libssh != null) "libssh")
|
||||||
@ -405,7 +407,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
bzip2 celt fontconfig freetype frei0r fribidi game-music-emu gnutls gsm
|
bzip2 celt fontconfig freetype frei0r fribidi game-music-emu gnutls gsm
|
||||||
libjack2 ladspaH lame libass libbluray libbs2b libcaca libdc1394 libmodplug
|
libjack2 ladspaH lame libass libbluray libbs2b libcaca libdc1394 libmodplug libmysofa
|
||||||
libogg libopus libssh libtheora libvdpau libvorbis libvpx libwebp libX11
|
libogg libopus libssh libtheora libvdpau libvorbis libvpx libwebp libX11
|
||||||
libxcb libXv lzma openal openjpeg libpulseaudio rtmpdump opencore-amr
|
libxcb libXv lzma openal openjpeg libpulseaudio rtmpdump opencore-amr
|
||||||
samba SDL2 soxr speex vid-stab vo-amrwbenc wavpack x264 x265 xavs xvidcore
|
samba SDL2 soxr speex vid-stab vo-amrwbenc wavpack x264 x265 xavs xvidcore
|
||||||
|
@ -10342,6 +10342,8 @@ with pkgs;
|
|||||||
|
|
||||||
libmypaint = callPackage ../development/libraries/libmypaint { };
|
libmypaint = callPackage ../development/libraries/libmypaint { };
|
||||||
|
|
||||||
|
libmysofa = callPackage ../development/libraries/audio/libmysofa { };
|
||||||
|
|
||||||
libmysqlconnectorcpp = callPackage ../development/libraries/libmysqlconnectorcpp {
|
libmysqlconnectorcpp = callPackage ../development/libraries/libmysqlconnectorcpp {
|
||||||
mysql = mysql57;
|
mysql = mysql57;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user