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"
|
2023-04-15 19:26:22 +00:00
|
|
|
pkgver=9
|
2023-04-29 22:09:49 +00:00
|
|
|
pkgrel=1
|
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
|
2022-06-04 15:47:01 +00:00
|
|
|
soc-qcom-sdm845-qbootctl
|
2021-06-01 22:44:31 +00:00
|
|
|
"
|
2020-05-27 00:05:15 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2022-03-17 07:23:06 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
2022-04-03 09:04:48 +00:00
|
|
|
phoc.ini
|
2022-03-17 07:23:06 +00:00
|
|
|
q6voiced.conf
|
|
|
|
"
|
2021-01-06 17:04:40 +00:00
|
|
|
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"
|
2023-04-29 22:09:49 +00:00
|
|
|
depends="firmware-oneplus-sdm845 firmware-oneplus-sdm845-initramfs
|
|
|
|
soc-qcom-sdm845-nonfree-firmware soc-qcom-sdm845-modem"
|
2020-05-27 00:20:17 +00:00
|
|
|
mkdir "$subpkgdir"
|
2022-03-17 07:23:06 +00:00
|
|
|
|
|
|
|
install -Dm644 q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
|
2020-05-27 00:20:17 +00:00
|
|
|
}
|
|
|
|
|
2021-01-06 17:04:40 +00:00
|
|
|
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-01-06 17:04:40 +00:00
|
|
|
}
|
|
|
|
|
2021-05-30 19:30:18 +00:00
|
|
|
sha512sums="
|
2023-04-15 19:26:22 +00:00
|
|
|
6dd8948f6c23b35c60aa82c4db40b3c2aa766aa2cc53c84d86028f54cc2303201a80d70fe8830cd746f01a8ea2459f55ebbc2412c2e222a7e9e9e1649d9505a5 deviceinfo
|
2022-04-03 09:04:48 +00:00
|
|
|
65f74d29ab318b23f7ac8923a3661f2c4130049273a8c6be234ed2c8e00810b6a1254b54cf0932e42850a6d48f821dcd038900fbb836feeddfab2759afffae38 phoc.ini
|
2022-11-21 01:23:45 +00:00
|
|
|
fe9871c325a38c0cadc9631870801ec15ab9f5b786ee854325b93eb3d23e7d8b1ac4f1075572ffcd225d8ec514dec09b986972ddff12a89260c0218af6de7887 q6voiced.conf
|
2021-05-30 19:30:18 +00:00
|
|
|
"
|