2020-02-17 18:13:13 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-oneplus-oneplus3t
|
2020-02-17 18:13:13 +00:00
|
|
|
pkgdesc="OnePlus 3T"
|
2022-07-31 20:50:04 +00:00
|
|
|
pkgver=1.1
|
|
|
|
pkgrel=0
|
2020-02-17 18:13:13 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-07-31 20:50:04 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-kernel-s6e3fa3:kernel_s6e3fa3
|
|
|
|
$pkgname-kernel-s6e3fa5:kernel_s6e3fa5
|
|
|
|
"
|
2020-02-17 18:13:13 +00:00
|
|
|
depends="
|
|
|
|
postmarketos-base
|
|
|
|
mkbootimg
|
2021-03-27 13:52:31 +00:00
|
|
|
soc-qcom-msm8996
|
2020-02-17 18:13:13 +00:00
|
|
|
reboot-mode
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2021-03-27 13:52:31 +00:00
|
|
|
pkgdesc="OnePlus 3T nonfree firmware (GPU, modem, sound, camera, sensors, WiFi, bluetooth)"
|
2020-02-17 18:13:13 +00:00
|
|
|
depends="
|
2021-12-09 14:50:20 +00:00
|
|
|
firmware-oneplus-oneplus3t
|
2020-02-17 18:13:13 +00:00
|
|
|
linux-firmware-ath10k
|
|
|
|
linux-firmware-qca
|
2021-03-27 13:52:31 +00:00
|
|
|
soc-qcom-msm8996-nonfree-firmware
|
2020-02-17 18:13:13 +00:00
|
|
|
"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
2022-07-31 20:50:04 +00:00
|
|
|
|
|
|
|
kernel_s6e3fa3() {
|
|
|
|
pkgdesc="Samsung S6E3FA3 Panel. To find out which panel your device uses run cat /proc/cmdline in TWRP terminal"
|
|
|
|
depends="linux-postmarketos-qcom-msm8996"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_s6e3fa5() {
|
|
|
|
pkgdesc="Samsung S6E3FA5 Panel. To find out which panel your device uses run cat /proc/cmdline in TWRP terminal"
|
|
|
|
depends="linux-postmarketos-qcom-msm8996"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2022-07-19 18:26:37 +00:00
|
|
|
sha512sums="
|
2022-07-31 20:50:04 +00:00
|
|
|
cb5d3f287303d509dfa3db9c54a94b1cd49bfc7c113dc16e1caa3889bb78c97bcbe9f6aefab3191853150a5806846ee8ced497c0aed9d2a70faf257068b9cc4b deviceinfo
|
2022-07-19 18:26:37 +00:00
|
|
|
"
|