+++ /dev/null
-#!/bin/sh -e
-
-./configure \
- --prefix=/usr \
- --program-prefix=b \
- --enable-btyacc
-
-make
-make DESTDIR="$1" install
-
-ln -s "/usr/bin/byacc" "$1/usr/bin/yacc"
-ln -s "/usr/bin/byacc" "$1/usr/bin/bison"
+++ /dev/null
-8b8f258eb22a4eae994ee374a712dd08e023cde1c39b373e8db8ba7806c50585
+++ /dev/null
-https://invisible-mirror.net/archives/byacc/byacc-20210328.tgz
+++ /dev/null
-20210328 1
--- /dev/null
+#!/bin/sh -e
+
+./configure \
+ --prefix=/usr \
+ --program-prefix=b \
+ --enable-btyacc
+
+make
+make DESTDIR="$1" install
+
+ln -s "/usr/bin/byacc" "$1/usr/bin/yacc"
--- /dev/null
+8b8f258eb22a4eae994ee374a712dd08e023cde1c39b373e8db8ba7806c50585
--- /dev/null
+https://invisible-mirror.net/archives/byacc/byacc-20210328.tgz
--- /dev/null
+20210328 1
--- /dev/null
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+sed -i \
+ -e 's/win_bison/byacc/g' \
+ -e 's/--version/-V/g' \
+ -e 's/2.4/0/g' \
+ -e 's/-1/-2/g' \
+ gst/parse/meson.build
+
+sed -i 's/yfile, '\''-o'\'', cfile/'\''-o'\'', cfile, yfile/g' \
+ gst/parse/gen_grammar.py.in
+
+meson \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
+ -Dbuildtype=release \
+ -Ddbghelp=disabled \
+ -Dintrospection=disabled \
+ -Dexamples=disabled \
+ -Dgtk_doc=disabled \
+ . output
+
+ninja -C output
+ninja -C output install
--- /dev/null
+9aeec99b38e310817012aa2d1d76573b787af47f8a725a65b833880a094dfbc5
--- /dev/null
+byacc make
+glib
+meson make
--- /dev/null
+https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.18.4.tar.xz
--- /dev/null
+#!/bin/sh -e
+
+# Install python-mako which is solely needed for mesa
+# and thus contained in this build.
+{
+ cd mako
+
+ python3 setup.py build
+ python3 setup.py install \
+ --prefix=/usr \
+ --root="$PWD/dist"
+
+ # Use a glob to avoid having to figure out the Python
+ # version for the path below.
+ cd dist/usr/lib/python*/site-packages
+
+ # Set the PYTHONPATH so python knows where to find mako.
+ # The one liner simply appends the existing path and
+ # handles the case where an unset PYTHONPATH breaks
+ # python as it will only contain our new addition.
+ PYTHONPATH=$PWD:$(python -c "import sys; print(':'.join(sys.path))")
+
+ cd -; cd ..
+}
+
+export PYTHONPATH
+export DESTDIR="$1"
+export CFLAGS="$CFLAGS -DGLX_X86_READONLY_TEXT"
+
+# Fix issues with musl and firefox.
+# https://bugs.freedesktop.org/show_bug.cgi?id=35268
+# https://github.com/mesa3d/mesa/commit/9f37c9903b87f86a533bfaffa72f0ecb285b02b2
+sed -i "/pre_args += '-DUSE_ELF_TLS'/d" meson.build
+
+python3 bin/git_sha1_gen.py --output include/git_sha1.h
+
+meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ -Dplatforms=x11 \
+ -Dzstd=enabled \
+ . output
+
+ninja -C output
+ninja -C output install
--- /dev/null
+1f177f44098164b65731c5ded4c928fd58b14f6c9d2087aa0e37bc79bf79e90b
+17831f0b7087c313c0ffae2bcbbd3c1d5ba9eeac9c38f2eb7b50e8c99fe9d5ab
--- /dev/null
+byacc make
+expat
+flex make
+libX11
+libXdamage
+libXext
+libXrandr
+libXrender
+libXxf86vm
+libdrm
+libelf
+libxcb
+libxshmfence
+linux-headers make
+llvm
+m4 make
+meson make
+pkgconf make
+python make
+xorgproto
+zlib
+zstd
--- /dev/null
+https://archive.mesa3d.org/mesa-21.1.4.tar.xz
+https://files.pythonhosted.org/packages/source/M/Mako/Mako-1.1.4.tar.gz mako