|
|
@ -425,7 +425,8 @@ Source17: GardinerModBug.ttf
|
|
|
|
Source18: GardinerModCat.ttf
|
|
|
|
Source18: GardinerModCat.ttf
|
|
|
|
# RHEL 7 needs newer nodejs
|
|
|
|
# RHEL 7 needs newer nodejs
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
Source19: https://nodejs.org/dist/v10.15.3/node-v10.15.3-linux-x64.tar.gz
|
|
|
|
Source19: https://nodejs.org/dist/latest-v12.x/node-v12.22.6-linux-x64.tar.xz
|
|
|
|
|
|
|
|
Source21: https://nodejs.org/dist/latest-v12.x/node-v12.22.6-linux-arm64.tar.xz
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
# Bring xcb-proto with us (might need more than python on EPEL?)
|
|
|
|
# Bring xcb-proto with us (might need more than python on EPEL?)
|
|
|
|
Source20: https://www.x.org/releases/individual/proto/xcb-proto-1.14.tar.xz
|
|
|
|
Source20: https://www.x.org/releases/individual/proto/xcb-proto-1.14.tar.xz
|
|
|
@ -479,8 +480,8 @@ BuildRequires: minizip-compat-devel
|
|
|
|
# BuildRequires: minizip-devel
|
|
|
|
# BuildRequires: minizip-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
# RHEL 7's nodejs is too old
|
|
|
|
# RHEL 7|8's nodejs is too old
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
%if 0%{?rhel} <= 8
|
|
|
|
# Use bundled.
|
|
|
|
# Use bundled.
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
BuildRequires: nodejs
|
|
|
|
BuildRequires: nodejs
|
|
|
@ -1228,10 +1229,18 @@ CHROMIUM_HEADLESS_GN_DEFINES+=' use_cups=false use_dbus=false use_gio=false use_
|
|
|
|
CHROMIUM_HEADLESS_GN_DEFINES+=' use_pulseaudio=false use_udev=false use_gtk=false use_glib=false use_x11=false'
|
|
|
|
CHROMIUM_HEADLESS_GN_DEFINES+=' use_pulseaudio=false use_udev=false use_gtk=false use_glib=false use_x11=false'
|
|
|
|
export CHROMIUM_HEADLESS_GN_DEFINES
|
|
|
|
export CHROMIUM_HEADLESS_GN_DEFINES
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
%if 0%{?rhel} <= 8
|
|
|
|
pushd third_party/node/linux
|
|
|
|
pushd third_party/node/linux
|
|
|
|
|
|
|
|
%ifarch x86_64
|
|
|
|
tar xf %{SOURCE19}
|
|
|
|
tar xf %{SOURCE19}
|
|
|
|
mv node-v10.15.3-linux-x64 node-linux-x64
|
|
|
|
mv node-v12.22.6-linux-x64 node-linux-x64
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch aarch64
|
|
|
|
|
|
|
|
tar xf %{SOURCE21}
|
|
|
|
|
|
|
|
mv node-v12.22.6-linux-arm64 node-linux-arm64
|
|
|
|
|
|
|
|
# This is weird, but whatever
|
|
|
|
|
|
|
|
ln -s node-linux-arm64 node-linux-x64
|
|
|
|
|
|
|
|
%endif
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
mkdir -p third_party/node/linux/node-linux-x64/bin
|
|
|
|
mkdir -p third_party/node/linux/node-linux-x64/bin
|
|
|
|