[ci,rpm] enable dynamic openh264 support

This commit is contained in:
akallabeth
2025-01-30 11:21:06 +01:00
parent 304dc515ff
commit ceafd94aef

View File

@@ -123,6 +123,7 @@ BuildRequires: wayland-devel
%if 0%{?fedora} || 0%{?rhel} > 8
BuildRequires: (fdk-aac-devel or fdk-aac-free-devel)
BuildRequires: (noopenh264-devel or openh264-devel)
%endif
%if 0%{?fedora} >= 36 || 0%{?rhel} >= 8
@@ -155,7 +156,8 @@ cp %{_topdir}/SOURCES/source_version freerdp-nightly-%{version}/.source_version
%build
%cmake -DCMAKE_SKIP_RPATH=FALSE \
%cmake \
-DCMAKE_SKIP_RPATH=FALSE \
-DCMAKE_SKIP_INSTALL_RPATH=FALSE \
-DWITH_FREERDP_DEPRECATED_COMMANDLINE=ON \
-DWITH_PULSE=ON \
@@ -164,6 +166,8 @@ cp %{_topdir}/SOURCES/source_version freerdp-nightly-%{version}/.source_version
-DWITH_PCSC=ON \
-DWITH_JPEG=ON \
-DWITH_OPUS=ON \
-DWITH_OPENH264=ON \
-DWITH_OPENH264_LOADING=ON \
-DWITH_INTERNAL_RC4=ON \
-DWITH_INTERNAL_MD4=ON \
-DWITH_INTERNAL_MD5=ON \