2020-05-27 00:05:15 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Maintainer: Caleb Connolly <caleb@connolly.tech>
|
|
|
|
|
|
|
|
pkgname=device-oneplus-enchilada
|
|
|
|
pkgdesc="OnePlus 6"
|
2021-06-01 22:44:31 +00:00
|
|
|
pkgver=3
|
2021-04-10 21:57:10 +00:00
|
|
|
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:44:31 +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-06 17:04:40 +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:30:18 +00:00
|
|
|
pkgdesc="Modem, WiFi and GPU Firmware, also needed for osk-sdl"
|
|
|
|
depends="firmware-oneplus-sdm845 firmware-oneplus-sdm845-initramfs"
|
2020-05-27 00:20:17 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-01-06 17:04:40 +00:00
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel phosh"
|
|
|
|
install -Dm644 "$srcdir"/rootston.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/rootston.ini
|
|
|
|
}
|
|
|
|
|
2021-05-30 19:30:18 +00:00
|
|
|
sha512sums="
|
2021-06-01 22:44:31 +00:00
|
|
|
f1ed55145084a9d9e8c6110079188fd68b5cf8982f904db928eaabe72f538ac0e026d374a19d3588b9b6d4350bb0a238510e0160cb5ebbcc6e6901ba6811e59b deviceinfo
|
2021-05-30 19:30:18 +00:00
|
|
|
035f97e328ff9f976b082e66b97f76036cdee9825f3022471c7c5d371291cc4b5bd5c18196cd49f4cd9ad6390abe691b506de3b221e3c122433d5620e3b3c4c9 rootston.ini
|
|
|
|
"
|