pmaports/device/testing/device-mobvoi-skipjack/APKBUILD

53 lines
1.1 KiB
Text
Raw Normal View History

2021-12-30 10:57:28 +00:00
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-mobvoi-skipjack
pkgdesc="Mobvoi Ticwatch C2"
pkgver=2
pkgrel=4
2021-12-30 10:57:28 +00:00
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
linux-mobvoi-skipjack
mkbootimg
postmarketos-base
mdss-fb-init-hack
"
subpackages="
$pkgname-nonfree-firmware-modem:nonfree_firmware_modem
$pkgname-nonfree-firmware-venus:nonfree_firmware_venus
$pkgname-nonfree-firmware-wcnss:nonfree_firmware_wcnss
"
2021-12-30 10:57:28 +00:00
makedepends="devicepkg-dev"
source="deviceinfo"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware_modem() {
pkgdesc="Modem firmware"
depends="firmware-mobvoi-skipjack-modem"
mkdir "$subpkgdir"
}
nonfree_firmware_venus() {
pkgdesc="GPU firmware"
depends="firmware-mobvoi-skipjack-venus"
mkdir "$subpkgdir"
}
nonfree_firmware_wcnss() {
pkgdesc="WiFi/Bluetooth firmware"
depends="firmware-mobvoi-skipjack-wcnss"
mkdir "$subpkgdir"
}
2021-12-30 10:57:28 +00:00
sha512sums="
8ec2903bf1c6ebd955fd22fdf1883b7bfdef2d9c58d8f68a81c46de2b2554e10f45671f0de0b35165aa53b270fd6938d78040c2a74b9044b5d32c05afef4f9f5 deviceinfo
"