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-10-04 16:00:23 +00:00
|
|
|
pkgver=11
|
|
|
|
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
|
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="
|
2023-10-04 16:00:23 +00:00
|
|
|
10-unl0kr.conf
|
2022-03-17 07:23:06 +00:00
|
|
|
deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
2022-03-17 07:23:06 +00:00
|
|
|
q6voiced.conf
|
|
|
|
"
|
2023-06-27 21:10:19 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2020-05-27 00:05:15 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2023-10-04 16:00:23 +00:00
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/10-unl0kr.conf \
|
|
|
|
"$pkgdir"/etc/unl0kr.conf.d/10-unl0kr.conf
|
2020-05-27 00:05:15 +00:00
|
|
|
}
|
|
|
|
|
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-05-30 19:30:18 +00:00
|
|
|
sha512sums="
|
2023-10-04 16:00:23 +00:00
|
|
|
e957b7b0ed219eaa56be6c6b976b60886f73970703fdebf045800154ee652affee4e19654b3ac4244b29bcf6760ad3db6cb87143dc9c4673e905800d751103d1 10-unl0kr.conf
|
2023-08-02 17:06:01 +00:00
|
|
|
71b4d74cebe22556b2c819fdb6b279366c9a566cb077f6e6e80c0c0b2e7c7fca48ea23ffbacca5cce4c636d8f3e66ad8f66ce36e954644242f6b5a71c89f9ed6 deviceinfo
|
|
|
|
ea8709aa214cffaefb1d486c0c47044537446faebff16efb3b015623f043f730b7121e401c676e43aa8868bd6c630fc8a2d7dbf5fb082490e9b5493e0405b66d modules-initfs
|
2022-11-21 01:23:45 +00:00
|
|
|
fe9871c325a38c0cadc9631870801ec15ab9f5b786ee854325b93eb3d23e7d8b1ac4f1075572ffcd225d8ec514dec09b986972ddff12a89260c0218af6de7887 q6voiced.conf
|
2021-05-30 19:30:18 +00:00
|
|
|
"
|