
For more information, see this wiki entry: - https://wiki.postmarketos.org/wiki/Android_dynamic_partitions Change-Id: Iaf4ba715bc7226d43e05213cd5bd6ce82d327b7e Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
54 lines
1.3 KiB
Text
54 lines
1.3 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Maintainer: Alexander Martinz <amartinz@shiftphones.com>
|
|
|
|
pkgname=device-shift-axolotl
|
|
pkgdesc="SHIFT6mq"
|
|
pkgver=3
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
linux-postmarketos-qcom-sdm845
|
|
make-dynpart-mappings
|
|
mkbootimg
|
|
postmarketos-base
|
|
postmarketos-update-kernel
|
|
soc-qcom-sdm845
|
|
soc-qcom-sdm845-ucm
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
source="
|
|
deviceinfo
|
|
phoc.ini
|
|
"
|
|
subpackages="
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
$pkgname-phosh
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Modem, GPU and WiFi Firmware, also needed for osk-sdl"
|
|
depends="firmware-shift-sdm845 firmware-shift-sdm845-initramfs soc-qcom-sdm845-nonfree-firmware"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
phosh() {
|
|
install_if="$pkgname=$pkgver-r$pkgrel phosh"
|
|
install -Dm644 "$srcdir"/phoc.ini \
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
|
}
|
|
|
|
sha512sums="
|
|
07d778731a9f6be09bf45b98068b27ca2650f5de21745ea06c141542d1e6be578b2141ff03e72354e9363a0eaf0aa95505510bb033aa4e2b40144cec35b5bc3d deviceinfo
|
|
65f74d29ab318b23f7ac8923a3661f2c4130049273a8c6be234ed2c8e00810b6a1254b54cf0932e42850a6d48f821dcd038900fbb836feeddfab2759afffae38 phoc.ini
|
|
"
|