mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-21 02:42:18 +00:00
rebased from live ebuild w/ backported patches and libsndfile still required. 4.6 branch supports pipewire CMAKE_QA_COMPAT_SKIP : CMakeLists.txt used are >=3.16 for upstream and 3.12 for KDDockWidgets Closes: https://bugs.gentoo.org/952950 Closes: https://bugs.gentoo.org/958256 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/44297 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
16 lines
712 B
Diff
16 lines
712 B
Diff
unbundle lame
|
|
--- a/src/framework/audio/worker/audio_worker.cmake
|
|
+++ b/src/framework/audio/worker/audio_worker.cmake
|
|
@@ -159,8 +159,10 @@ if (MUSE_MODULE_AUDIO_EXPORT)
|
|
${CMAKE_CURRENT_LIST_DIR}/internal/export/wavencoder.h
|
|
)
|
|
|
|
- add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../thirdparty/lame lame EXCLUDE_FROM_ALL)
|
|
- list(APPEND AUDIO_WORKER_LINK lame)
|
|
+ find_package(PkgConfig REQUIRED)
|
|
+ pkg_check_modules(lame REQUIRED IMPORTED_TARGET lame)
|
|
+ list(APPEND AUDIO_WORKER_LINK PkgConfig::lame)
|
|
+ list(APPEND MODULE_INCLUDE_PRIVATE ${lame_INCLUDE_DIRS})
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/SetupOpusEnc.cmake)
|
|
list(APPEND AUDIO_WORKER_LINK ${LIBOPUSENC_TARGETS})
|