55503f0e52
There is already samsung-a3ulte in community, and the devices actually share the same kernel, device tree, and basically everything except firmware. We just need separate firmware packages because Samsung uses different secure boot certificates on a3lte and a3ulte. They also share the same wiki page which suggests installation using the pre-built images now, so having pre-built images only for samsung-a3ulte is quite confusing for users. The situation is similar as for samsung-a5ulte and samsung-a5lte which also are both in community already.
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
pkgname=firmware-samsung-a3lte
|
|
pkgver=1
|
|
pkgrel=0
|
|
pkgdesc="Firmware for Samsung Galaxy A3 (SM-A300F)"
|
|
url="https://rizzotherat.gitlab.io/firmware/"
|
|
subpackages="$pkgname-modem $pkgname-venus $pkgname-wcnss"
|
|
arch="aarch64"
|
|
license="proprietary"
|
|
options="!check !strip !archcheck"
|
|
source="https://pepethekingprawn.gitlab.io/firmware/SM-A300F.tar.xz"
|
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
|
|
|
package() {
|
|
# parent package is empty
|
|
mkdir -p "$pkgdir"
|
|
}
|
|
|
|
modem() {
|
|
pkgdesc="Samsung Galaxy A3 (SM-A300F) modem firmware"
|
|
install -Dm644 "$srcdir"/mba.mbn -t "$subpkgdir/$_fwdir"
|
|
install -Dm644 "$srcdir"/modem.* -t "$subpkgdir/$_fwdir"
|
|
}
|
|
|
|
venus() {
|
|
pkgdesc="Samsung Galaxy A3 (SM-A300F) video firmware"
|
|
install -Dm644 "$srcdir"/venus.* -t "$subpkgdir/$_fwdir"/qcom/venus-1.8
|
|
}
|
|
|
|
wcnss() {
|
|
pkgdesc="Samsung Galaxy A3 (SM-A300F) WiFi/BT firmware"
|
|
cd "$srcdir"
|
|
install -Dm644 wcnss.* -t "$subpkgdir/$_fwdir"
|
|
install -Dm644 WCNSS_* -t "$subpkgdir/$_fwdir"/wlan/prima
|
|
}
|
|
|
|
sha512sums="7aeeeca56f629589a02434f6e24ac141139d1080fae369864450917fb3ad2bc8a64803201e9771ff932bf79a379207772b975fc4c184561338e87213093380df SM-A300F.tar.xz"
|