Merge pull request #10875 from akallabeth/rpm-fdk

[ci,nightly] add fdk-aac support for rpm
This commit is contained in:
akallabeth 2024-11-20 10:55:48 +01:00 committed by GitHub
commit c4559c39c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 0 deletions

View File

@ -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,

View File

@ -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 \

View File

@ -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 \