pmaports/device/testing/firmware-samsung-jxelte/APKBUILD
armel.guido 1e7a8a1556
samsung-jxelte: display, USB network and zram fixes (MR 4852)
Added postmarketos-base-downstream and msm-fb-refresher to jxelte
dependencies.
    The modules_install and firmware_install targets install binary
files as the zram files among others.
    Added the 'mfc_fw.bin' binary to be installed from the firmware
package.
    The '0002-fix-usb-gadget-random-mac.patch' patch make it possible
to get ethernet over usb, and the 'disable-charging-bootmode.patch'
avoid error messages on dmesg about 'sec_battery_probe'.

[ci:skip-build]: already built successfully in CI
2024-03-01 12:29:42 +01:00

39 lines
1.5 KiB
Text

pkgname=firmware-samsung-jxelte
pkgver=1
pkgrel=1
pkgdesc="Samsung Galaxy J7 2016 Firmware"
url="https://gitlab.com/android_samsung_universal7870"
arch="aarch64"
license="proprietary"
options="!check !archcheck !tracedeps pmb:cross-native"
_commit="9cf17bec93940d68755158e69b9b3abdf3b4ece1"
_repo="https://gitlab.com/android_samsung_universal7870/vendor/android_vendor_samsung_j7xelte/-/raw/$_commit/proprietary/vendor"
_prefix=$pkgname-$_commit
_files_etc="
bcmdhd_sta.bin
nvram.txt
"
for _file in $_files_etc; do
source="$source $_prefix-$_file::$_repo/etc/wifi/$_file"
done
source="$source $_prefix-mfc_fw.bin::$_repo/firmware/mfc_fw.bin"
package() {
local file
for file in $_files_etc; do
install -Dm644 "$srcdir/$_prefix-$file" \
"$pkgdir/lib/firmware/postmarketos/$file"
done
install -Dm644 "$srcdir/$_prefix-mfc_fw.bin" \
"$pkgdir/lib/firmware/postmarketos/mfc_fw.bin"
}
sha512sums="
3a70de63fc0a842306fc05f66f75ac2fcf7b7726b1a195cf6746c49bb0b563e994c46f6f02c4ad3e3a14819cbc5d5ba930ef0ab720aa1cd2a4839a1d04bf0096 firmware-samsung-jxelte-9cf17bec93940d68755158e69b9b3abdf3b4ece1-bcmdhd_sta.bin
c34bb422662fcfb604ff0942a294d3b8ec360e07ca5b4a586472d42ec37ba60776e010f99f56ce511c5a1779c438605ec7a0fd965dece9b3b70b9e093d7913e3 firmware-samsung-jxelte-9cf17bec93940d68755158e69b9b3abdf3b4ece1-nvram.txt
1aef3df174f07204e59d099242cb2d0ad63d957583723bd9423be5d316c2aa426e9136bfedde8d3b3080b99fb608e6ffce9ca4f419080b79f9bf00732ec99d57 firmware-samsung-jxelte-9cf17bec93940d68755158e69b9b3abdf3b4ece1-mfc_fw.bin
"