device/oem-amd: new aport (MR 4673)
This commit is contained in:
parent
a27736f599
commit
6dd2396695
1 changed files with 37 additions and 0 deletions
37
device/testing/oem-amd/APKBUILD
Normal file
37
device/testing/oem-amd/APKBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
||||
pkgname=oem-amd
|
||||
pkgdesc="AMD device support"
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="x86_64"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
alsa-ucm-conf
|
||||
amd-ucode
|
||||
"
|
||||
subpackages="
|
||||
$pkgname-libva
|
||||
$pkgname-vulkan
|
||||
"
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir"
|
||||
}
|
||||
|
||||
libva() {
|
||||
pkgdesc="libva support for AMD devices"
|
||||
install_if="$pkgname=$pkgver-r$pkgrel libva"
|
||||
depends="mesa-va-gallium"
|
||||
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
vulkan() {
|
||||
pkgdesc="vulkan support for AMD devices"
|
||||
install_if="$pkgname=$pkgver-r$pkgrel vulkan-loader"
|
||||
depends="mesa-vulkan-ati"
|
||||
|
||||
mkdir "$subpkgdir"
|
||||
}
|
Loading…
Reference in a new issue