pmaports/device/community/oem-intel/APKBUILD
Luca Weiss 5df7206d7a
oem-{amd,intel}: move to community (MR 4791)
There's now packages in community depending on this. Move it.

[ci:skip-build]: already built successfully in CI
2024-02-06 02:01:18 +01:00

52 lines
979 B
Text

# Maintainer: Clayton Craft <clayton@craftyguy.net>
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"
}