This commit is contained in:
Daniel Langbein 2022-05-15 14:39:36 +02:00
parent 53af0a7292
commit a0a1793b15
2 changed files with 10 additions and 13 deletions

View File

@ -10,25 +10,24 @@ url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
depends=()
optdepends=()
# DRI driver for 3D acceleration.
depends+=(mesa)
optdepends+=('lib32-mesa: 32bit app support')
# DDX driver (which provides 2D acceleration in Xorg).
depends+=(xf86-video-amdgpu)
# Vulkan support.
depends+=(vulkan-radeon)
optdepends+=('lib32-vulkan-radeon: 32bit app support')
# HW-vide-acceleration: VA-API.
depends+=(libva-mesa-driver)
optdepends+=('lib32-libva-mesa-driver: 32bit app support')
# HW-vide-acceleration: VDPAU.
depends+=(mesa-vdpau)
optdepends+=('lib32-mesa-vdpau: 32bit app support')
# holo
depends+=('holo' 'git' 'base') # holo depends on base (otherwise "holo apply" may fail on initial system installation) and git (git-diff)
optdepends=()
optdepends+=('lib32-mesa: 32bit app support')
optdepends+=('lib32-vulkan-radeon: 32bit app support')
optdepends+=('lib32-libva-mesa-driver: 32bit app support')
optdepends+=('lib32-mesa-vdpau: 32bit app support')
makedepends=('git')
provides=('de-p1st-gpu') # implicitly provides $pkgname
install='.install'

View File

@ -38,18 +38,17 @@ From gentoo wiki one should use AMDGPU e.g. for:
```shell
# DRI driver for 3D acceleration.
depends+=(mesa)
optdepends+=('lib32-mesa: 32bit app support')
# DDX driver (which provides 2D acceleration in Xorg).
depends+=(xf86-video-amdgpu)
# Vulkan support.
depends+=(vulkan-radeon)
optdepends+=('lib32-vulkan-radeon: 32bit app support')
# HW-vide-acceleration: VA-API.
depends+=(libva-mesa-driver)
optdepends+=('lib32-libva-mesa-driver: 32bit app support')
# HW-vide-acceleration: VDPAU.
depends+=(mesa-vdpau)
optdepends+=('lib32-mesa: 32bit app support')
optdepends+=('lib32-vulkan-radeon: 32bit app support')
optdepends+=('lib32-libva-mesa-driver: 32bit app support')
optdepends+=('lib32-mesa-vdpau: 32bit app support')
```
@ -236,17 +235,16 @@ Quote about the opengl part (from archwiki -> AMDGPU):
```shell
# Proprietary OpenGL implementation.
depends+=(amdgpu-pro-libgl)
optdepends+=('lib32-amdgpu-pro-libgl: 32bit app support')
# Proprietary OpenCL implementation.
# Alternatively: `opencl-mesa`.
depends+=(opencl-amd)
# Proprietary Vulkan implementation.
depends+=(vulkan-amdgpu-pro)
optdepends+=('lib32-vulkan-amdgpu-pro: 32bit app support')
# HW-video-acceleration:
# - AMDGPU PRO proprietary driver is built on top of AMDGPU driver and supports both VA-API and VDPAU in addition to AMF.
#
# Advanced Media Framework implementation.
depends+=(amf-amdgpu-pro)
optdepends+=('lib32-amdgpu-pro-libgl: 32bit app support')
optdepends+=('lib32-vulkan-amdgpu-pro: 32bit app support')
```