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"
|
|
|
|
pkgver=1
|
2022-07-19 18:26:37 +00:00
|
|
|
pkgrel=9
|
2020-02-17 18:13:13 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
depends="
|
|
|
|
postmarketos-base
|
|
|
|
linux-postmarketos-qcom-msm8996
|
|
|
|
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-19 18:26:37 +00:00
|
|
|
sha512sums="
|
|
|
|
facdd94cdeebcabfcaa3aa06ecd7f0b3d573352afd1673c60e4598bbd1aa2889c04ccd5b319efdc5638acbb051a8871ff20fe4b22db087d05a9d266cc86d406f deviceinfo
|
|
|
|
"
|