|
|
@ -484,6 +484,8 @@ BuildRequires: libstdc++-devel, openssl-devel
|
|
|
|
# Fedora tries to use system libs whenever it can.
|
|
|
|
# Fedora tries to use system libs whenever it can.
|
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
BuildRequires: dbus-glib-devel
|
|
|
|
BuildRequires: dbus-glib-devel
|
|
|
|
|
|
|
|
# For eu-strip
|
|
|
|
|
|
|
|
BuildRequires: elfutils
|
|
|
|
BuildRequires: elfutils-libelf-devel
|
|
|
|
BuildRequires: elfutils-libelf-devel
|
|
|
|
BuildRequires: flac-devel
|
|
|
|
BuildRequires: flac-devel
|
|
|
|
%if 0%{?bundlefreetype}
|
|
|
|
%if 0%{?bundlefreetype}
|
|
|
@ -1560,6 +1562,11 @@ sed -i '/aarch64)/ a \ exec "/usr/bin/ninja-build" "$@";;\' ../depot_tool
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
sed -i 's|exec "${THIS_DIR}/ninja-linux${LONG_BIT}"|exec "/usr/bin/ninja-build"|g' ../depot_tools/ninja
|
|
|
|
sed -i 's|exec "${THIS_DIR}/ninja-linux${LONG_BIT}"|exec "/usr/bin/ninja-build"|g' ../depot_tools/ninja
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Get rid of the pre-built eu-strip binary, it is x86_64 and of mysterious origin
|
|
|
|
|
|
|
|
rm -rf buildtools/third_party/eu-strip/bin/eu-strip
|
|
|
|
|
|
|
|
# Replace it with a symlink to the Fedora copy
|
|
|
|
|
|
|
|
ln -s %{_bindir}/eu-strip buildtools/third_party/eu-strip/bin/eu-strip
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
. /opt/rh/devtoolset-%{dts_version}/enable
|
|
|
|
. /opt/rh/devtoolset-%{dts_version}/enable
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|