From 6dd239669530321a71cd19599ec19ef2bf1be906 Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Mon, 1 Jan 2024 13:09:06 -0800 Subject: [PATCH] device/oem-amd: new aport (MR 4673) --- device/testing/oem-amd/APKBUILD | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 device/testing/oem-amd/APKBUILD diff --git a/device/testing/oem-amd/APKBUILD b/device/testing/oem-amd/APKBUILD new file mode 100644 index 000000000..507416c32 --- /dev/null +++ b/device/testing/oem-amd/APKBUILD @@ -0,0 +1,37 @@ +# Maintainer: Clayton Craft +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" +}