2020-05-27 00:05:15 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Maintainer: Caleb Connolly <caleb@connolly.tech>
|
|
|
|
|
|
|
|
pkgname=device-oneplus-fajita
|
2020-05-27 00:20:17 +00:00
|
|
|
pkgdesc="OnePlus 6T"
|
2022-03-17 07:27:34 +00:00
|
|
|
pkgver=5
|
|
|
|
pkgrel=0
|
2020-05-27 00:05:15 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2021-06-01 22:46:27 +00:00
|
|
|
depends="
|
|
|
|
linux-postmarketos-qcom-sdm845
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
postmarketos-update-kernel
|
|
|
|
soc-qcom-sdm845
|
|
|
|
soc-qcom-sdm845-ucm
|
|
|
|
"
|
2020-05-27 00:05:15 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2021-01-08 11:58:32 +00:00
|
|
|
source="deviceinfo rootston.ini"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware $pkgname-phosh"
|
2020-05-27 00:05:15 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2020-05-27 00:20:17 +00:00
|
|
|
nonfree_firmware() {
|
2021-05-30 19:32:11 +00:00
|
|
|
pkgdesc="Modem, WiFi and GPU Firmware, also needed for osk-sdl"
|
2022-03-17 07:27:34 +00:00
|
|
|
depends="firmware-oneplus-sdm845 firmware-oneplus-sdm845-initramfs soc-qcom-sdm845-nonfree-firmware"
|
2020-05-27 00:20:17 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-01-08 11:58:32 +00:00
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel phosh"
|
|
|
|
install -Dm644 "$srcdir"/rootston.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/rootston.ini
|
|
|
|
}
|
|
|
|
|
2021-05-30 19:32:11 +00:00
|
|
|
sha512sums="
|
2021-08-07 15:12:49 +00:00
|
|
|
cd8b94751890fd8891e5eafbc4f668a068885d184ad9b93366c882cfafa798e4bc77fa548532796a278b5acdf15dbf1110a1a581823567deaa00b90a72796959 deviceinfo
|
|
|
|
9fef488a655fcbad4fb28c11d7d6cbe385096e766cd99ca59802f1dbc4e3c99dac0ff682549e02fac0b73f7e95db953f3a87c453d1b19b229785e4ffeec515ed rootston.ini
|
2021-05-30 19:32:11 +00:00
|
|
|
"
|