2021-04-21 13:42:05 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Maintainer: Minecrell <minecrell@minecrell.net>
|
|
|
|
pkgname=device-huawei-g7
|
|
|
|
pkgdesc="Huawei Ascend G7"
|
2024-02-15 08:21:05 +00:00
|
|
|
pkgver=3
|
2024-06-18 19:53:59 +00:00
|
|
|
pkgrel=1
|
2021-04-21 13:42:05 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="postmarketos-base mkbootimg soc-qcom-msm8916 linux-postmarketos-qcom-msm8916"
|
|
|
|
makedepends="devicepkg-dev"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs pointercal"
|
2021-04-21 13:42:05 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -D -m644 "$srcdir"/pointercal "$pkgdir"/etc/pointercal
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="GPU/WiFi/BT/Video firmware"
|
2021-10-19 08:29:15 +00:00
|
|
|
# msm-firmware-loader not needed because modem is not supported yet
|
|
|
|
depends="firmware-qcom-adreno-a300
|
|
|
|
firmware-qcom-msm8916-wcnss firmware-huawei-g7-wcnss-nv
|
|
|
|
firmware-qcom-msm8916-venus"
|
2021-04-21 13:42:05 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
2024-06-18 19:53:59 +00:00
|
|
|
63b398a256b7863bdcb82fcb55a381226cc7c832e28035eda536ac1e780ec425b4989d1628ec4ea74954971113c217ad5accc98ed846bfc71cb2a32b8e5461ec deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
1523b9cdd3d3578089bd4ffca40c06f595cda5f94c75433b5786dddeba5df1011cbb027e46d66c153479b03bc3e7ac3a1ea74fc296fc07032562abc4892b22bd modules-initfs
|
2021-07-07 05:06:17 +00:00
|
|
|
b47b3eee3f330408ea28f89b0a70752466f1ab854fc7c4677157fd2dcf5a546d1056b1fbfac587ece827b7ae864e969f0fef6981e4e9802b159f88d03fe9b487 pointercal
|
|
|
|
"
|