mirror of
https://github.com/KDE/krfb
synced 2026-07-01 07:41:17 -07:00
Revert "Improve PipeWire code"
This reverts commiteb1dc503bd. Revert "Add dma-buf defines to build dma-buf support everywhere" This reverts commit8f0de62401. Revert "Drop support for PipeWire 0.2" This reverts commit028ac099ea. These were accidentally pushed without review. They were meant to be pushed to my fork instead.
This commit is contained in:
@@ -62,8 +62,8 @@
|
||||
# in the FIND_PATH() and FIND_LIBRARY() calls
|
||||
find_package(PkgConfig QUIET)
|
||||
|
||||
pkg_search_module(PKG_PipeWire QUIET libpipewire-0.3)
|
||||
pkg_search_module(PKG_Spa QUIET libspa-0.2)
|
||||
pkg_search_module(PKG_PipeWire QUIET libpipewire-0.3 libpipewire-0.2)
|
||||
pkg_search_module(PKG_Spa QUIET libspa-0.2 libspa-0.1)
|
||||
|
||||
set(PipeWire_DEFINITIONS "${PKG_PipeWire_CFLAGS}" "${PKG_Spa_CFLAGS}")
|
||||
set(PipeWire_VERSION "${PKG_PipeWire_VERSION}")
|
||||
@@ -76,13 +76,6 @@ find_path(PipeWire_INCLUDE_DIRS
|
||||
${PKG_PipeWire_INCLUDE_DIRS}/pipewire-0.3
|
||||
)
|
||||
|
||||
find_library(PipeWire_LIBRARIES
|
||||
NAMES
|
||||
pipewire-0.3
|
||||
HINTS
|
||||
${PKG_PipeWire_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
find_path(Spa_INCLUDE_DIRS
|
||||
NAMES
|
||||
spa/param/props.h
|
||||
@@ -91,6 +84,14 @@ find_path(Spa_INCLUDE_DIRS
|
||||
${PKG_Spa_INCLUDE_DIRS}/spa-0.2
|
||||
)
|
||||
|
||||
find_library(PipeWire_LIBRARIES
|
||||
NAMES
|
||||
pipewire-0.3
|
||||
pipewire-0.2
|
||||
HINTS
|
||||
${PKG_PipeWire_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(PipeWire
|
||||
FOUND_VAR
|
||||
|
||||
Reference in New Issue
Block a user