2021-09-19 19:46:42 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-huawei-sturgeon
|
|
|
|
pkgdesc="Huawei Watch"
|
2022-10-04 09:38:09 +00:00
|
|
|
pkgver=0.3
|
|
|
|
pkgrel=0
|
2021-09-19 19:46:42 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="armv7"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
linux-huawei-sturgeon
|
2022-04-05 16:34:43 +00:00
|
|
|
mesa-dri-gallium
|
2021-09-19 19:46:42 +00:00
|
|
|
mkbootimg
|
|
|
|
msm-fb-refresher
|
|
|
|
postmarketos-base
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
2021-11-29 07:58:47 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
networkmanager.conf
|
|
|
|
"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2021-09-19 19:46:42 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2021-11-29 07:58:47 +00:00
|
|
|
install -Dm644 "$srcdir"/networkmanager.conf \
|
|
|
|
"$pkgdir"/etc/NetworkManager/conf.d/10-sturgeon.conf
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="WiFi firmware"
|
|
|
|
depends="firmware-huawei-sturgeon"
|
|
|
|
mkdir "$subpkgdir"
|
2021-09-19 19:46:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2022-10-04 09:38:09 +00:00
|
|
|
33c27ad87e7e530b496fceebe1fc565a662d44c3619d991d5c41476a9f2d6354863f9135b29d70b0e9f14f08dae798b06a5cbf2a64fd7eecee232f5000be0fe9 deviceinfo
|
2021-11-29 07:58:47 +00:00
|
|
|
a19923f30ac1d328a85ab1162e44442da28dd1ae45529fb73e21d8004594487f61c8f5372e5bbaadfefd27fe27c8a22ce430b81891ac1965e5704bbfec108b82 networkmanager.conf
|
2021-09-19 19:46:42 +00:00
|
|
|
"
|