pmaports/device/testing/device-huawei-sturgeon/APKBUILD
Newbyte 0e9be207dd
device-*: replace mesa-dri-swrast with mesa-dri-gallium (MR 3059)
mesa-dri-swrast no longer exists and just installs,
mesa-dri-gallium. However, this might not always be the case, so
let's change it before it causes any issues.

[ci:ignore-count]
[ci:skip-build]
2022-04-05 23:23:03 +03:00

43 lines
1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-huawei-sturgeon
pkgdesc="Huawei Watch"
pkgver=0.2
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
linux-huawei-sturgeon
mesa-dri-gallium
mkbootimg
msm-fb-refresher
postmarketos-base
"
makedepends="devicepkg-dev"
source="
deviceinfo
networkmanager.conf
"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/networkmanager.conf \
"$pkgdir"/etc/NetworkManager/conf.d/10-sturgeon.conf
}
nonfree_firmware() {
pkgdesc="WiFi firmware"
depends="firmware-huawei-sturgeon"
mkdir "$subpkgdir"
}
sha512sums="
35ee89b4f810aeb24a51695607ce8402e683c2a99e1ccc2cbf5f96e2d6628c007371d582b8a780f185f66d3f987c5b6d20eb29d575967678e4c40837559903c1 deviceinfo
a19923f30ac1d328a85ab1162e44442da28dd1ae45529fb73e21d8004594487f61c8f5372e5bbaadfefd27fe27c8a22ce430b81891ac1965e5704bbfec108b82 networkmanager.conf
"