mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-23 01:44:35 +08:00
Merge pull request #10875 from akallabeth/rpm-fdk
[ci,nightly] add fdk-aac support for rpm
This commit is contained in:
commit
c4559c39c3
@ -39,6 +39,7 @@ Build-Depends:
|
||||
libswresample-dev | libavresample-dev,
|
||||
libusb-1.0-0-dev,
|
||||
libudev-dev,
|
||||
libfdk-aac-dev,
|
||||
libsoxr-dev,
|
||||
libdbus-glib-1-dev,
|
||||
libpam0g-dev,
|
||||
|
@ -11,6 +11,7 @@ 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 \
|
||||
|
@ -121,6 +121,10 @@ BuildRequires: libjpeg-turbo-devel
|
||||
BuildRequires: wayland-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} || 0%{?rhel} > 8
|
||||
BuildRequires: (fdk-aac-devel or fdk-aac-free-devel)
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} >= 36 || 0%{?rhel} >= 8
|
||||
BuildRequires: (ffmpeg-free-devel or ffmpeg-devel)
|
||||
%endif
|
||||
@ -176,6 +180,9 @@ cp %{_topdir}/SOURCES/source_version freerdp-nightly-%{version}/.source_version
|
||||
-DWINPR_USE_LEGACY_RESOURCE_DIR=OFF \
|
||||
-DRDTK_FORCE_STATIC_BUILD=ON \
|
||||
-DUWAC_FORCE_STATIC_BUILD=ON \
|
||||
%if 0%{?fedora} || 0%{?rhel} > 8
|
||||
-DWITH_FDK_AAC=ON \
|
||||
%endif
|
||||
%if 0%{?fedora} >= 36 || 0%{?rhel} >= 9 || 0%{?suse_version}
|
||||
-DWITH_FFMPEG=ON \
|
||||
-DWITH_DSP_FFMPEG=ON \
|
||||
|
Loading…
Reference in New Issue
Block a user