2023-08-09 08:42:05 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-google-smaug
|
|
|
|
pkgdesc="Google Pixel C"
|
2024-06-21 21:14:07 +00:00
|
|
|
pkgver=2
|
|
|
|
pkgrel=0
|
2023-08-09 08:42:05 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
depthcharge-tools
|
|
|
|
linux-google-smaug
|
|
|
|
postmarketos-base
|
|
|
|
"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="
|
|
|
|
30-xusb-firmware.files
|
|
|
|
deviceinfo
|
|
|
|
modules-initfs
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="WiFi/BT, USB and GPU firmware"
|
|
|
|
depends="linux-firmware-brcm linux-firmware-nvidia firmware-google-smaug"
|
|
|
|
|
|
|
|
# Firmware needed to boot from USB
|
|
|
|
install -Dm644 "$srcdir"/30-xusb-firmware.files \
|
|
|
|
"$subpkgdir"/usr/share/mkinitfs/files/30-xusb-firmware.files
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
80d1ff3ae3045cb071d0eb7ac53cebccfe363a9584ef806e7b79309231c58d00f89612423440526a08b14fc80e96162b8f429f453f662d4c438c787fa45ef122 30-xusb-firmware.files
|
2024-06-21 21:14:07 +00:00
|
|
|
36a0f0046f63e6b17cbc4f58e80f9f75048bdbe9a7c767b08e82ca476ba595d49aca8aa2f1712753bd42b2bfd7a45275a78e89b8b3e2576aa571fe6f057a99e3 deviceinfo
|
2023-08-09 08:42:05 +00:00
|
|
|
d883fa37ea89379aec31e518714adbef76d0c260929deb05c131c5df4c532344f3358a82cc39e81d06da821df81171709cd9dc20837795bee6834c34d4dfa47a modules-initfs
|
|
|
|
"
|