pmaports/device/testing/firmware-sony-castor/APKBUILD
Johannes Marbach 95d375879c
treewide: firmware: use pmb:cross-native/!tracdeps (MR 2468)
Add pmb:cross-native/!tracedeps to applicable firmware packages and
secure both with a test.

This sets the pmb:cross-native and !tracedeps options on all firmware-*
packages that are compatible with the native compilation method. A unit
test ensures the presence of both options while maintaining a list of
exempted packages.

Fixes: #718
[ci:ignore-count] [ci:skip-vercheck] [ci:skip-build]
2021-09-19 18:57:36 +02:00

21 lines
1 KiB
Text

pkgname=firmware-sony-castor
pkgver=1
pkgrel=0
_commit="00b1ede4d9abb102fe6f0b9de4e795384721ceaa"
pkgdesc="Firmware for Sony Xperia Z2 Tablet"
# The firmware files are located in the windy (WiFi-only) repository but device-sony-castor also uses those files.
url="https://github.com/sonyxperiadev/device-sony-castor_windy"
arch="armv7"
license="proprietary"
source="$pkgname-$_commit.tar.gz::https://github.com/sonyxperiadev/device-sony-castor_windy/archive/$_commit.tar.gz"
builddir="$srcdir/device-sony-castor_windy-$_commit"
options="!check !strip !archcheck !tracedeps pmb:cross-native"
package() {
install -Dm644 rootdir/system/etc/BCM4339.hcd \
"$pkgdir"/lib/firmware/postmarketos/brcm/BCM4335C0.hcd
install -Dm644 rootdir/system/etc/wifi/bcmdhd.cal \
"$pkgdir"/lib/firmware/postmarketos/brcm/brcmfmac4339-sdio.txt
}
sha512sums="2816d487e337bdd79cb60ea8b0dfbe9f5a6f063228924a216e1d857b80e4ffed981a820b643d3811ae7d6078f36807f36d17e9316435ff9df204107a71cd4bbf firmware-sony-castor-00b1ede4d9abb102fe6f0b9de4e795384721ceaa.tar.gz"