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"
|
2021-04-10 21:58:59 +00:00
|
|
|
pkgver=1
|
|
|
|
pkgrel=0
|
2020-05-27 00:05:15 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2021-02-19 21:37:59 +00:00
|
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-sdm845 soc-qcom-sdm845"
|
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() {
|
|
|
|
pkgdesc="Modem, WiFi and GPU Firmware"
|
|
|
|
depends="firmware-oneplus-sdm845"
|
|
|
|
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-04-10 21:58:59 +00:00
|
|
|
sha512sums="034def213ac5720be477251f9ba1ece31b733716f8372cdb58e36d405f0a4d651abb5943fd9d5fb55c20c8dcaac4398372ddace863a4cae589bb62e3599af453 deviceinfo
|
2021-01-08 11:58:32 +00:00
|
|
|
035f97e328ff9f976b082e66b97f76036cdee9825f3022471c7c5d371291cc4b5bd5c18196cd49f4cd9ad6390abe691b506de3b221e3c122433d5620e3b3c4c9 rootston.ini"
|