2023-01-04 21:36:37 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Maintainer: Minecrell <minecrell@minecrell.net>
|
|
|
|
pkgname=device-lg-c50
|
|
|
|
pkgdesc="LG Leon LTE"
|
2024-02-15 08:21:05 +00:00
|
|
|
pkgver=2
|
|
|
|
pkgrel=0
|
2023-01-04 21:36:37 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
|
|
|
|
soc-qcom-msm8916 soc-qcom-msm8916-rproc"
|
|
|
|
makedepends="devicepkg-dev"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs phoc.ini"
|
2023-01-04 21:36:37 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-phosh
|
|
|
|
"
|
|
|
|
_pmb_select="soc-qcom-msm8916-rproc"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
|
|
|
|
depends="firmware-qcom-adreno-a300 msm-firmware-loader
|
|
|
|
firmware-qcom-msm8916-wcnss firmware-lg-c50-wcnss-nv
|
|
|
|
firmware-qcom-msm8916-venus"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname postmarketos-ui-phosh"
|
|
|
|
install -Dm644 "$srcdir"/phoc.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2024-02-15 08:21:05 +00:00
|
|
|
c8f4caab0bd7dc042a9e58b2df12685a64a9d9d81bd016731ae95721528e3f2c88b439ecb69013f6bff6aed565188a14f6e79dfdc60aa3a42f0b1fab52a7241f deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
11cd680cf30411fdb5d3036cdcd8bebfb8a7999a7386e837235b03377d521c7e5bf150da35da95aad56b4878c7af6637c738f099fe139a268dfb8a566f48b5dd modules-initfs
|
2023-01-04 21:36:37 +00:00
|
|
|
1a87b0303bb77bbe98a4100934da9a6e9533e5cefe985a73ec29bd50e1588d9a9ac9f5a126b450eecfa83fe6289013825a76fe699fce2bd3afbdc90cd83cf8d9 phoc.ini
|
|
|
|
"
|