void-packages/srcpkgs/handbrake/patches/remove-faac-dependency.patch
NotMyName 5372bd8d95 handbrake: update to 1.4.2.
zimg-devel added as dependency for build to succeed.

template was changed in accordance.
2021-11-28 02:38:45 -03:00

84 lines
3.6 KiB
Diff

--- a/libhb/common.c
+++ b/libhb/common.c
@@ -375,7 +375,6 @@
{
// legacy encoders, back to HB 0.9.4 whenever possible (disabled)
{ { "", "dts", NULL, HB_ACODEC_DCA_PASS, HB_MUX_MASK_MP4|HB_MUX_MASK_MKV, }, NULL, 1, 0, HB_GID_ACODEC_DTS_PASS, },
- { { "AAC (faac)", "faac", NULL, 0, HB_MUX_MASK_MP4|HB_MUX_MASK_MKV, }, NULL, 1, 0, HB_GID_ACODEC_AAC, },
{ { "AAC (ffmpeg)", "ffaac", NULL, HB_ACODEC_FFAAC, HB_MUX_MASK_MP4|HB_MUX_MASK_MKV, }, NULL, 1, 0, HB_GID_ACODEC_AAC, },
{ { "AC3 (ffmpeg)", "ffac3", NULL, HB_ACODEC_AC3, HB_MUX_MASK_MP4|HB_MUX_MASK_MKV, }, NULL, 1, 0, HB_GID_ACODEC_AC3, },
{ { "MP3 (lame)", "lame", NULL, HB_ACODEC_LAME, HB_MUX_MASK_MP4|HB_MUX_MASK_MKV, }, NULL, 1, 0, HB_GID_ACODEC_MP3, },
--- a/scripts/manicure.rb
+++ b/scripts/manicure.rb
@@ -349,7 +349,7 @@
audioEncoders << "copy:dtshd"
when /AAC Pass/
audioEncoders << "copy:aac"
- when "AAC (ffmpeg)", "AAC (avcodec)", "AAC (faac)"
+ when "AAC (ffmpeg)", "AAC (avcodec)"
audioEncoders << "av_aac"
when "AAC (FDK)"
audioEncoders << "fdk_aac"
@@ -466,7 +466,7 @@
case hash["AudioEncoderFallback"]
when /AC3/
audioEncoderFallback << "ac3"
- when "AAC (ffmpeg)", "AAC (avcodec)", "AAC (faac)"
+ when "AAC (ffmpeg)", "AAC (avcodec)"
audioEncoderFallback << "av_aac"
when "AAC (FDK)"
audioEncoderFallback << "fdk_aac"
@@ -748,7 +748,7 @@
audioEncoders << "copy:dtshd"
when /AAC Pass/
audioEncoders << "copy:aac"
- when "AAC (ffmpeg)", "AAC (avcodec)", "AAC (faac)"
+ when "AAC (ffmpeg)", "AAC (avcodec)"
audioEncoders << "av_aac"
when "AAC (FDK)"
audioEncoders << "fdk_aac"
@@ -865,7 +865,7 @@
case hash["AudioEncoderFallback"]
when /AC3/
audioEncoderFallback << "ac3"
- when "AAC (ffmpeg)", "AAC (avcodec)", "AAC (faac)"
+ when "AAC (ffmpeg)", "AAC (avcodec)"
audioEncoderFallback << "av_aac"
when "AAC (FDK)"
audioEncoderFallback << "fdk_aac"
@@ -1148,7 +1148,7 @@
audioEncoders << "copy:dtshd"
when /AAC Pass/
audioEncoders << "copy:aac"
- when "AAC (ffmpeg)", "AAC (avcodec)", "AAC (faac)"
+ when "AAC (ffmpeg)", "AAC (avcodec)"
audioEncoders << "av_aac"
when "AAC (FDK)"
audioEncoders << "fdk_aac"
@@ -1283,7 +1283,7 @@
case hash["AudioEncoderFallback"]
when /AC3/
audioEncoderFallback << "ac3"
- when "AAC (ffmpeg)", "AAC (avcodec)", "AAC (faac)"
+ when "AAC (ffmpeg)", "AAC (avcodec)"
audioEncoderFallback << "av_aac"
when "AAC (FDK)"
audioEncoderFallback << "fdk_aac"
@@ -1600,7 +1600,7 @@
audioEncoders << "copy:dtshd"
when /AAC Pass/
audioEncoders << "copy:aac"
- when "AAC (ffmpeg)", "AAC (avcodec)", "AAC (faac)"
+ when "AAC (ffmpeg)", "AAC (avcodec)"
audioEncoders << "av_aac"
when "AAC (FDK)"
audioEncoders << "fdk_aac"
@@ -1717,7 +1717,7 @@
case hash["AudioEncoderFallback"]
when /AC3/
audioEncoderFallback << "ac3"
- when "AAC (ffmpeg)", "AAC (avcodec)", "AAC (faac)"
+ when "AAC (ffmpeg)", "AAC (avcodec)"
audioEncoderFallback << "av_aac"
when "AAC (FDK)"
audioEncoderFallback << "fdk_aac"