2021-09-19 19:46:42 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-huawei-sturgeon
|
|
|
|
pkgdesc="Huawei Watch"
|
2021-11-29 07:58:47 +00:00
|
|
|
pkgver=0.2
|
2022-04-05 16:34:43 +00:00
|
|
|
pkgrel=2
|
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="
|
|
|
|
35ee89b4f810aeb24a51695607ce8402e683c2a99e1ccc2cbf5f96e2d6628c007371d582b8a780f185f66d3f987c5b6d20eb29d575967678e4c40837559903c1 deviceinfo
|
2021-11-29 07:58:47 +00:00
|
|
|
a19923f30ac1d328a85ab1162e44442da28dd1ae45529fb73e21d8004594487f61c8f5372e5bbaadfefd27fe27c8a22ce430b81891ac1965e5704bbfec108b82 networkmanager.conf
|
2021-09-19 19:46:42 +00:00
|
|
|
"
|