community/oem-*: add firmware dependencies (MR 4794)

This commit is contained in:
Clayton Craft 2024-02-15 16:10:17 -08:00
parent ec5b59eb77
commit c6306cb9bb
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
2 changed files with 9 additions and 32 deletions

View file

@ -2,22 +2,20 @@
pkgname=oem-amd pkgname=oem-amd
pkgdesc="AMD device support" pkgdesc="AMD device support"
pkgver=2 pkgver=2
pkgrel=1 pkgrel=2
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="x86_64" arch="x86_64"
options="!check !archcheck" options="!check !archcheck"
# linux-firmware-none prevents all of linux-firmware-* from being installed by
# default
depends=" depends="
alsa-ucm-conf alsa-ucm-conf
linux-firmware-none amd-ucode
linux-firmware-amdgpu
" "
subpackages=" subpackages="
$pkgname-libva $pkgname-libva
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-vulkan $pkgname-vulkan
" "
source=" source="
00-amdgpu-firmware.files 00-amdgpu-firmware.files
00-oem-amd.modules 00-oem-amd.modules
@ -47,16 +45,6 @@ vulkan() {
mkdir "$subpkgdir" mkdir "$subpkgdir"
} }
nonfree_firmware() {
pkgdesc="Firmware for AMD devices"
depends="
amd-ucode
linux-firmware-amdgpu
"
mkdir -p "$subpkgdir"
}
sha512sums=" sha512sums="
38c53d91a60d0402d4cc5428d65e1e8c26360c481c70b34593b1812c87241c32e91904a3bd31fbfe507f7fdb8b50c909eaad8c4c3a37ca962760567329f7f6ee 00-amdgpu-firmware.files 38c53d91a60d0402d4cc5428d65e1e8c26360c481c70b34593b1812c87241c32e91904a3bd31fbfe507f7fdb8b50c909eaad8c4c3a37ca962760567329f7f6ee 00-amdgpu-firmware.files
f56b5293f88727bb4fcceb2a347527402dd0938e96403461b1e2a6821cc00a4e680f58770addd7ba1ded20a187f91ccfd6270bc8bd28c6eae75cc075952361ca 00-oem-amd.modules f56b5293f88727bb4fcceb2a347527402dd0938e96403461b1e2a6821cc00a4e680f58770addd7ba1ded20a187f91ccfd6270bc8bd28c6eae75cc075952361ca 00-oem-amd.modules

View file

@ -2,23 +2,22 @@
pkgname=oem-intel pkgname=oem-intel
pkgdesc="Intel device support" pkgdesc="Intel device support"
pkgver=3 pkgver=3
pkgrel=0 pkgrel=1
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="x86_64" arch="x86_64"
options="!check !archcheck" options="!check !archcheck"
# linux-firmware-none prevents all of linux-firmware-* from being installed by
# default
depends=" depends="
alsa-ucm-conf alsa-ucm-conf
linux-firmware-none intel-ucode
linux-firmware-i915
linux-firmware-intel
sof-firmware sof-firmware
" "
subpackages=" subpackages="
$pkgname-libva $pkgname-libva
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-vulkan $pkgname-vulkan
" "
source="00-oem-intel.modules" source="00-oem-intel.modules"
package() { package() {
@ -42,16 +41,6 @@ vulkan() {
mkdir "$subpkgdir" mkdir "$subpkgdir"
} }
nonfree_firmware() {
pkgdesc="Firmware for Intel devices"
depends="
intel-ucode
linux-firmware-i915
linux-firmware-intel
"
mkdir -p "$subpkgdir"
}
sha512sums=" sha512sums="
48b8c0454c8c80e7ad0ebd139c01790eed3fbd4265bf4ce64882d354b091ac7f63084eaf2b00d1244a7a692c73fa900193724577f9a8d753fa8b6743fe1c8990 00-oem-intel.modules 48b8c0454c8c80e7ad0ebd139c01790eed3fbd4265bf4ce64882d354b091ac7f63084eaf2b00d1244a7a692c73fa900193724577f9a8d753fa8b6743fe1c8990 00-oem-intel.modules
" "