pmaports/device/testing/device-sony-castor/APKBUILD
Oliver Smith 2d5ad32455
treewide: adjust to broadcom Wi-Fi firmware move (MR 1971)
Let all devices, which depend on linux-firmware-brcm depend on
linux-firmware-cypress too (like done in MR 1969 for lg-hammerhead).

Related: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=060ad8b3d505e2ff8878d11a81da3532b983cd45

[ci:skip-build] Already built on CI
2021-02-22 19:00:50 -08:00

30 lines
995 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-sony-castor
pkgver=2
pkgrel=1
pkgdesc="Sony Xperia Z2 Tablet"
url="https://postmarketos.org"
arch="armv7"
license="MIT"
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8974 mesa-dri-freedreno"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo modules-load.conf"
options="!check !archcheck"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Wifi, GPU firmware"
depends="linux-firmware-brcm linux-firmware-cypress firmware-adreno firmware-sony-castor"
mkdir "$subpkgdir"
}
sha512sums="63fc02c92ebe74afc5d468b41afb64c636ccbadf68f99eec645ccc9a01924bb7eb45b76c0347dd0568893530a02ad8149708380246b3f8d3212e247a72aa1d14 deviceinfo
d8ce60ea7acaabf627ddca2f0887a4cda46f313b7aaf7934bef2fef8a6e0798ccefab849e4571e4e3fcd06ae34c1a6efe3b58b401e2e443416f6200e6d4ea769 modules-load.conf"