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
|
2020-03-18 18:12:01 +00:00
|
|
|
pkgrel=1
|
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
|
|
|
|
mesa-dri-gallium
|
|
|
|
reboot-mode
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="OnePlus 3T nonfree firmware (GPU, modem, sound, camera, sensors)"
|
|
|
|
depends="
|
|
|
|
linux-firmware-ath10k
|
|
|
|
linux-firmware-qca
|
|
|
|
firmware-oneplus-oneplus3-op3t
|
2020-03-18 18:12:01 +00:00
|
|
|
msm-modem-mainline
|
2020-02-17 18:13:13 +00:00
|
|
|
"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
sha512sums="1f437d815e53a945f8d353ae49e849a91a878799905053dce8b075c0e2b9665a266e72999c97f904146362c9985d9ae6cdb42df1c7ed58ecb7fe8fa376e3a612 deviceinfo"
|