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
|
2021-04-11 15:59:52 +00:00
|
|
|
pkgrel=4
|
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-03-18 12:20:08 +00:00
|
|
|
sha512sums="5122d7c18b9ea91a17968111c332bac8beeca8454279923fb2fc1d29524f43d74d147aeb594fde9d74855add14ea966648bb2eb036d81056d9fd1617a81dd4ac deviceinfo"
|