pmaports/device/testing/firmware-chuwi-hi10plus/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

22 lines
1.1 KiB
Text

pkgname=firmware-chuwi-hi10plus
pkgver=0.1
pkgrel=2
_commit="2ab861d875105d0b88402d596e3d197dd47135df"
pkgdesc="Firmware for Chuwi Hi10 Plus"
url="https://github.com/onitake/gsl-firmware"
arch="x86_64"
license="proprietary"
source="$pkgname-$_commit.tar.gz::https://github.com/Danct12/gsl-firmware/archive/$_commit.tar.gz
20-touchscreen-firmware.files"
options="!strip !check !archcheck !spdx !tracedeps pmb:cross-native"
builddir="$srcdir/gsl-firmware-$_commit"
package() {
install -Dm644 firmware/chuwi/hi10_plus/firmware.fw \
"$pkgdir"/lib/firmware/silead/gsl1680-chuwi-hi10plus.fw
install -Dm644 "$srcdir"/20-touchscreen-firmware.files \
"$pkgdir"/etc/postmarketos-mkinitfs/files/20-touchscreen-firmware.files
}
sha512sums="5d2f447403941475542aac6110086117ddf031ad96cf1081cc7c63db465c609e2983c34f269fce86598198ab68826f8c8768232aedb8eaaa4b9a61037c61e610 firmware-chuwi-hi10plus-2ab861d875105d0b88402d596e3d197dd47135df.tar.gz
85eda4c0a90f4d9aaf34dff36b08534e27962acd0214873a6b73039a663dd5bfd7de084833b07f2a56314466e2466ad68ce7b6ecbfe496c0578020847bc9b6e6 20-touchscreen-firmware.files"