2020-10-06 08:27:44 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-xiaomi-libra
|
|
|
|
pkgdesc="Xiaomi Mi 4c"
|
|
|
|
pkgver=0.1
|
2024-01-21 22:56:08 +00:00
|
|
|
pkgrel=5
|
2020-10-06 08:27:44 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-xiaomi-libra mkbootimg msm-fb-refresher"
|
2020-10-06 08:27:44 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-xiaomi-libra wcnss-wlan"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
|
|
|
e3b554c93548a336eddfd276020fd7b545d82a8a32094122dbad730223fa4581f33926d3b44e50ef99cf9884f11bb79d593d4338b33815d3c47cc8adf2c7e767 deviceinfo
|
|
|
|
"
|