2018-03-05 20:55:05 +00:00
|
|
|
pkgname=firmware-samsung-p4wifi
|
2019-02-25 22:55:42 +00:00
|
|
|
pkgver=2
|
|
|
|
pkgrel=0
|
2018-03-05 20:55:05 +00:00
|
|
|
pkgdesc="Samsung Galaxy Tab 10.1 Firmware"
|
|
|
|
url="https://github.com/Decatf"
|
2019-02-25 22:55:42 +00:00
|
|
|
arch="armv7"
|
2018-03-05 20:55:05 +00:00
|
|
|
license="proprietary"
|
|
|
|
options="!check"
|
|
|
|
|
|
|
|
# Source
|
|
|
|
_fw_file="bcmdhd_sta.bin"
|
|
|
|
_nvram_file="nvram_net.txt"
|
|
|
|
_commit_fw="e0e37239ad4aead6316a6f913696a1c71dfbde7d"
|
|
|
|
_commit_nvram="216172bddf07ea19fc05cc932ebb0b449a3d84d6"
|
|
|
|
_url_fw="https://github.com/Decatf/android_device_samsung_p4-common/raw/$_commit_fw/wifi/$_fw_file"
|
|
|
|
_url_nvram="https://github.com/Decatf/android_vendor_samsung_p4wifi/raw/$_commit_nvram/proprietary/etc/wifi/$_nvram_file"
|
|
|
|
|
|
|
|
source=""
|
|
|
|
source="$source $pkgname-$_commit_fw-$_fw_file::$_url_fw";
|
|
|
|
source="$source $pkgname-$_commit_nvram-$_nvram_file::$_url_nvram";
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -Dm644 "$srcdir/$pkgname-$_commit_fw-$_fw_file" \
|
|
|
|
"$pkgdir/lib/firmware/postmarketos/$_fw_file"
|
|
|
|
install -Dm644 "$srcdir/$pkgname-$_commit_nvram-$_nvram_file" \
|
|
|
|
"$pkgdir/lib/firmware/postmarketos/$_nvram_file"
|
|
|
|
|
|
|
|
install -Dm644 "$srcdir/$pkgname-$_commit_fw-$_fw_file" \
|
|
|
|
"$pkgdir/lib/firmware/postmarketos/brcm/brcmfmac4330-sdio.bin"
|
|
|
|
install -Dm644 "$srcdir/$pkgname-$_commit_nvram-$_nvram_file" \
|
|
|
|
"$pkgdir/lib/firmware/postmarketos/brcm/brcmfmac4330-sdio.txt"
|
|
|
|
}
|
|
|
|
sha512sums="ef70cd280d5febcce7387eceb0ef8a7c3d389dfdad4bb7b4631b4dccd7fe55034d1857f79349969d1e104a8dd7d3c2db84eb623c566711aa5072bc2d8145d4b7 firmware-samsung-p4wifi-e0e37239ad4aead6316a6f913696a1c71dfbde7d-bcmdhd_sta.bin
|
|
|
|
4da8ad7e2ee59f2edbd9bb344e55ed7513e6929bbe5c53eb96999ef7d2b18e2a3b10e5d1567606e1332fd254d8aeb4d5554fbef82ea1a761917c2fdc1ad964de firmware-samsung-p4wifi-216172bddf07ea19fc05cc932ebb0b449a3d84d6-nvram_net.txt"
|