2019-09-01 18:48:46 +00:00
|
|
|
pkgname=firmware-samsung-gt510wifi
|
2019-12-08 21:45:44 +00:00
|
|
|
pkgver=2
|
2019-09-01 18:48:46 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Firmware for Samsung Galaxy Tab A 9.7 WiFi (2015) (SM-T550)"
|
|
|
|
url="https://rizzotherat.gitlab.io/firmware/"
|
2019-12-08 21:45:44 +00:00
|
|
|
subpackages="$pkgname-modem $pkgname-venus $pkgname-wcnss"
|
2019-09-01 18:48:46 +00:00
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
|
|
|
options="!check !strip !archcheck"
|
|
|
|
source="https://rizzotherat.gitlab.io/firmware/SM-T550.tar.xz"
|
|
|
|
|
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
|
|
|
|
|
|
|
package() {
|
|
|
|
# parent package is empty
|
|
|
|
mkdir -p "$pkgdir"
|
|
|
|
}
|
|
|
|
|
2019-12-08 21:45:44 +00:00
|
|
|
modem() {
|
|
|
|
pkgdesc="Samsung Galaxy Tab A 9.7 WiFi (2015) (SM-T550) modem firmware"
|
|
|
|
install -Dm644 "$srcdir"/mba.mbn -t "$subpkgdir/$_fwdir"
|
|
|
|
install -Dm644 "$srcdir"/modem.* -t "$subpkgdir/$_fwdir"
|
|
|
|
}
|
|
|
|
|
2019-09-01 18:48:46 +00:00
|
|
|
venus() {
|
|
|
|
pkgdesc="Samsung Galaxy Tab A 9.7 WiFi (2015) (SM-T550) video firmware"
|
|
|
|
install -Dm644 "$srcdir"/venus.* -t "$subpkgdir/$_fwdir"/qcom/venus-1.8
|
|
|
|
}
|
|
|
|
|
|
|
|
wcnss() {
|
|
|
|
pkgdesc="Samsung Galaxy Tab A 9.7 WiFi (2015) (SM-T550) WiFi/BT firmware"
|
|
|
|
cd "$srcdir"
|
|
|
|
install -Dm644 wcnss.* -t "$subpkgdir/$_fwdir"
|
|
|
|
install -Dm644 WCNSS_* -t "$subpkgdir/$_fwdir"/wlan/prima
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
sha512sums="ad1e0ec6eb0f23c1cca1e0657176d6ecf536489fb9c64a53ab5e63dd980e0df67e257dc2ae0808c50885476960448bf8d1713c43a9c6225d22c0e854fa67f923 SM-T550.tar.xz"
|