2023-03-01 09:45:40 +00:00
|
|
|
# Maintainer: Yang Xiwen <forbidden405@outlook.com>
|
|
|
|
# Co-Maintainer: Nikita Travkin <nikita@trvn.ru>
|
|
|
|
|
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-generic-zhihe
|
|
|
|
pkgdesc="A generic device package for various MSM8916-based dongles(namely zhihe)"
|
2024-02-15 08:21:05 +00:00
|
|
|
pkgver=2
|
|
|
|
pkgrel=0
|
2023-03-01 09:45:40 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="GPL"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
soc-qcom-msm8916
|
|
|
|
soc-qcom-msm8916-rproc
|
|
|
|
"
|
|
|
|
_pmb_select="soc-qcom-msm8916-rproc"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-kernel-ufi001c:kernel_ufi001c
|
|
|
|
$pkgname-kernel-uf896:kernel_uf896
|
|
|
|
$pkgname-kernel-uz801:kernel_uz801
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="WiFi/BT/Modem/Video firmware"
|
|
|
|
depends="msm-firmware-loader
|
|
|
|
firmware-qcom-msm8916-venus"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_ufi001c() {
|
|
|
|
pkgdesc="UFI103S / UFI-001C(B) / UFI003"
|
|
|
|
depends="linux-postmarketos-qcom-msm8916"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_uf896() {
|
|
|
|
pkgdesc="UF896"
|
|
|
|
depends="linux-postmarketos-qcom-msm8916"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_uz801() {
|
|
|
|
pkgdesc="UZ801 V3.0"
|
|
|
|
depends="linux-postmarketos-qcom-msm8916"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2024-02-15 08:21:05 +00:00
|
|
|
107d21ae25dddd8c8ad94658cdd3206ba17cc6f211ed30d4f100ff496512b687c7f1a431de30d847380df3d8433beb356a8fa063aa222112994412f9797517fc deviceinfo
|
2023-03-01 09:45:40 +00:00
|
|
|
"
|