# Maintainer: Clayton Craft pkgname=oem-intel pkgdesc="Intel device support" pkgver=2 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 depends=" alsa-ucm-conf linux-firmware-none sof-firmware " subpackages=" $pkgname-libva $pkgname-nonfree-firmware:nonfree_firmware $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" }