Warning, /multimedia/kwave/cmake/KwavePulseAudioSupport.cmake is written in an unsupported language. File is not indexed.

0001 #############################################################################
0002 ##    Kwave                - cmake/KwavePulseAudioSupport.cmake
0003 ##                           -------------------
0004 ##    begin                : Mon Sep 28 2009
0005 ##    copyright            : (C) 2009 by Thomas Eschenbacher
0006 ##    email                : Thomas.Eschenbacher@gmx.de
0007 #############################################################################
0008 #
0009 #############################################################################
0010 #                                                                           #
0011 # Redistribution and use in source and binary forms, with or without        #
0012 # modification, are permitted provided that the following conditions        #
0013 # are met:                                                                  #
0014 #                                                                           #
0015 # 1. Redistributions of source code must retain the above copyright         #
0016 #    notice, this list of conditions and the following disclaimer.          #
0017 # 2. Redistributions in binary form must reproduce the above copyright      #
0018 #    notice, this list of conditions and the following disclaimer in the    #
0019 #    documentation and/or other materials provided with the distribution.   #
0020 #                                                                           #
0021 # For details see the accompanying cmake/COPYING-CMAKE-SCRIPTS file.        #
0022 #                                                                           #
0023 #############################################################################
0024 
0025 OPTION(WITH_PULSEAUDIO "enable playback/recording via PulseAudio [default=on]" ON)
0026 
0027 IF (WITH_PULSEAUDIO)
0028 
0029     INCLUDE(FindPkgConfig)
0030     INCLUDE(UsePkgConfig)
0031 
0032     PKG_CHECK_MODULES(PULSEAUDIO REQUIRED libpulse>=0.9.16)
0033 
0034     MESSAGE(STATUS "Found PulseAudio library in ${PULSEAUDIO_LIBDIR}")
0035     MESSAGE(STATUS "Found PulseAudio headers in ${PULSEAUDIO_INCLUDEDIR}")
0036 
0037     SET(HAVE_PULSEAUDIO_SUPPORT  ON CACHE BOOL "enable PulseAudio support")
0038 
0039 ENDIF (WITH_PULSEAUDIO)
0040 
0041 #############################################################################
0042 #############################################################################