Imported Upstream version 0.14.2+dfsg1

This commit is contained in:
Sebastian Ramacher 2016-05-24 21:53:01 +02:00
parent fb3990e9e5
commit 41a01dbf05
529 changed files with 25112 additions and 2336 deletions

View file

@ -0,0 +1,34 @@
project(linux-alsa)
if(DISABLE_ALSA)
message(STATUS "ALSA support disabled")
return()
endif()
find_package(ALSA)
if(NOT ALSA_FOUND AND ENABLE_ALSA)
message(FATAL_ERROR "ALSA not found but set as enabled")
elseif(NOT ALSA_FOUND)
message(STATUS "ALSA not found, disabling ALSA plugin")
return()
endif()
include_directories(
SYSTEM "${CMAKE_SOURCE_DIR}/libobs"
${ALSA_INCLUDE_DIR}
)
set(linux-alsa_SOURCES
linux-alsa.c
alsa-input.c
)
add_library(linux-alsa MODULE
${linux-alsa_SOURCES}
)
target_link_libraries(linux-alsa
libobs
${ALSA_LIBRARY}
)
install_obs_plugin_with_data(linux-alsa data)