Debian Codegraph @

subprojects/fontconfig/.gitlab-ci/fedora-install.sh

raw symbols SCIP
1 #! /bin/bash
2
3 set -ex
4
5 # Disable fedora-cisco-openh264 repo to avoid signature verification fail during
6 # signature migration for new release.
7 # We don't need it.
8 dnf --version|grep dnf5 > /dev/null || ret=$?
9 if [[ $ret -eq 0 ]]; then
10 dnf -y install dnf5-plugins
11 dnf -y config-manager setopt fedora-cisco-openh264.enabled=0
12 else
13 dnf -y install dnf-plugins-core
14 dnf -y config-manager --set-disabled fedora-cisco-openh264
15 fi
16
17 # workaround to avoid conflict between systemd and systemd-standalone-sysusers
18 dnf -y swap systemd-standalone-sysusers systemd
19 dnf -y install wine
20
21 # Install Android NDK
22 dnf -y install unzip
23 mkdir /android
24 pushd /android
25 curl -O https://dl.google.com/android/repository/android-ndk-r28-linux.zip
26 unzip android-ndk-r28-linux.zip
27 ln -sf android-ndk-r28 ndk
28 rm android-ndk-r28-linux.zip
29 popd
30
31 python3 build-aux/fetch-testfonts.py --target-dir /testfonts