Merge pull request #113822 from baloo/baloo/gstreamer-plugins-bad/vo-aacenc
This commit is contained in:
commit
6b746880b9
@ -79,6 +79,7 @@
|
|||||||
, x265
|
, x265
|
||||||
, libxml2
|
, libxml2
|
||||||
, srt
|
, srt
|
||||||
|
, vo-aacenc
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert faacSupport -> faac != null;
|
assert faacSupport -> faac != null;
|
||||||
@ -97,6 +98,7 @@ in stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
# Use pkgconfig to inject the includedirs
|
||||||
./fix_pkgconfig_includedir.patch
|
./fix_pkgconfig_includedir.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -115,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
|
||||||
@ -161,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 [
|
||||||
@ -239,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
|
||||||
|
19
pkgs/development/libraries/vo-aacenc/default.nix
Normal file
19
pkgs/development/libraries/vo-aacenc/default.nix
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{ lib, stdenv, fetchurl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "vo-aacenc";
|
||||||
|
version = "0.1.3";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/opencore-amr/fdk-aac/${pname}-${version}.tar.gz";
|
||||||
|
sha256 = "sha256-5Rp0d6NZ8Y33xPgtGV2rThTnQUy9SM95zBlfxEaFDzY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "VisualOn AAC encoder library";
|
||||||
|
homepage = "https://sourceforge.net/projects/opencore-amr/";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = [ maintainers.baloo ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -8812,6 +8812,8 @@ in
|
|||||||
|
|
||||||
vo-amrwbenc = callPackage ../development/libraries/vo-amrwbenc { };
|
vo-amrwbenc = callPackage ../development/libraries/vo-amrwbenc { };
|
||||||
|
|
||||||
|
vo-aacenc = callPackage ../development/libraries/vo-aacenc { };
|
||||||
|
|
||||||
vobcopy = callPackage ../tools/cd-dvd/vobcopy { };
|
vobcopy = callPackage ../tools/cd-dvd/vobcopy { };
|
||||||
|
|
||||||
vobsub2srt = callPackage ../tools/cd-dvd/vobsub2srt { };
|
vobsub2srt = callPackage ../tools/cd-dvd/vobsub2srt { };
|
||||||
|
Loading…
Reference in New Issue
Block a user