Replaced volume with event-based version for pipewire

This commit is contained in:
2024-07-08 00:06:34 +02:00
parent 2b8f18c58c
commit b4675cc0b3
7 changed files with 29071 additions and 49 deletions

View File

@@ -5,11 +5,14 @@ find_package(PkgConfig)
set(POSITION_INDEPENDENT_CODE YES)
set(C_STANDARD 11)
add_compile_options(-Wall -Wextra -pedantic)
add_compile_options(-Wall -Wextra)
pkg_check_modules(CONSTRAIN REQUIRED x11 xi xfixes xrandr)
add_library(constrain SHARED lib/constrain.c)
target_link_libraries(constrain ${CONSTRAIN_LIBRARIES})
target_include_directories(constrain PUBLIC ${CONSTRAIN_INCLUDE_DIRS})
pkg_check_modules(PWCALL REQUIRED luajit gobject-2.0)
add_library(pwcall SHARED lib/pwcall.cxx)
target_link_libraries(pwcall ${PWCALL_LIBRARIES})
target_include_directories(pwcall PUBLIC ${PWCALL_INCLUDE_DIRS})