summaryrefslogtreecommitdiff
blob: ba1dfd2c0518b5541f91dee5dba2899246c18caf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- FFmpeg-chromium/configure	2021-10-07 22:32:34.230130424 +0100
+++ FFmpeg/configure	2021-10-07 22:34:30.978861042 +0100
@@ -6474,15 +6464,14 @@
                                { require_pkg_config libopenjpeg "libopenjp2 >= 2.1.0" openjpeg.h opj_version -DOPJ_STATIC && add_cppflags -DOPJ_STATIC; } }
 enabled libopenmpt        && require_pkg_config libopenmpt "libopenmpt >= 0.2.6557" libopenmpt/libopenmpt.h openmpt_module_create -lstdc++ && append libopenmpt_extralibs "-lstdc++"
 enabled libopenvino       && require libopenvino c_api/ie_c_api.h ie_c_api_version -linference_engine_c_api
-# Chromium uses a built in copy of libopus that is not visible to pkg-config.
-# enabled libopus           && {
-#    enabled libopus_decoder && {
-#        require_pkg_config libopus opus opus_multistream.h opus_multistream_decoder_create
-#    }
-#    enabled libopus_encoder && {
-#        require_pkg_config libopus opus opus_multistream.h opus_multistream_surround_encoder_create
-#    }
-# }
+enabled libopus           && {
+    enabled libopus_decoder && {
+        require_pkg_config libopus opus opus_multistream.h opus_multistream_decoder_create
+    }
+    enabled libopus_encoder && {
+        require_pkg_config libopus opus opus_multistream.h opus_multistream_surround_encoder_create
+    }
+}
 enabled libpulse          && require_pkg_config libpulse libpulse pulse/pulseaudio.h pa_context_new
 enabled librabbitmq       && require_pkg_config librabbitmq "librabbitmq >= 0.7.1" amqp.h amqp_new_connection
 enabled librav1e          && require_pkg_config librav1e "rav1e >= 0.4.0" rav1e.h rav1e_context_new