pmaports/device/community/oem-intel/APKBUILD

53 lines
979 B
Text
Raw Normal View History

2024-01-01 21:01:13 +00:00
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=oem-intel
pkgdesc="Intel device support"
pkgver=2
2024-01-01 21:01:13 +00:00
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="x86_64"
options="!check !archcheck"
# linux-firmware-none prevents all of linux-firmware-* from being installed by
# default
2024-01-01 21:01:13 +00:00
depends="
alsa-ucm-conf
linux-firmware-none
2024-01-01 21:01:13 +00:00
sof-firmware
"
subpackages="
$pkgname-libva
$pkgname-nonfree-firmware:nonfree_firmware
2024-01-01 21:01:13 +00:00
$pkgname-vulkan
"
package() {
mkdir -p "$pkgdir"
}
libva() {
pkgdesc="libva support for Intel devices"
install_if="$pkgname=$pkgver-r$pkgrel libva"
depends="intel-media-driver libva-intel-driver"
mkdir "$subpkgdir"
}
vulkan() {
pkgdesc="vulkan support for Intel devices"
install_if="$pkgname=$pkgver-r$pkgrel vulkan-loader"
depends="mesa-vulkan-intel"
mkdir "$subpkgdir"
}
nonfree_firmware() {
pkgdesc="Firmware for Intel devices"
depends="
intel-ucode
linux-firmware-i915
linux-firmware-intel
"
mkdir -p "$subpkgdir"
}