pmaports/device/testing/firmware-samsung-j5/APKBUILD
Raymond Hackley c9163b1581
samsung-j5: solve potential filename conflict (MR 4438)
ERROR: the source file 'WCNSS_qcom_wlan_nv.bin' has different checksums in the following files:
- device/testing/firmware-samsung-j5/APKBUILD: 742ee81d034116cf1ecdfae5f75495e6b10ce5be0c2a999b6c8a2c161b1da8b48d6810d5405edb8c829b96fdf75e45a565c74963c76d1bca4aaedf28572fa91f
...

Fix this by setting a different target filename in the package you modified:
https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#source

[ci:skip-build]: already built successfully in CI
2023-10-02 23:37:48 +02:00

28 lines
870 B
Text

pkgname=firmware-samsung-j5
pkgver=1
pkgrel=1
_name="Samsung Galaxy J5 (2015)"
pkgdesc="Firmware for $_name"
url="https://postmarketos.org"
subpackages="$pkgname-wcnss-nv:wcnss_nv"
arch="aarch64"
license="proprietary"
options="!check !strip !archcheck !tracedeps pmb:cross-native"
source="$pkgname-WCNSS_qcom_wlan_nv.bin::https://github.com/nergzd723/j53g_firmware/raw/master/WCNSS_qcom_wlan_nv.bin"
_fwdir="/lib/firmware/postmarketos"
package() {
# parent package is empty
mkdir -p "$pkgdir"
}
wcnss_nv() {
pkgdesc="$_name WiFi/BT firmware configuration"
install -Dm644 "$srcdir"/$pkgname-WCNSS_qcom_wlan_nv.bin \
"$subpkgdir/$_fwdir"/wlan/prima/WCNSS_qcom_wlan_nv.bin
}
sha512sums="
742ee81d034116cf1ecdfae5f75495e6b10ce5be0c2a999b6c8a2c161b1da8b48d6810d5405edb8c829b96fdf75e45a565c74963c76d1bca4aaedf28572fa91f firmware-samsung-j5-WCNSS_qcom_wlan_nv.bin
"