2020-02-17 18:13:13 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-oneplus-oneplus3
|
2020-02-17 18:13:13 +00:00
|
|
|
pkgdesc="OnePlus 3"
|
|
|
|
pkgver=1
|
2021-04-11 15:59:52 +00:00
|
|
|
pkgrel=6
|
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
|
|
|
|
reboot-mode
|
2021-03-27 13:51:58 +00:00
|
|
|
soc-qcom-msm8996
|
2020-02-17 18:13:13 +00:00
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2021-03-27 13:51:58 +00:00
|
|
|
pkgdesc="OnePlus 3 nonfree firmware (GPU, modem, sound, camera, sensors, WiFi, bluetooth)"
|
2020-02-17 18:13:13 +00:00
|
|
|
depends="
|
2021-03-27 13:51:58 +00:00
|
|
|
firmware-oneplus-oneplus3-op3
|
2020-02-17 18:13:13 +00:00
|
|
|
linux-firmware-ath10k
|
|
|
|
linux-firmware-qca
|
2021-03-27 13:51:58 +00:00
|
|
|
soc-qcom-msm8996-nonfree-firmware
|
2020-02-17 18:13:13 +00:00
|
|
|
"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
2020-05-17 13:33:49 +00:00
|
|
|
sha512sums="10a1d2ba145d71dc9d97dd471fe5e0a738a23783d9773e2fa1d1b91c5190c3fb535c0babd1ce3c397908769a55be0819b9f8d6a5167eaf11b76ac6e5511ed70f deviceinfo"
|