Fix build with libevent

i9e
Arkady L. Shane 2 weeks ago
parent 65200ce58c
commit b744c0d510
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -222,6 +222,7 @@
%global bundlelibdrm 1
%global bundlefontconfig 1
%global bundleffmpegfree 1
%global bundlehighway 1
# openjpeg2, need to update to 2.5.x
%global bundlelibopenjpeg2 1
%global bundlelibtiff 1
@ -231,18 +232,11 @@
%global bundleflac 0
%global bundledoubleconversion 0
%global bundlelibXNVCtrl 0
%global bundlehighway 0
%global bundlelibusbx 0
%global bundlelibevent 0
%global bundlelibsecret 0
%global bundleopus 0
%global bundlelcms2 0
# workaround for build error on aarch64
%ifarch aarch64
%global bundlehighway 1
%endif
# workaround for build error
# disable bundleminizip for Fedora > 39 due to switch to minizip-ng
# disable bundleminizip for epel and Fedora39 due to old minizip version
@ -747,9 +741,6 @@ BuildRequires: libXNVCtrl-devel
BuildRequires: git-core
BuildRequires: hwdata
BuildRequires: kernel-headers
%if ! %{bundlelibevent}
BuildRequires: libevent-devel
%endif
BuildRequires: libffi-devel
%if ! %{bundleicu}
@ -936,7 +927,6 @@ Provides: bundled(libaddressinput) = 0
Provides: bundled(libdrm) = 2.4.85
%endif
Provides: bundled(libevent) = 1.4.15
Provides: bundled(libjingle) = 9564
%if %{bundlelibjpeg}
@ -1637,9 +1627,6 @@ system_libs=()
%if ! %{bundlelibdrm}
system_libs+=(libdrm)
%endif
%if ! %{bundlelibevent}
system_libs+=(libevent)
%endif
%if ! %{bundlelibjpeg}
system_libs+=(libjpeg)
%endif

Loading…
Cancel
Save