2020-04-15 07:57:10 +00:00
|
|
|
# Maintainer: Jonathan Albrieux <jonathan.albrieux@gmail.com>
|
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-bq-paella
|
2020-04-15 07:57:10 +00:00
|
|
|
pkgdesc="BQ Aquaris X5 Cyanogen Edition"
|
2020-06-09 07:54:42 +00:00
|
|
|
pkgver=2
|
|
|
|
pkgrel=0
|
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"
|
2020-05-22 06:39:59 +00:00
|
|
|
source="deviceinfo modprobe.conf"
|
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() {
|
|
|
|
pkgdesc="Mainline kernel (no modem, audio routed directly)"
|
|
|
|
depends="linux-postmarketos-qcom-msm8916"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline_modem() {
|
|
|
|
pkgdesc="Mainline kernel (non-free modem, audio routed through ADSP)"
|
|
|
|
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() {
|
|
|
|
pkgdesc="GPU/WiFi/BT/Video firmware"
|
|
|
|
depends="linux-firmware-qcom firmware-bq-picmt-venus firmware-bq-picmt-wcnss"
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="d7550da6176c4dd1beedc904bd56320f59bfec977b57a20979797a12932ee6feb75cd0e7fb3a18dadf1565c9c28077be6131b6a0128af8d3401eb2237c83d801 deviceinfo
|
2020-05-22 06:39:59 +00:00
|
|
|
84ab0cbcdcab61aaceabff46d2c13aa29242a2eeab2f666ee996041f1969396a8124228c204d81aaf0b6427ee51b8a70bfdaa11b53c94390263d8af96a2fd511 modprobe.conf"
|