pmaports/device/testing/firmware-samsung-i9100/APKBUILD
Johannes Marbach 95d375879c
treewide: firmware: use pmb:cross-native/!tracdeps (MR 2468)
Add pmb:cross-native/!tracedeps to applicable firmware packages and
secure both with a test.

This sets the pmb:cross-native and !tracedeps options on all firmware-*
packages that are compatible with the native compilation method. A unit
test ensures the presence of both options while maintaining a list of
exempted packages.

Fixes: #718
[ci:ignore-count] [ci:skip-vercheck] [ci:skip-build]
2021-09-19 18:57:36 +02:00

29 lines
1.2 KiB
Text

pkgname=firmware-samsung-i9100
pkgver=1
pkgrel=3
pkgdesc="Samsung Galaxy S II Firmware"
url="https://github.com/TheMuppets/proprietary_vendor_samsung"
arch="armv7"
license="proprietary"
options="!check !tracedeps pmb:cross-native"
# Source
_files="
bcmdhd_sta.bin
nvram_net.txt
"
_commit="a5346c8874d5186c967b74291c2055d902f7a928"
_url="https://github.com/TheMuppets/proprietary_vendor_samsung/raw/$_commit/i9100/proprietary/system/etc/wifi"
for _i in $_files; do
source="$source $pkgname-$_commit-$_i::$_url/$_i";
done
package() {
install -Dm644 "$srcdir/$pkgname-$_commit-bcmdhd_sta.bin" \
"$pkgdir/lib/firmware/postmarketos/brcm/brcmfmac4330-sdio.bin"
install -Dm644 "$srcdir/$pkgname-$_commit-nvram_net.txt" \
"$pkgdir/lib/firmware/postmarketos/brcm/brcmfmac4330-sdio.samsung,i9100.txt"
}
sha512sums="a6d602a768e8748c44b5debf2b7388d42c909919fb2b73c0f511ac2bceadac7d7208c6ba94c2df9aa900c9fb446f35f670b0adc552689f8567fa87ded754a947 firmware-samsung-i9100-a5346c8874d5186c967b74291c2055d902f7a928-bcmdhd_sta.bin
4a473740dfb3202e77fdd07c0bfe59c3cd2ea30e3388b7a09c38484408d9253b7e83a96558995e1fce87e00d6a071eec49ee5a10d68c0e05ab6b6a3dd873604e firmware-samsung-i9100-a5346c8874d5186c967b74291c2055d902f7a928-nvram_net.txt"