2020-01-09 17:41:23 +00:00
|
|
|
# Contributor: Pablo Castellano <pablo@anche.no>
|
2017-11-04 22:30:03 +00:00
|
|
|
pkgname=firmware-motorola-titan
|
|
|
|
pkgver=1
|
2020-01-09 17:41:23 +00:00
|
|
|
pkgrel=2
|
|
|
|
_commit="ac0d15c78cc705c9a76506e6f761cd006018d7bd"
|
2018-02-26 20:26:47 +00:00
|
|
|
pkgdesc="Firmware files for Motorola Moto G 2014 (titan) and Moto G 4G 2013 (peregrine)"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2018-11-07 07:43:32 +00:00
|
|
|
arch="armhf"
|
2017-11-04 22:30:03 +00:00
|
|
|
license="proprietary"
|
|
|
|
depends="wcnss-wlan"
|
2020-01-09 17:41:23 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/PabloCastellano/vendor_motorola_titan/archive/$_commit.tar.gz"
|
|
|
|
options="!check !strip !archcheck !spdx"
|
|
|
|
builddir="$srcdir/vendor_motorola_titan-$_commit"
|
2017-11-04 22:30:03 +00:00
|
|
|
|
|
|
|
package() {
|
|
|
|
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06 wcnss.b07
|
|
|
|
wcnss.b08 wcnss.b09 wcnss.mdt"
|
|
|
|
for _i in $_files; do
|
2020-01-09 17:41:23 +00:00
|
|
|
install -D -m644 "$_i" "$pkgdir"/lib/firmware/postmarketos/"$_i"
|
2017-11-04 22:30:03 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
_files="WCNSS_cfg.dat WCNSS_qcom_cfg.ini WCNSS_qcom_wlan_cal.bin
|
2018-02-26 20:26:47 +00:00
|
|
|
WCNSS_qcom_wlan_nv.bin WCNSS_qcom_wlan_factory_nv.bin"
|
2017-11-04 22:30:03 +00:00
|
|
|
for _i in $_files; do
|
2020-01-09 17:41:23 +00:00
|
|
|
install -D -m644 wlan/prima/"$_i" \
|
|
|
|
"$pkgdir"/lib/firmware/postmarketos/wlan/prima/"$_i"
|
2017-11-04 22:30:03 +00:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="9dce12dda861140b8ac074620e2d4657f59bf7a540935f115db9956076ff770274e486f228b0811ce108862cf6e2beef77c1394a4a950287f19f307f10c9bfc4 firmware-motorola-titan-ac0d15c78cc705c9a76506e6f761cd006018d7bd.tar.gz"
|