Files
pmaports-rtwo/device/testing/device-oneplus-oneplus3/APKBUILD
T
Luca Weiss 67bc6ac0d3 device/*: Drop redundant deviceinfo variable assignments
[Warning!] deviceinfo_append_dtb: Property is set to its default value (false) and can be removed.
[Warning!] deviceinfo_append_dtb_lts: Property is set to its default value (false) and can be removed.
[Warning!] deviceinfo_append_dtb_exynos4: Property is set to its default value (false) and can be removed.
sed -i '/^deviceinfo_append_dtb\(_.*\)\?="false"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_external_storage: Property is set to its default value (false) and can be removed.
sed -i '/^deviceinfo_external_storage="false"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_disable_dhcpd: Property is set to its default value (false) and can be removed.
sed -i '/^deviceinfo_disable_dhcpd="false"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_bootimg_qcdt: Property is set to its default value (false) and can be removed.
sed -i '/^deviceinfo_bootimg_qcdt="false"/d' device/*/*/deviceinfo

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8035>
2026-02-18 22:04:40 +01:00

44 lines
1.1 KiB
Bash

# Reference: <https://postmarketos.org/devicepkg>
maintainer=""
pkgname=device-oneplus-oneplus3
pkgdesc="OnePlus 3"
pkgver=3
pkgrel=0
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
soc-qcom-msm8996
"
makedepends="devicepkg-dev"
source="deviceinfo modules-initfs"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="OnePlus 3 nonfree firmware (GPU, modem, sound, camera, sensors, WiFi, bluetooth)"
depends="
firmware-oneplus-oneplus3
linux-firmware-ath10k
linux-firmware-qca
soc-qcom-msm8996-nonfree-firmware
"
mkdir "$subpkgdir"
}
sha512sums="
dc421d6ef831029b9b0305a06889c8c69c0f1a85ae8a6acce1073cf9162dd19643f637f6dd12d378b0ba6f7404c502a440c886c6d7f1e2e656f7fdfcf04bac5b deviceinfo
cc0bbb074d5ca73910673b571546715d6cdf0195526ee7b873f1795c0181ca62b650ab9899d70b3e0589a6373a5c873c2056dd67f68980f348b45fad6b399dfa modules-initfs
"