eb21ed5472
[ci:ignore-count]
53 lines
1.1 KiB
Text
53 lines
1.1 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-mobvoi-skipjack
|
|
pkgdesc="Mobvoi Ticwatch C2"
|
|
pkgver=2
|
|
pkgrel=1
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armv7"
|
|
options="!check !archcheck"
|
|
depends="
|
|
linux-mobvoi-skipjack
|
|
mesa-dri-gallium
|
|
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
|
|
"
|
|
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"
|
|
}
|
|
|
|
sha512sums="
|
|
8ec2903bf1c6ebd955fd22fdf1883b7bfdef2d9c58d8f68a81c46de2b2554e10f45671f0de0b35165aa53b270fd6938d78040c2a74b9044b5d32c05afef4f9f5 deviceinfo
|
|
"
|