From a0a1793b15eb0da0e1343c8eefc5acecf6ecaa33 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sun, 15 May 2022 14:39:36 +0200 Subject: [PATCH] reorder --- pkg/de-p1st-gpu-amdgpu/PKGBUILD | 11 +++++------ pkg/de-p1st-gpu-amdgpu/README.md | 12 +++++------- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/pkg/de-p1st-gpu-amdgpu/PKGBUILD b/pkg/de-p1st-gpu-amdgpu/PKGBUILD index b434ef0..e6b2f26 100644 --- a/pkg/de-p1st-gpu-amdgpu/PKGBUILD +++ b/pkg/de-p1st-gpu-amdgpu/PKGBUILD @@ -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' diff --git a/pkg/de-p1st-gpu-amdgpu/README.md b/pkg/de-p1st-gpu-amdgpu/README.md index 02cefa9..9156765 100644 --- a/pkg/de-p1st-gpu-amdgpu/README.md +++ b/pkg/de-p1st-gpu-amdgpu/README.md @@ -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') ```