mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
36 lines
996 B
Bash
36 lines
996 B
Bash
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
|
_pkgname=gpu-amdgpu
|
|
_reponame=arch
|
|
pkgname="de-p1st-$_pkgname"
|
|
pkgver=0.0.3
|
|
pkgrel=1
|
|
pkgdesc="AMDGPU"
|
|
arch=('any')
|
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
|
license=('MIT')
|
|
|
|
# "DRI driver for 3D acceleration"
|
|
depends=(mesa)
|
|
# "DDX driver for 2D acceleration"
|
|
depends+=(xf86-video-amdgpu)
|
|
# "Vulkan support"
|
|
depends+=(vulkan-radeon)
|
|
# "HW-vide-acceleration: VA-API"
|
|
depends+=(libva-mesa-driver)
|
|
# "HW-vide-acceleration: VDPAU"
|
|
depends+=(mesa-vdpau)
|
|
# holo
|
|
depends+=('holo' 'git' 'base') # without base "holo apply" may fail on initial system installation
|
|
|
|
makedepends=('git')
|
|
provides=('de-p1st-gpu') # implicitly provides $pkgname
|
|
install='.install'
|
|
source=("git+${url}.git")
|
|
sha256sums=('SKIP')
|
|
|
|
package() {
|
|
cd "${_reponame}/pkg/${pkgname}"
|
|
|
|
# 10-$pkgname as this shall be applied before de-p1st-mkinitcpio
|
|
install -Dm0544 mkinitcpio.conf.holoscript "$pkgdir"/usr/share/holo/files/10-"$pkgname"/etc/mkinitcpio.conf.holoscript
|
|
} |