pmaports/device/testing/firmware-samsung-i9300/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

21 lines
967 B
Text

pkgname=firmware-samsung-i9300
pkgver=1
pkgrel=0
_commit="d5a8735a6ad1fff3091f100383ac004f411d7528"
pkgdesc="Samsung Galaxy SIII Firmware"
url="https://github.com/Androguide/android_vendor_samsung"
arch="armv7"
license="proprietary"
source="$pkgname-$_commit.tar.gz::https://github.com/Androguide/android_vendor_samsung/archive/$_commit.tar.gz"
options="!check !strip !archcheck !spdx !tracedeps pmb:cross-native"
builddir="$srcdir/android_vendor_samsung-$_commit"
package() {
# Wifi
install -Dm644 smdk4412-common/proprietary/system/etc/wifi/bcmdhd_sta.bin_b2 \
"$pkgdir"/lib/firmware/postmarketos/bcmdhd_sta.bin_b2
install -Dm644 smdk4412-common/proprietary/system/etc/wifi/nvram_net.txt \
"$pkgdir"/lib/firmware/postmarketos/nvram_net.txt
}
sha512sums="6559320d23e6a73accacf8c760426cb5a0679ab34e353d24dde653b336eadf98c2aa28c783e7010bf9f32cc64baadc02a9fff09baac6ff8b535ed5bc94c8abc5 firmware-samsung-i9300-d5a8735a6ad1fff3091f100383ac004f411d7528.tar.gz"