summaryrefslogtreecommitdiffstats
path: root/core/modules/xorg
diff options
context:
space:
mode:
authorSimon Rettberg2022-03-10 16:28:03 +0100
committerSimon Rettberg2022-03-10 16:28:03 +0100
commitdbec3496a74df9ef8aea18b1c2c1202611513582 (patch)
treedd32871be84b42807451ed5e45ad672d60f0f809 /core/modules/xorg
parent[splashtool] Fix reading size from ppm with comments (diff)
downloadmltk-dbec3496a74df9ef8aea18b1c2c1202611513582.tar.gz
mltk-dbec3496a74df9ef8aea18b1c2c1202611513582.tar.xz
mltk-dbec3496a74df9ef8aea18b1c2c1202611513582.zip
[xorg] Install libgl1-mesa-dri 22.0-rc3 to avoid glitches
Diffstat (limited to 'core/modules/xorg')
-rw-r--r--core/modules/xorg/module.build7
-rw-r--r--core/modules/xorg/module.conf.ubuntu3
2 files changed, 10 insertions, 0 deletions
diff --git a/core/modules/xorg/module.build b/core/modules/xorg/module.build
index 3e730932..e720451a 100644
--- a/core/modules/xorg/module.build
+++ b/core/modules/xorg/module.build
@@ -44,6 +44,13 @@ build() {
find . -type f -name "*_drv.so" -exec cp {} "${MODULE_BUILD_DIR}/usr/lib/xorg/modules/drivers" \;
done
fi
+ # Extra .deb packages
+ local deb dir
+ for deb in $REQUIRED_DEB_PACKAGES; do
+ dir="${MODULE_WORK_DIR}/${deb##*/}"
+ download "$deb" "$dir"
+ apt install -y "$dir" || perror "apt install $dir failed."
+ done
}
post_copy() {
diff --git a/core/modules/xorg/module.conf.ubuntu b/core/modules/xorg/module.conf.ubuntu
index 99c1f446..756b5016 100644
--- a/core/modules/xorg/module.conf.ubuntu
+++ b/core/modules/xorg/module.conf.ubuntu
@@ -82,3 +82,6 @@ REQUIRED_CONTENT_PACKAGES="
@xserver-xorg-video-s3$UBUNTU_XORG_PKG_SUFFIX
@xserver-xorg-video-tdfx$UBUNTU_XORG_PKG_SUFFIX
"
+REQUIRED_DEB_PACKAGES="
+ https://launchpad.net/~ernstp/+archive/ubuntu/mesarc/+build/23224488/+files/libgl1-mesa-dri_22.0.0~rc3+git2203042220.716ca39489b~f~mesarc5_amd64.deb
+"