2021-05-05 16:20:25 +02:00
|
|
|
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
|
|
|
_pkgname=gpu-amdgpu
|
|
|
|
_reponame=arch
|
|
|
|
pkgname="de-p1st-$_pkgname"
|
2021-05-24 16:11:06 +02:00
|
|
|
pkgver=0.0.2
|
2021-05-05 16:20:25 +02:00
|
|
|
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"
|
2021-05-05 17:08:14 +02:00
|
|
|
depends+=(xf86-video-amdgpu)
|
2021-05-05 16:20:25 +02:00
|
|
|
# "Vulkan support"
|
2021-05-05 17:08:14 +02:00
|
|
|
depends+=(vulkan-radeon)
|
2021-05-05 16:20:25 +02:00
|
|
|
# "HW-vide-acceleration: VA-API"
|
2021-05-05 17:08:51 +02:00
|
|
|
depends+=(libva-mesa-driver)
|
2021-05-05 16:20:25 +02:00
|
|
|
# "HW-vide-acceleration: VDPAU"
|
2021-05-05 17:08:14 +02:00
|
|
|
depends+=(mesa-vdpau)
|
2021-05-24 16:11:06 +02:00
|
|
|
# holo
|
2021-06-12 20:47:54 +02:00
|
|
|
depends+=('holo' 'git' 'base') # without base "holo apply" may fail on initial system installation
|
2021-05-05 16:20:25 +02:00
|
|
|
|
2021-05-24 16:11:06 +02:00
|
|
|
makedepends=('git')
|
2021-05-05 16:20:25 +02:00
|
|
|
provides=('de-p1st-gpu') # implicitly provides $pkgname
|
2021-05-24 16:11:06 +02:00
|
|
|
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
|
|
|
|
}
|