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"
|
2022-06-06 20:19:01 +00:00
|
|
|
pkgver=5
|
2022-06-04 15:47:18 +00:00
|
|
|
pkgrel=1
|
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
|
|
|
|
postmarketos-update-kernel
|
|
|
|
soc-qcom-sdm845
|
|
|
|
soc-qcom-sdm845-ucm
|
2022-06-04 15:47:18 +00:00
|
|
|
soc-qcom-sdm845-qbootctl
|
2021-11-04 12:11:56 +00:00
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
2021-11-26 16:28:51 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
2022-04-03 09:04:48 +00:00
|
|
|
phoc.ini
|
2021-11-26 16:28:51 +00:00
|
|
|
"
|
|
|
|
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"
|
2022-04-03 09:04:48 +00:00
|
|
|
install -Dm644 "$srcdir"/phoc.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
2021-11-26 16:28:51 +00:00
|
|
|
}
|
|
|
|
|
2021-11-04 12:11:56 +00:00
|
|
|
sha512sums="
|
2022-06-06 20:19:01 +00:00
|
|
|
6a075c5ea73bc2700cc5cb0325599e19b1380358f95938367150082253ab909140e2a02a496343a94b0b98b9e21a862953a0db4a023f5ceda9b7cef98250210f deviceinfo
|
2022-04-03 09:04:48 +00:00
|
|
|
65f74d29ab318b23f7ac8923a3661f2c4130049273a8c6be234ed2c8e00810b6a1254b54cf0932e42850a6d48f821dcd038900fbb836feeddfab2759afffae38 phoc.ini
|
2021-11-04 12:11:56 +00:00
|
|
|
"
|