Add X11 and all of its friends

This commit is contained in:
BtbN
2021-07-14 23:44:25 +02:00
parent 4b9fdabe83
commit f48d93e470
11 changed files with 357 additions and 2 deletions

24
scripts.d/10-xorg-macros.sh Executable file
View File

@ -0,0 +1,24 @@
#!/bin/bash
XORGMACROS_REPO="https://gitlab.freedesktop.org/xorg/util/macros.git"
XORGMACROS_COMMIT="b8766308d2f78bc572abe5198007cf7aeec9b761"
ffbuild_enabled() {
[[ $TARGET != linux* ]] && return -1
return 0
}
ffbuild_dockerlayer() {
to_df "COPY --from=${SELFLAYER} \$FFBUILD_PREFIX/. \$FFBUILD_PREFIX"
to_df "COPY --from=${SELFLAYER} \$FFBUILD_PREFIX/share/aclocal/. /usr/share/aclocal"
}
ffbuild_dockerbuild() {
git-mini-clone "$XORGMACROS_REPO" "$XORGMACROS_COMMIT" xorg-macros
cd xorg-macros
autoreconf -i
./configure --prefix="$FFBUILD_PREFIX"
make -j"$(nproc)"
make install
}