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"
|
2024-02-15 08:21:05 +00:00
|
|
|
pkgver=8
|
2024-06-18 19:53:59 +00:00
|
|
|
pkgrel=1
|
2019-07-08 18:20:20 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2021-10-24 12:48:45 +00:00
|
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
|
|
|
|
soc-qcom-msm8916 soc-qcom-msm8916-rproc"
|
2019-07-08 18:20:20 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2021-11-22 10:56:06 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
2021-11-22 10:56:06 +00:00
|
|
|
10-crackling-proximity.rules
|
|
|
|
"
|
2019-07-12 19:42:56 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
2021-10-24 12:48:45 +00:00
|
|
|
_pmb_select="soc-qcom-msm8916-rproc"
|
|
|
|
|
|
|
|
# Backwards compatibility for old kernel variant subpackages
|
|
|
|
replaces="$pkgname-kernel-mainline $pkgname-kernel-mainline-modem"
|
|
|
|
for pkg in $replaces; do provides="$provides $pkg=$pkgver-r$pkgrel"; done
|
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
|
2021-11-22 10:56:06 +00:00
|
|
|
|
|
|
|
install -D -m644 "$srcdir"/10-crackling-proximity.rules \
|
|
|
|
"$pkgdir"/usr/lib/udev/rules.d/10-crackling-proximity.rules
|
2019-07-12 19:42:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2021-10-19 08:31:47 +00:00
|
|
|
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
|
|
|
|
depends="firmware-qcom-adreno-a300 msm-firmware-loader
|
|
|
|
firmware-wileyfox-crackling-wcnss-nv firmware-wileyfox-crackling-venus"
|
2020-01-18 11:40:15 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
2024-06-18 19:53:59 +00:00
|
|
|
fb5ff1648128331dff061026e8c783a26f66dea4530de6ad3a27620e1aa0fc516e8c0b2f04fe3f6e9e5ce882b77b415d93981532c546129949caec802cdda883 deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
31f926acffed502edca7d6a26c97c197970b842122df42a1ea5c63f2707b4375465eae77a754f5d58f556f55e1f5f421af21a92ca6165a3a4bacf55c5fbf7faf modules-initfs
|
2021-11-22 10:56:06 +00:00
|
|
|
a845e860cf43e58818bbffda62a9514e9a24527e14c485dd10944587b29dbf5864a1d3ec17d219c342512fac4bd6c25f5f0f4efb8883b8f383a79846759318ee 10-crackling-proximity.rules
|
2021-07-07 05:06:17 +00:00
|
|
|
"
|