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"
|
2022-03-22 09:37:17 +00:00
|
|
|
pkgver=2
|
|
|
|
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
|
2021-11-04 12:11:56 +00:00
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
postmarketos-update-kernel
|
|
|
|
soc-qcom-sdm845
|
|
|
|
soc-qcom-sdm845-ucm
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
2021-11-26 16:28:51 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
rootston.ini
|
|
|
|
"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-phosh
|
|
|
|
"
|
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"
|
2022-03-22 09:37:17 +00:00
|
|
|
depends="firmware-shift-sdm845 firmware-shift-sdm845-initramfs soc-qcom-sdm845-nonfree-firmware"
|
2021-11-26 16:28:51 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel phosh"
|
|
|
|
install -Dm644 "$srcdir"/rootston.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/rootston.ini
|
|
|
|
}
|
|
|
|
|
2021-11-04 12:11:56 +00:00
|
|
|
sha512sums="
|
2021-11-26 22:11:31 +00:00
|
|
|
bd30bc057e3145118203460914463794b73c1eaf73a8537a87036d316cf42035861788e7047193c1f26e9d7c69686b8c4ffa2b87882eec9ab7dfcc8edbf12394 deviceinfo
|
2021-11-26 16:28:51 +00:00
|
|
|
9fef488a655fcbad4fb28c11d7d6cbe385096e766cd99ca59802f1dbc4e3c99dac0ff682549e02fac0b73f7e95db953f3a87c453d1b19b229785e4ffeec515ed rootston.ini
|
2021-11-04 12:11:56 +00:00
|
|
|
"
|