summaryrefslogtreecommitdiff
path: root/media-libs/cubeb/files/cubeb-0.2_p20231121-automagic.patch
blob: 00d6ad3eb2d49c29fda4485adde633577ff374fe (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
27
28
29
30
31
32
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -182,3 +182,5 @@
 
+  if(CHECK_PULSE)
   pkg_check_modules(libpulse IMPORTED_TARGET libpulse)
+  endif()
   if(libpulse_FOUND)
@@ -189,3 +191,5 @@
 
+  if(CHECK_ALSA)
   pkg_check_modules(alsa IMPORTED_TARGET alsa)
+  endif()
   if(alsa_FOUND)
@@ -196,3 +200,5 @@
 
+  if(CHECK_JACK)
   pkg_check_modules(jack IMPORTED_TARGET jack)
+  endif()
   if(jack_FOUND)
@@ -203,3 +209,5 @@
 
+  if(CHECK_SNDIO)
   check_include_files(sndio.h USE_SNDIO)
+  endif()
   if(USE_SNDIO)
@@ -209,3 +217,5 @@
 
+  if(0)
   check_include_files(aaudio/AAudio.h USE_AAUDIO)
+  endif()
   if(USE_AAUDIO)