baresip/baresip-2.11.0-no-pulse-simple.patch
2023-01-14 22:44:20 +01:00

45 lines
1.4 KiB
Diff

From dd9106090136304455e9e7a6295a50ed4406e481 Mon Sep 17 00:00:00 2001
From: Robert Scheck <robert@fedoraproject.org>
Date: Sat, 14 Jan 2023 22:41:57 +0100
Subject: [PATCH] cmake/pulse: Remove pulse-simple library lookup
The PulseAudio driver using the simple API has already been
removed via commit 1aac3e3589977d5785a7ecd74bcad0d99e907c99,
commit 5fb1e54e9d11082eba76d3b86d399e1539a0cc8c and commit
d0a47f07214c61102c04c5de0d2b88a94b25b89c.
---
cmake/FindPULSE.cmake | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/cmake/FindPULSE.cmake b/cmake/FindPULSE.cmake
index 3c18353e2..c9e3fd31f 100644
--- a/cmake/FindPULSE.cmake
+++ b/cmake/FindPULSE.cmake
@@ -25,25 +25,13 @@ find_library(PULSE_LIBRARY
PATHS /usr/local/lib /usr/lib
)
-find_library(PULSE_SIMPLE_LIBRARY
- NAME pulse-simple
- HINTS
- "${PULSE_LIBRARY_DIRS}"
- "${PULSE_HINTS}/lib"
- PATHS /usr/local/lib /usr/lib
-)
-
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(PULSE DEFAULT_MSG PULSE_LIBRARY
PULSE_INCLUDE_DIR)
if(PULSE_FOUND)
set( PULSE_INCLUDE_DIRS ${PULSE_INCLUDE_DIR} )
- if(DEFINED PULSE_SIMPLE_LIBRARY)
- set( PULSE_LIBRARIES ${PULSE_LIBRARY} ${PULSE_SIMPLE_LIBRARY} )
- else()
- set( PULSE_LIBRARIES ${PULSE_LIBRARY} )
- endif()
+ set( PULSE_LIBRARIES ${PULSE_LIBRARY} )
else()
set( PULSE_INCLUDE_DIRS )
set( PULSE_LIBRARIES )