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

30 lines
1.6 KiB
Text

pkgname=firmware-samsung-dream
pkgver=2
pkgrel=0
pkgdesc="Firmware for the Samsung Galaxy S8/S8+"
url="https://github.com/exynos8895/android_vendor_samsung_universal8895-common"
arch="noarch"
license="proprietary"
options="!check !archcheck !strip !spdx !tracedeps pmb:cross-native"
# Source
_commit="2c1ff7083c728465386a1978279aa79d1dec086d"
_wifi_files="bcmdhd_sta.bin_b0 bcmdhd_clm.blob nvram.txt_r02j_b0 nvram.txt_murata_r033_b0"
for _file in $_wifi_files; do
source="$source $pkgname-$_commit-$_file::$url/raw/$_commit/proprietary/vendor/etc/wifi/$_file"
done
package() {
# Wifi
local file
for file in $_wifi_files; do
install -Dm644 "$srcdir/$pkgname-$_commit-$file" \
"$pkgdir/lib/firmware/postmarketos/$file"
done
}
sha512sums="64ee00df378c92fed8750dea1773107a1cbb1678bdcd481569f4af0f6b8f78a82fe0d886ea02be44f7df4ddfeaee763cf7407b4fa769f4a5e78b0e7b9ed2492c firmware-samsung-dream-2c1ff7083c728465386a1978279aa79d1dec086d-bcmdhd_sta.bin_b0
4f38b161ffdf720ddf8d82c831b0f0c3902668d78e9a078a04e92038000e49dcca9b0a792fb76f219a49f365351c9865c663f17607684a26f2ed933bf997f077 firmware-samsung-dream-2c1ff7083c728465386a1978279aa79d1dec086d-bcmdhd_clm.blob
ee72ac08334406d5d4166a879e6830613b7740f258ac421f7d6a353bd966cfa177fc9864732791121f73bc5169f64148ff07d3bb4687cca4e45341fc7e447868 firmware-samsung-dream-2c1ff7083c728465386a1978279aa79d1dec086d-nvram.txt_r02j_b0
1c1867c8b10c485be10ed3f93fec9e41382e0f99611863581f5231d4dae1c192bd5a65f0d22dad56b9c264ef48cbfa9ff033de8e8bca1dc57e35a3c5616209a5 firmware-samsung-dream-2c1ff7083c728465386a1978279aa79d1dec086d-nvram.txt_murata_r033_b0"