RADV requires libdrm-2.4.100 but the distrib package is too old.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
UPSTREAM_REPO: mesa/mesa
DEBIAN_TAG: "amd64-2019-11-13-2"
DEBIAN_TEST_TAG: "amd64-test-2019-11-12-2"
- DEBIAN_ARM64_TAG: "arm64v8-2019-11-06"
+ DEBIAN_ARM64_TAG: "arm64v8-2019-11-13"
DEBIAN_ARM64_TEST_TAG: "arm64v8-test-2019-11-12-2"
STRETCH_TAG: "2019-09-18"
DEBIAN_VERSION: buster-slim
flex \
g++ \
gettext \
- libdrm-dev \
libdrm-dev:armhf \
libelf-dev \
libelf-dev:armhf \
wget \
zlib1g-dev
+# dependencies where we want a specific version
+export LIBDRM_VERSION=libdrm-2.4.100
+
+wget https://dri.freedesktop.org/libdrm/$LIBDRM_VERSION.tar.bz2
+tar -xvf $LIBDRM_VERSION.tar.bz2 && rm $LIBDRM_VERSION.tar.bz2
+cd $LIBDRM_VERSION; meson build -D vc4=true -D freedreno=true -D etnaviv=true; ninja -j4 -C build install; cd ..
+rm -rf $LIBDRM_VERSION
+
############### Generate cross build file for Meson
cross_file="/cross_file-armhf.txt"