2020-04-25 09:51:42 +00:00
|
|
|
pkgname=firmware-samsung-kminilte
|
2020-04-05 14:29:46 +00:00
|
|
|
pkgver=1
|
2021-12-21 11:01:19 +00:00
|
|
|
pkgrel=1
|
2020-04-05 14:29:46 +00:00
|
|
|
pkgdesc="Samsung Galaxy S5 Mini firmware"
|
2021-12-21 11:01:19 +00:00
|
|
|
url="https://github.com/Spookcity/android_vendor_samsung_kminilte"
|
2020-04-05 14:29:46 +00:00
|
|
|
arch="armv7"
|
|
|
|
license="proprietary"
|
2021-08-28 19:28:14 +00:00
|
|
|
options="!check !strip !archcheck !spdx !tracedeps pmb:cross-native"
|
2020-04-05 14:29:46 +00:00
|
|
|
install="$pkgname.post-install"
|
|
|
|
|
|
|
|
_repository="android_vendor_samsung_kminilte"
|
2021-12-21 11:01:19 +00:00
|
|
|
_commit="987649e9667dd11bb2a2b5ec7a5f23c9037adcf5"
|
2020-04-05 14:29:46 +00:00
|
|
|
|
|
|
|
source="
|
2021-12-21 11:01:19 +00:00
|
|
|
$pkgname-$_commit.tar.gz::https://github.com/Spookcity/$_repository/archive/$_commit.tar.gz
|
2020-04-05 14:29:46 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
# The installed location of these files must match CONFIG_BCMDHD_FW_PATH
|
|
|
|
# and CONFIG_BCMDHD_NVRAM_PATH respectively.
|
|
|
|
# Note that "_b2" is appended to the firmware path (in drivers/net/wireless/bcmdhd/dhd_sdio.c),
|
|
|
|
# so CONFIG_BCMDHD_FW_PATH must end in ".bin", not ".bin_b2"
|
|
|
|
_files="
|
|
|
|
proprietary/etc/wifi/bcmdhd_sta.bin_b2
|
|
|
|
proprietary/etc/wifi/nvram_net.txt
|
|
|
|
"
|
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "$pkgdir"
|
|
|
|
cd "$srcdir/$_repository-$_commit"
|
|
|
|
for _f in $_files; do
|
|
|
|
_filename=$(basename $_f)
|
|
|
|
install -Dm644 $_f "$pkgdir"/lib/firmware/postmarketos/$_filename
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2021-12-21 11:01:19 +00:00
|
|
|
sha512sums="
|
|
|
|
74ba0eb7e6e9c9715ba83d85fdd5e81dbca0d19a24244750471719d4c9e93cc854c2dc7585913b9d7c4f1f7b593bd57c4a38cef8ec62d543ffb2373488298bfa firmware-samsung-kminilte-987649e9667dd11bb2a2b5ec7a5f23c9037adcf5.tar.gz
|
|
|
|
"
|