wok-current view mesa-va/receipt @ rev 25712

Use symlink for libxvmc-mesa
author Stanislas Leduc <shann@slitaz.org>
date Mon Jun 10 20:42:21 2024 +0000 (6 months ago)
parents
children 5926178cd6fa
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa-va"
4 VERSION="21.3.5"
5 CATEGORY="x-window"
6 SHORT_DESC="Mesa VA-API drivers."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.mesa3d.org/"
11 DEPENDS="llvm-lib libdrm-radeon libdrm-nouveau libdrm-amdgpu"
12 WANTED="mesa"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/lib/dri
18 cp -a $install/usr/lib/dri/nouveau_drv_video.so $fs/usr/lib/dri/va_drv_video.so
20 for drv in "nouveau" "r300" "r600" "radeonsi"; do
21 ln -s va_drv_video.so $fs/usr/lib/dri/"$drv"_drv_video.so
22 done
23 }