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

25 lines
1.1 KiB
Text

pkgname=firmware-samsung-santos10wifi
pkgver=0.1
pkgrel=0
_commit="22fdeccf3db554b50ebba1877d6e71085511114f"
pkgdesc="Samsung Galaxy Tab 3 10.1 Wi-Fi Firmware"
url="https://github.com/santos10-dev/proprietary_vendor_samsung_santos10-common"
arch="x86"
license="proprietary"
source="$pkgname-$_commit.tar.gz::https://github.com/santos10-dev/proprietary_vendor_samsung_santos10-common/archive/$_commit.tar.gz"
options="!check !strip !archcheck !spdx !tracedeps pmb:cross-native"
builddir="$srcdir/proprietary_vendor_samsung_santos10-common-$_commit"
package() {
# Wi-Fi
install -Dm644 proprietary/vendor/firmware/bcmdhd_sta.bin_b2 \
"$pkgdir"/lib/firmware/postmarketos/bcmdhd_sta.bin_b2
install -Dm644 proprietary/vendor/firmware/nvram_net.txt \
"$pkgdir"/lib/firmware/postmarketos/nvram_net.txt
# Misc
install -Dm644 proprietary/vendor/firmware/fw_sst_08e7.bin \
"$pkgdir"/lib/firmware/postmarketos/fw_sst_08e7.bin
}
sha512sums="d0cf1081ed1e0f6e2c9c9d94bc34b8094054909d5c5580304f8cbd3d69d9712c2875e1a90da2f51837e5d67d6849cd0719b35b301ba37d0d5fdee228e8e62258 firmware-samsung-santos10wifi-22fdeccf3db554b50ebba1877d6e71085511114f.tar.gz"