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
|
2020-03-18 18:11:51 +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 3 nonfree firmware (GPU, modem, sound, camera, sensors)"
|
|
|
|
depends="
|
|
|
|
linux-firmware-ath10k
|
|
|
|
linux-firmware-qca
|
|
|
|
firmware-oneplus-oneplus3-op3
|
2020-03-18 18:11:51 +00:00
|
|
|
msm-modem-mainline
|
2020-02-17 18:13:13 +00:00
|
|
|
"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
sha512sums="6d54dd43909b9f8cb430969b04e63c3738433845d09cfc1a2c2b94ddcecd1f590080e6d55d447a572a8b88e6f8b181b64d5d32a4239c01e9f0f9ce1940c9dee0 deviceinfo"
|