pmaports/device/testing/firmware-xiaomi-rolex/APKBUILD

39 lines
1.4 KiB
Text
Raw Normal View History

xiaomi-rolex: new device (MR 1911) Based on !1158 by @nrdnandan (5 files) new file: device/testing/device-xiaomi-rolex/APKBUILD new file: device/testing/device-xiaomi-rolex/deviceinfo new file: device/testing/linux-xiaomi-rolex/APKBUILD new file: device/testing/linux-xiaomi-rolex/config-xiaomi-rolex.aarch64 new file: firmware/firmware-xiaomi-rolex/APKBUILD Changed deviceinfo : Width x Height was 800x600 to correct dimension -> 720x1280 modified: device/testing/device-xiaomi-rolex/APKBUILD modified: device/testing/device-xiaomi-rolex/deviceinfo Added directfbrc and fb.modes file. Also added SWAP file support swap_size=1024 Added Audio files and rules removed uneccessary lines in deviceinfo. device/xiaomi-rolex: Fix linting issues xiaomi-rolex: Linting fixes; is a handset xiaomi-rolex: Moved firmware/ to device/testing/ xiaomi-rolex: Enable pmb:cross-native for kernel compilation because it is the default for recent apkbuilds xiaomi-rolex: Apply YYLOC patch to build 3.18.140 with gcc-10 (-fno-common) xiaomi-rolex: update patch checksums in kernel APKBUILD xiaomi-rolex: update deviceinfo checksum; replace common patch with a symlink xiaomi-rolex: use mdss patch xiaomi-rolex: use BGRA mdss framebuffer patch xiaomi-rolex: mark myself as maintainer, drop contributor from apkbuilds Refer to git commit history instead to determine contributors xiaomi-rolex: update kernel config for multiple devpts xiaomi-rolex: allow firmware cross-native builds, disable tracedeps per linter [ci:skip-build]: already built successfully in CI
2021-12-08 19:13:59 +00:00
# Maintainer: Denis Tolstov <tolstov_den@mail.ru>
pkgname=firmware-xiaomi-rolex
pkgver=0.1
pkgrel=1
_commit="55441372abe4072f0f174a9614dcbe4b0d4bfcab"
xiaomi-rolex: new device (MR 1911) Based on !1158 by @nrdnandan (5 files) new file: device/testing/device-xiaomi-rolex/APKBUILD new file: device/testing/device-xiaomi-rolex/deviceinfo new file: device/testing/linux-xiaomi-rolex/APKBUILD new file: device/testing/linux-xiaomi-rolex/config-xiaomi-rolex.aarch64 new file: firmware/firmware-xiaomi-rolex/APKBUILD Changed deviceinfo : Width x Height was 800x600 to correct dimension -> 720x1280 modified: device/testing/device-xiaomi-rolex/APKBUILD modified: device/testing/device-xiaomi-rolex/deviceinfo Added directfbrc and fb.modes file. Also added SWAP file support swap_size=1024 Added Audio files and rules removed uneccessary lines in deviceinfo. device/xiaomi-rolex: Fix linting issues xiaomi-rolex: Linting fixes; is a handset xiaomi-rolex: Moved firmware/ to device/testing/ xiaomi-rolex: Enable pmb:cross-native for kernel compilation because it is the default for recent apkbuilds xiaomi-rolex: Apply YYLOC patch to build 3.18.140 with gcc-10 (-fno-common) xiaomi-rolex: update patch checksums in kernel APKBUILD xiaomi-rolex: update deviceinfo checksum; replace common patch with a symlink xiaomi-rolex: use mdss patch xiaomi-rolex: use BGRA mdss framebuffer patch xiaomi-rolex: mark myself as maintainer, drop contributor from apkbuilds Refer to git commit history instead to determine contributors xiaomi-rolex: update kernel config for multiple devpts xiaomi-rolex: allow firmware cross-native builds, disable tracedeps per linter [ci:skip-build]: already built successfully in CI
2021-12-08 19:13:59 +00:00
pkgdesc="Firmware files for Xiaomi Redmi 4A"
url="https://postmarketos.org"
arch="aarch64"
license="proprietary"
options="!strip !check !archcheck !spdx pmb:cross-native !tracedeps"
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06
wcnss.b09 wcnss.b10 wcnss.b11 wcnss.b12 wcnss.mdt
adsp.b00 adsp.b02 adsp.b04 adsp.b06 adsp.b08 adsp.b10
adsp.b12 adsp.b14 adsp.b01 adsp.b03 adsp.b05 adsp.b07
adsp.b09 adsp.b11 adsp.b13 adsp.mdt"
_files_prima="WCNSS_qcom_cfg.ini WCNSS_qcom_wlan_nv.bin WCNSS_wlan_dictionary.dat"
source="$pkgname-$_commit.tar.gz::https://gitlab.com/ALTracer/vendor_xiaomi_rolex/-/archive/$_commit/vendor_xiaomi_rolex-$_commit.tar.gz"
xiaomi-rolex: new device (MR 1911) Based on !1158 by @nrdnandan (5 files) new file: device/testing/device-xiaomi-rolex/APKBUILD new file: device/testing/device-xiaomi-rolex/deviceinfo new file: device/testing/linux-xiaomi-rolex/APKBUILD new file: device/testing/linux-xiaomi-rolex/config-xiaomi-rolex.aarch64 new file: firmware/firmware-xiaomi-rolex/APKBUILD Changed deviceinfo : Width x Height was 800x600 to correct dimension -> 720x1280 modified: device/testing/device-xiaomi-rolex/APKBUILD modified: device/testing/device-xiaomi-rolex/deviceinfo Added directfbrc and fb.modes file. Also added SWAP file support swap_size=1024 Added Audio files and rules removed uneccessary lines in deviceinfo. device/xiaomi-rolex: Fix linting issues xiaomi-rolex: Linting fixes; is a handset xiaomi-rolex: Moved firmware/ to device/testing/ xiaomi-rolex: Enable pmb:cross-native for kernel compilation because it is the default for recent apkbuilds xiaomi-rolex: Apply YYLOC patch to build 3.18.140 with gcc-10 (-fno-common) xiaomi-rolex: update patch checksums in kernel APKBUILD xiaomi-rolex: update deviceinfo checksum; replace common patch with a symlink xiaomi-rolex: use mdss patch xiaomi-rolex: use BGRA mdss framebuffer patch xiaomi-rolex: mark myself as maintainer, drop contributor from apkbuilds Refer to git commit history instead to determine contributors xiaomi-rolex: update kernel config for multiple devpts xiaomi-rolex: allow firmware cross-native builds, disable tracedeps per linter [ci:skip-build]: already built successfully in CI
2021-12-08 19:13:59 +00:00
builddir="$srcdir/vendor_xiaomi_rolex-$_commit"
package() {
# /lib/firmware/postmarketos
for _i in $_files; do
install -D -m644 "$_i" \
"$pkgdir"/lib/firmware/postmarketos/"$_i"
done
# /lib/firmware/postmarketos/wlan/prima
for _i in $_files_prima; do
install -D -m644 wlan/prima/"$_i" \
"$pkgdir"/lib/firmware/postmarketos/wlan/prima/"$_i"
done
}
sha512sums="
91493ed18d462b1aa72df72f06d975a68ef2133b2f6f33971452a77477e5045b8dc9d3842779449407681e49362cdc1a700dcaf3b246f5e5b48450a6edc3cbde firmware-xiaomi-rolex-55441372abe4072f0f174a9614dcbe4b0d4bfcab.tar.gz
"