device/testing/firmware-sony-castor: new aport (MR 1199)

This commit is contained in:
Luca Weiss 2020-05-01 20:34:29 +02:00
parent b7dfa002c1
commit 6cf28e4329
No known key found for this signature in database
GPG Key ID: 72D843B89D4DD756

View File

@ -0,0 +1,21 @@
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"
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"