gst_all_1.gst-plugins-bad: adds voaacenc support
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
This commit is contained in:
parent
c406d55e69
commit
52eba2efb9
@ -1,10 +1,8 @@
|
|||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, fetchpatch
|
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, gettext
|
, gettext
|
||||||
, config
|
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, python3
|
, python3
|
||||||
, gst-plugins-base
|
, gst-plugins-base
|
||||||
@ -81,6 +79,7 @@
|
|||||||
, x265
|
, x265
|
||||||
, libxml2
|
, libxml2
|
||||||
, srt
|
, srt
|
||||||
|
, vo-aacenc
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert faacSupport -> faac != null;
|
assert faacSupport -> faac != null;
|
||||||
@ -99,6 +98,7 @@ in stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
# Use pkgconfig to inject the includedirs
|
||||||
./fix_pkgconfig_includedir.patch
|
./fix_pkgconfig_includedir.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -117,6 +117,8 @@ in stdenv.mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
gst-plugins-base
|
gst-plugins-base
|
||||||
orc
|
orc
|
||||||
|
# gobject-introspection has to be in both nativeBuildInputs and
|
||||||
|
# buildInputs. The build tries to link against libgirepository-1.0.so
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
faad2
|
faad2
|
||||||
libass
|
libass
|
||||||
@ -163,6 +165,7 @@ in stdenv.mkDerivation rec {
|
|||||||
libxml2
|
libxml2
|
||||||
libintl
|
libintl
|
||||||
srt
|
srt
|
||||||
|
vo-aacenc
|
||||||
] ++ optionals enableZbar [
|
] ++ optionals enableZbar [
|
||||||
zbar
|
zbar
|
||||||
] ++ optionals faacSupport [
|
] ++ optionals faacSupport [
|
||||||
@ -241,7 +244,6 @@ in stdenv.mkDerivation rec {
|
|||||||
"-Dsvthevcenc=disabled" # required `SvtHevcEnc` library not packaged in nixpkgs as of writing
|
"-Dsvthevcenc=disabled" # required `SvtHevcEnc` library not packaged in nixpkgs as of writing
|
||||||
"-Dteletext=disabled" # required `zvbi` library not packaged in nixpkgs as of writing
|
"-Dteletext=disabled" # required `zvbi` library not packaged in nixpkgs as of writing
|
||||||
"-Dtinyalsa=disabled" # not packaged in nixpkgs as of writing
|
"-Dtinyalsa=disabled" # not packaged in nixpkgs as of writing
|
||||||
"-Dvoaacenc=disabled" # required `vo-aacenc` library not packaged in nixpkgs as of writing
|
|
||||||
"-Dvoamrwbenc=disabled" # required `vo-amrwbenc` library not packaged in nixpkgs as of writing
|
"-Dvoamrwbenc=disabled" # required `vo-amrwbenc` library not packaged in nixpkgs as of writing
|
||||||
"-Dvulkan=disabled" # Linux-only, and we haven't figured out yet which of the vulkan nixpkgs it needs
|
"-Dvulkan=disabled" # Linux-only, and we haven't figured out yet which of the vulkan nixpkgs it needs
|
||||||
"-Dwasapi=disabled" # not packaged in nixpkgs as of writing / no Windows support
|
"-Dwasapi=disabled" # not packaged in nixpkgs as of writing / no Windows support
|
||||||
|
Loading…
x
Reference in New Issue
Block a user