2019-07-08 18:20:20 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-05-27 04:33:49 +00:00
|
|
|
# Maintainer: Nikita Travkin <nikitos.tr@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-wileyfox-crackling
|
2019-07-08 18:20:20 +00:00
|
|
|
pkgdesc="Wileyfox Swift"
|
2020-04-04 16:00:14 +00:00
|
|
|
pkgver=3
|
2021-04-11 15:59:52 +00:00
|
|
|
pkgrel=3
|
2019-07-08 18:20:20 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2020-04-04 15:50:19 +00:00
|
|
|
depends="postmarketos-base mkbootimg soc-qcom-msm8916"
|
2019-07-08 18:20:20 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2021-01-11 19:33:35 +00:00
|
|
|
source="deviceinfo"
|
2019-07-12 19:42:56 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
2020-01-18 11:40:15 +00:00
|
|
|
$pkgname-kernel-mainline-modem:kernel_mainline_modem
|
2019-07-12 19:42:56 +00:00
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
2020-01-18 11:40:15 +00:00
|
|
|
$pkgname-nonfree-firmware-modem:nonfree_firmware_modem
|
2019-07-12 19:42:56 +00:00
|
|
|
"
|
|
|
|
|
2019-07-08 18:20:20 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2019-07-12 19:42:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline() {
|
2021-01-06 18:02:49 +00:00
|
|
|
pkgdesc="Close to mainline kernel (no modem, audio routed directly)"
|
2020-04-04 15:50:19 +00:00
|
|
|
depends="linux-postmarketos-qcom-msm8916"
|
2019-07-12 19:42:56 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2020-01-18 11:40:15 +00:00
|
|
|
kernel_mainline_modem() {
|
2021-01-06 18:02:49 +00:00
|
|
|
pkgdesc="Close to mainline kernel (non-free modem, audio routed through ADSP)"
|
2020-04-04 15:50:19 +00:00
|
|
|
depends="linux-postmarketos-qcom-msm8916 soc-qcom-msm8916-modem"
|
2019-07-12 19:42:56 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2020-01-18 11:40:15 +00:00
|
|
|
pkgdesc="GPU/WiFi/BT/Video(/Modem) firmware"
|
2019-07-12 19:42:56 +00:00
|
|
|
depends="linux-firmware-qcom firmware-wileyfox-crackling-venus firmware-wileyfox-crackling-wcnss"
|
|
|
|
mkdir "$subpkgdir"
|
2019-07-08 18:20:20 +00:00
|
|
|
}
|
|
|
|
|
2020-01-18 11:40:15 +00:00
|
|
|
nonfree_firmware_modem() {
|
|
|
|
pkgdesc="Modem firmware"
|
|
|
|
depends="firmware-wileyfox-crackling-modem"
|
|
|
|
install_if="$pkgname-nonfree-firmware $pkgname-kernel-mainline-modem"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-01-06 18:02:49 +00:00
|
|
|
sha512sums="d1d9a7be40ff1273c844544f80788270e92c409add355c30500f4f6405f688744bd944c192330e4c62e256bd53f26772af4ec59a62861ac71110d993c83d6c14 deviceinfo"
|