mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-23 01:44:35 +08:00
[ci,nightly] make fdk-aac optional
This commit is contained in:
parent
b29c5dc6e0
commit
c8252a0610
@ -39,7 +39,7 @@ Build-Depends:
|
||||
libswresample-dev | libavresample-dev,
|
||||
libusb-1.0-0-dev,
|
||||
libudev-dev,
|
||||
libfdk-aac-dev,
|
||||
libfdk-aac-dev | libfaad-dev,
|
||||
libsoxr-dev,
|
||||
libdbus-glib-1-dev,
|
||||
libpam0g-dev,
|
||||
|
@ -3,7 +3,11 @@
|
||||
NULL =
|
||||
|
||||
DEB_HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
|
||||
DEB_FDK_SUPPORT=$(shell dpkg-query -s libfdk-aac-dev 2>&1 >/dev/null; echo $$?)
|
||||
|
||||
ifeq ($(DEB_FDK_SUPPORT),0)
|
||||
AAC_SUPPORT = -DWITH_FDK_AAC=ON
|
||||
endif
|
||||
SANITIZE_ADDRESS = -DWITH_SANITIZE_ADDRESS=ON
|
||||
|
||||
DEB_CMAKE_EXTRA_FLAGS := -GNinja \
|
||||
@ -11,7 +15,6 @@ DEB_CMAKE_EXTRA_FLAGS := -GNinja \
|
||||
-DCMAKE_SKIP_INSTALL_RPATH=FALSE \
|
||||
-DWITH_PULSE=ON \
|
||||
-DWITH_CHANNELS=ON \
|
||||
-DWITH_FDK_AAC=ON \
|
||||
-DWITH_AAD=ON \
|
||||
-DWITH_CUPS=ON \
|
||||
-DWITH_KRB5=ON \
|
||||
@ -49,6 +52,7 @@ DEB_CMAKE_EXTRA_FLAGS := -GNinja \
|
||||
-DFREERDP_USE_VENDOR_PRODUCT_CONFIG_DIR=ON \
|
||||
-DSAMPLE_USE_VENDOR_PRODUCT_CONFIG_DIR=ON \
|
||||
-DSDL_USE_VENDOR_PRODUCT_CONFIG_DIR=ON \
|
||||
$(AAC_SUPPORT) \
|
||||
$(SANITIZE_ADDRESS) \
|
||||
$(NULL)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user