@@ -29,23 +29,23 @@ if [[ "$ARCH" == "amd64" || "$ARCH" == "arm64" ||"$ARCH" == "ppc64le" ]]; then
29
29
export ELECTRON_SKIP_BINARY_DOWNLOAD=1 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
30
30
31
31
# install build dependencies
32
- # dnf install -y \
33
- # git automake
34
32
dnf install -y jq patch libtool rsync gettext gcc-toolset-13 krb5-devel libX11-devel
35
33
36
34
. /opt/rh/gcc-toolset-13/enable
37
35
38
36
# build libxkbfile
39
- git clone https://gitlab.freedesktop.org/xorg/util/macros.git
40
- cd macros/
41
- ./autogen.sh && make install -j ${MAX_JOBS}
42
- export ACLOCAL_PATH=/usr/local/share/aclocal/
43
- cd .. && rm -rf macros
44
- git clone https://gitlab.freedesktop.org/xorg/lib/libxkbfile.git
45
- cd libxkbfile/
46
- ./autogen.sh && make install -j ${MAX_JOBS}
47
- cd .. && rm -rf libxkbfile
48
- export PKG_CONFIG_PATH=$( find / -type d -name " pkgconfig" 2> /dev/null | tr ' \n' ' :' )
37
+ export UTIL_MACROS_VERSION=1.20.2
38
+ curl -L https://www.x.org/releases/individual/util/util-macros-${UTIL_MACROS_VERSION} .tar.gz | tar xz
39
+ cd util-macros-${UTIL_MACROS_VERSION} /
40
+ ./configure --prefix=/usr && make install -j ${MAX_JOBS}
41
+ cd .. && rm -rf util-macros-${UTIL_MACROS_VERSION} /
42
+
43
+ export X_KB_FILE_VERSION=1.1.3
44
+ curl -L https://www.x.org/releases/individual/lib/libxkbfile-${X_KB_FILE_VERSION} .tar.gz | tar xz
45
+ cd libxkbfile-${X_KB_FILE_VERSION} /
46
+ ./configure --prefix=/usr && make install -j ${MAX_JOBS}
47
+ cd .. && rm -rf libxkbfile-${X_KB_FILE_VERSION} /
48
+ export PKG_CONFIG_PATH=$( find / -type d -name " pkgconfig" 2> /dev/null | tr ' \n' ' :' )
49
49
50
50
# install nfpm to build rpm
51
51
NFPM_VERSION=$( curl -s " https://api.github.com/repos/goreleaser/nfpm/releases/latest" | jq -r ' .tag_name' ) \
0 commit comments