# Maintainer: Clayton Craft pkgname=oem-intel pkgdesc="Intel device support" pkgver=3 pkgrel=1 url="https://postmarketos.org" license="MIT" arch="x86_64" options="!check !archcheck" depends=" alsa-ucm-conf intel-ucode linux-firmware-i915 linux-firmware-intel sof-firmware " subpackages=" $pkgname-libva $pkgname-vulkan " source="00-oem-intel.modules" package() { install -Dm644 00-oem-intel.modules \ -t "$pkgdir"/usr/share/mkinitfs/modules } 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" } sha512sums=" 48b8c0454c8c80e7ad0ebd139c01790eed3fbd4265bf4ce64882d354b091ac7f63084eaf2b00d1244a7a692c73fa900193724577f9a8d753fa8b6743fe1c8990 00-oem-intel.modules "