2022-01-09 12:05:18 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-huawei-y635
|
|
|
|
pkgdesc="Huawei Y635"
|
2024-02-15 08:21:05 +00:00
|
|
|
pkgver=3
|
2024-06-18 19:53:59 +00:00
|
|
|
pkgrel=1
|
2022-01-09 12:05:18 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916 soc-qcom-msm8916"
|
|
|
|
makedepends="devicepkg-dev"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs pointercal phoc.ini"
|
2022-01-09 12:05:18 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware $pkgname-phosh"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -D -m644 "$srcdir"/pointercal -t \
|
|
|
|
"$pkgdir"/etc
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="GPU/WiFi/BT/Video firmware"
|
|
|
|
# msm-firmware-loader not needed because modem is not supported yet
|
|
|
|
depends="firmware-qcom-adreno-a300
|
|
|
|
firmware-qcom-msm8916-wcnss firmware-huawei-y635-wcnss-nv
|
|
|
|
firmware-qcom-msm8916-venus"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname postmarketos-ui-phosh"
|
2022-04-03 09:04:48 +00:00
|
|
|
install -Dm644 "$srcdir"/phoc.ini -t \
|
2022-01-09 12:05:18 +00:00
|
|
|
"$subpkgdir"/etc/phosh
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2024-06-18 19:53:59 +00:00
|
|
|
625b8c8e037a5b27cb4579e056223d329f87129d9d51d1148123c2b55c11cba6aff36d0b332b431e4dfaded8c8f3e379d085b86d166174b9a481b96d2ca886cc deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
573feeb83028d1c7f5bce4347747e9bfa36ad927125633981a037503088786848cf1985e2d5da73f60fe534deaf05ec6ab12d55438efb3e4bf516b382e4432eb modules-initfs
|
2022-01-09 12:05:18 +00:00
|
|
|
4d43e2c8facedbf5ba98c072e8fc20197a15acb06918a02bb753b48df356be1d4cafc0383968aac2dda50d240dc8cb038370da1fd37d807a9cb832e873de2b85 pointercal
|
2022-05-05 14:50:55 +00:00
|
|
|
e8f734a2f8d154813dbb493f0d58af50a7f624ffed41967a81493b975a6211efc6d30743b23825562cfd126791cbdd3348bfbed32eeece9b8acec0a37c3c51b6 phoc.ini
|
2022-01-09 12:05:18 +00:00
|
|
|
"
|