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
|
2024-01-21 22:56:08 +00:00
|
|
|
pkgrel=11
|
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"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs"
|
2020-02-17 18:13:13 +00:00
|
|
|
|
|
|
|
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-12-09 14:49:03 +00:00
|
|
|
firmware-oneplus-oneplus3
|
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"
|
|
|
|
}
|
2023-08-02 17:06:01 +00:00
|
|
|
sha512sums="
|
|
|
|
16ee292fe7ff96b185ecca7041d7602ccd6eda6215dc5ea96e37eba31e9210ca43921df09b82c1b7e55af435b4de26932e14ec0951f0e244235ed5933dcfbc54 deviceinfo
|
|
|
|
cc0bbb074d5ca73910673b571546715d6cdf0195526ee7b873f1795c0181ca62b650ab9899d70b3e0589a6373a5c873c2056dd67f68980f348b45fad6b399dfa modules-initfs
|
|
|
|
"
|