2020-04-15 07:57:10 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-06-20 18:43:46 +00:00
|
|
|
# Maintainer: Jonathan Albrieux <jonathan.albrieux@gmail.com>
|
2020-08-04 09:46:27 +00:00
|
|
|
# Co-Maintainer: Minecrell <minecrell@minecrell.net>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-bq-paella
|
2020-07-11 09:16:39 +00:00
|
|
|
pkgdesc="BQ Aquaris X5"
|
2020-06-20 18:43:46 +00:00
|
|
|
pkgver=3
|
2020-09-27 16:36:53 +00:00
|
|
|
pkgrel=1
|
2020-04-15 07:57:10 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2020-06-09 07:54:42 +00:00
|
|
|
depends="postmarketos-base mkbootimg soc-qcom-msm8916"
|
2020-04-15 07:57:10 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2021-01-11 19:33:35 +00:00
|
|
|
source="deviceinfo"
|
2020-06-09 07:54:42 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
|
|
$pkgname-kernel-mainline-modem:kernel_mainline_modem
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-nonfree-firmware-modem:nonfree_firmware_modem
|
|
|
|
"
|
2020-04-15 07:57:10 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2020-06-09 07:54:42 +00:00
|
|
|
kernel_mainline() {
|
2020-07-11 09:16:39 +00:00
|
|
|
pkgdesc="Close to mainline kernel (no modem, audio routed directly)"
|
2020-06-09 07:54:42 +00:00
|
|
|
depends="linux-postmarketos-qcom-msm8916"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline_modem() {
|
2020-07-11 09:16:39 +00:00
|
|
|
pkgdesc="Close to mainline kernel (non-free modem, audio routed through ADSP)"
|
2020-06-09 07:54:42 +00:00
|
|
|
depends="linux-postmarketos-qcom-msm8916 soc-qcom-msm8916-modem"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2020-04-15 07:57:10 +00:00
|
|
|
nonfree_firmware() {
|
2020-06-20 18:43:46 +00:00
|
|
|
pkgdesc="GPU/WiFi/BT/Video(/Modem) firmware"
|
2020-06-08 20:30:33 +00:00
|
|
|
depends="linux-firmware-qcom firmware-bq-picmt-venus
|
|
|
|
firmware-qcom-msm8916-wcnss firmware-bq-picmt-wcnss-nv"
|
2020-04-15 07:57:10 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2020-06-09 07:54:42 +00:00
|
|
|
nonfree_firmware_modem() {
|
|
|
|
pkgdesc="Modem firmware"
|
|
|
|
depends="firmware-bq-picmt-modem"
|
|
|
|
install_if="$pkgname-nonfree-firmware $pkgname-kernel-mainline-modem"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-01-11 19:33:35 +00:00
|
|
|
sha512sums="3820751ffde4e111d44a8edde789a6ea3d9f4f582f8a9c3bb63ad2621f79ee43d436e97c90d791611ed10c2c28ca1c0a363bcf7b7d563046510f7ff778ac6f5e deviceinfo"
|