pmaports/main/msm-firmware-loader/APKBUILD
Oliver Smith a64a9a1ca0
main/msm-firmware-loader: upgrade to 1.1.0 (MR 3797)
[ci:skip-build]: already built successfully in CI
2023-01-10 12:06:52 +01:00

47 lines
1.7 KiB
Text

pkgname=msm-firmware-loader
pkgver=1.1.0
pkgrel=0
pkgdesc="Set of init services to automatically load firmware from device partitions"
url="https://postmarketos.org/"
subpackages="$pkgname-wcnss"
arch="armhf armv7 aarch64"
license="MIT"
install="$pkgname.post-install"
source="
https://gitlab.com/postmarketOS/msm-firmware-loader/-/archive/$pkgver/msm-firmware-loader-$pkgver.tar.gz
msm-firmware-loader.initd
msm-firmware-loader-unpack.initd
"
options="!check"
package() {
mkdir -p "$pkgdir"
install -Dm755 "$srcdir/msm-firmware-loader.initd" \
"$pkgdir/etc/init.d/msm-firmware-loader"
install -Dm755 "$srcdir/msm-firmware-loader-unpack.initd" \
"$pkgdir/etc/init.d/msm-firmware-loader-unpack"
# Create mountpoint for the scripts
mkdir -p "$pkgdir/lib/firmware/msm-firmware-loader"
install -Dm755 msm-firmware-loader.sh \
"$pkgdir/usr/sbin/msm-firmware-loader.sh"
install -Dm755 msm-firmware-loader-unpack.sh \
"$pkgdir/usr/sbin/msm-firmware-loader-unpack.sh"
}
wcnss() {
pkgdesc="Use WiFi/BT firmware from stock firmware partition using $pkgname"
provides="firmware-qcom-msm8916-wcnss=$pkgver-r$pkgrel"
depends="$pkgname"
# empty package, just some magic
mkdir -p "$subpkgdir"
}
sha512sums="
036b8707bf32164f6571dafbfa03954c7fd5e098a66ac4133bc87781ce9d555f9c104b17d2ddc9707ebda4fd20331d35ae16e500b547b00646344e7646f04567 msm-firmware-loader-1.1.0.tar.gz
d9ad3b21564de9a4970a8923b8598fb46a54543ac9f1494676a6833800bc68c64f230737b308fec54aae09c2cf635794e8f1abc46253b0386260b4580587483d msm-firmware-loader.initd
616a28c3a65a45bb65f798989d93daacdeea08a90a9a8538b5bac2d73b2c8b135554ecaf49b4084829f88af760a144802adcd89b50f46bc267d6b04c9c733ff8 msm-firmware-loader-unpack.initd
"