diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-31 11:31:24 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-31 11:31:24 +0000 |
commit | a191c1df758a6ca180d421e74c765e119701e6da (patch) | |
tree | 082dfc73f8b61005607a0ddc96682e20a09d7938 /user/mesa | |
parent | ad279d7b310bd4ab294d140bf00d8e220445a2aa (diff) | |
download | packages-a191c1df758a6ca180d421e74c765e119701e6da.tar.gz packages-a191c1df758a6ca180d421e74c765e119701e6da.tar.bz2 packages-a191c1df758a6ca180d421e74c765e119701e6da.tar.xz packages-a191c1df758a6ca180d421e74c765e119701e6da.zip |
user/mesa: Split DRI drivers correctly
Diffstat (limited to 'user/mesa')
-rw-r--r-- | user/mesa/APKBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/user/mesa/APKBUILD b/user/mesa/APKBUILD index c1f74e159..b6d37ceab 100644 --- a/user/mesa/APKBUILD +++ b/user/mesa/APKBUILD @@ -2,7 +2,7 @@ pkgname=mesa pkgver=19.3.3 _llvmver=8 -pkgrel=0 +pkgrel=1 pkgdesc="Mesa DRI OpenGL library" url="https://www.mesa3d.org" arch="all" @@ -138,12 +138,15 @@ dri() { mesa-dri-nouveau mesa-dri-swrast mesa-dri-tegra mesa-dri-vc4 mesa-dri-virtio mesa-dri-vmwgfx" provides="$replaces" - install -d "$subpkgdir"/usr/lib + install -d "$subpkgdir"/usr/lib/xorg/modules install -d "$subpkgdir"/usr/share/vulkan - install -d "$subpkgdir"/$_dri_driverdir mv "$pkgdir"/usr/lib/dri "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/lib/xorg/modules/dri "$subpkgdir"/usr/lib/xorg/modules/ + mv "$pkgdir"/usr/share/drirc.d "$subpkgdir"/usr/share/ # XvMC drivers mv "$pkgdir"/usr/lib/libXvMC*.so* "$subpkgdir"/usr/lib/ + # support non-Vulkan arches + mv "$pkgdir"/usr/lib/libvulkan*.so* "$subpkgdir"/usr/lib/ || true mv "$pkgdir"/usr/lib/vdpau "$subpkgdir"/usr/lib/ mv "$pkgdir"/usr/share/vulkan/icd.d "$subpkgdir"/usr/share/vulkan/ } |