2022-05-10 14:46:23 +00:00
|
|
|
|
2021-11-04 12:11:56 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Maintainer: Alexander Martinz <amartinz@shiftphones.com>
|
|
|
|
|
|
|
|
pkgname=device-shift-axolotl
|
|
|
|
pkgdesc="SHIFT6mq"
|
2024-05-12 05:44:27 +00:00
|
|
|
pkgver=15
|
|
|
|
pkgrel=0
|
2021-11-04 12:11:56 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
2021-11-24 17:35:56 +00:00
|
|
|
linux-postmarketos-qcom-sdm845
|
2022-05-16 07:53:17 +00:00
|
|
|
make-dynpart-mappings
|
2021-11-04 12:11:56 +00:00
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
soc-qcom-sdm845
|
|
|
|
soc-qcom-sdm845-ucm
|
2022-06-04 15:47:18 +00:00
|
|
|
soc-qcom-sdm845-qbootctl
|
2022-10-09 14:22:19 +00:00
|
|
|
fwupd>=1.8.6
|
2021-11-04 12:11:56 +00:00
|
|
|
"
|
2023-10-02 11:58:34 +00:00
|
|
|
makedepends="devicepkg-dev postmarketos-test"
|
2021-11-26 16:28:51 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
2024-05-12 05:44:27 +00:00
|
|
|
hexagonrpcd.confd
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
2022-11-01 13:00:35 +00:00
|
|
|
q6voiced.conf
|
2023-05-01 13:19:23 +00:00
|
|
|
81-libssc-shift-axolotl.rules
|
2021-11-26 16:28:51 +00:00
|
|
|
"
|
2023-10-02 11:58:34 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-pmtest
|
|
|
|
"
|
2021-11-04 12:11:56 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2021-11-26 16:28:51 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Modem, GPU and WiFi Firmware, also needed for osk-sdl"
|
2023-05-01 14:24:20 +00:00
|
|
|
depends="
|
|
|
|
firmware-shift-sdm845>=20230815-r2
|
|
|
|
hexagonrpcd
|
|
|
|
soc-qcom-sdm845-nonfree-firmware
|
|
|
|
soc-qcom-sdm845-modem
|
|
|
|
"
|
2024-05-12 05:44:27 +00:00
|
|
|
replaces="hexagonrpcd-openrc"
|
2023-05-01 14:24:20 +00:00
|
|
|
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
2021-11-26 16:28:51 +00:00
|
|
|
mkdir "$subpkgdir"
|
2022-11-01 13:00:35 +00:00
|
|
|
|
|
|
|
install -Dm644 q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
|
2023-05-01 13:19:23 +00:00
|
|
|
install -Dm644 "$srcdir"/81-libssc-shift-axolotl.rules -t "$subpkgdir"/usr/lib/udev/rules.d/
|
2024-05-12 05:44:27 +00:00
|
|
|
install -Dm644 "$srcdir"/hexagonrpcd.confd "$subpkgdir"/etc/conf.d/hexagonrpcd-sdsp
|
2021-11-26 16:28:51 +00:00
|
|
|
}
|
|
|
|
|
2023-10-02 11:58:34 +00:00
|
|
|
pmtest() {
|
|
|
|
depends="bootrr qrtr firmware-shift-sdm845 unl0kr"
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-mkinitfs-hook-ci"
|
|
|
|
install="$subpkgname.post-install"
|
|
|
|
|
|
|
|
devicepkg_pmtest_post_install "ttyMSM0,115200" > "$subpkgname.post-install"
|
|
|
|
}
|
|
|
|
|
2021-11-04 12:11:56 +00:00
|
|
|
sha512sums="
|
2023-12-08 17:56:23 +00:00
|
|
|
e3f8a8d556a3c3134791693f2003aa64465b6971f7e353f547d6f1cbe3a0a0225a225e40ee4dbed951c0fa67f5a4636fd15953f6a3fe23d4f098fa1d39baa8f5 deviceinfo
|
2024-05-12 05:44:27 +00:00
|
|
|
5966325963a3a62c919b5f39f7bc56e1785f192f50c40a6cc644a2fea0c9b8dd083e287ef43c59c2b9cab5c88d65266b0cd9cf1f5110924950bd250be5385622 hexagonrpcd.confd
|
2023-09-05 17:27:04 +00:00
|
|
|
4dc84207c5ca84b33b74139c8b0c9ce5baa8bcb1068df9943c478c02abcf8daccb88e06af63f120a434a115e277008e899305bd5239d8669436cb269889040e9 modules-initfs
|
2022-11-01 13:00:35 +00:00
|
|
|
2a3cbdad5aa91181d24a4e56e63986af6accf887c64fa4d1b6ddad1926e29050243c4b1e2fd892d38ca7c16e24dff8545a16552e5749ae31b6d01bf428468e51 q6voiced.conf
|
2023-05-01 13:19:23 +00:00
|
|
|
3bd3a82b88a7aca4e2df2f5522cee7a98d017994f1dc1a965a7e386be9c17632b9cdbe013feb737dec12e99d74f54a9e4599144193bb57ec18e6d6a18c94cf1f 81-libssc-shift-axolotl.rules
|
2021-11-04 12:11:56 +00:00
|
|
|
"
|