2020-03-08 19:26:46 +00:00
|
|
|
pkgname=msm-modem
|
2021-06-30 04:58:19 +00:00
|
|
|
pkgver=4
|
2021-08-01 09:58:08 +00:00
|
|
|
pkgrel=1
|
2020-03-08 19:26:46 +00:00
|
|
|
pkgdesc="Common support for Qualcomm MSM modems"
|
|
|
|
url="https://postmarketos.org/"
|
|
|
|
arch="armhf armv7 aarch64"
|
|
|
|
license="GPL-3.0-or-later"
|
2020-05-27 16:17:51 +00:00
|
|
|
depends="rmtfs rmtfs-openrc"
|
2020-03-08 19:26:46 +00:00
|
|
|
install="$pkgname.post-install"
|
2021-06-30 04:58:19 +00:00
|
|
|
subpackages="$pkgname-rpmsg $pkgname-downstream $pkgname-uim-selection:uim_selection"
|
|
|
|
source="
|
|
|
|
msm-modem-downstream.initd
|
|
|
|
msm-modem-uim-selection.initd
|
|
|
|
udev-rpmsg.rules
|
|
|
|
udev-downstream.rules
|
|
|
|
"
|
2020-03-08 19:26:46 +00:00
|
|
|
options="!check"
|
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "$pkgdir"
|
|
|
|
}
|
|
|
|
|
2020-06-21 13:07:32 +00:00
|
|
|
rpmsg() {
|
|
|
|
pkgdesc="$pkgdesc (via RPMSG)"
|
2020-03-08 19:26:46 +00:00
|
|
|
depends="$pkgname rpmsgexport"
|
|
|
|
|
2020-06-21 13:07:32 +00:00
|
|
|
install -Dm644 "$srcdir/udev-rpmsg.rules" "$subpkgdir/usr/lib/udev/rules.d/55-$pkgname.rules"
|
2020-03-08 19:26:46 +00:00
|
|
|
}
|
|
|
|
|
2021-06-30 04:58:19 +00:00
|
|
|
uim_selection() {
|
|
|
|
pkgdesc="$pkgdesc (UIM selection)"
|
|
|
|
depends="$pkgname libqmi"
|
|
|
|
install="$subpkgname.post-install"
|
|
|
|
|
|
|
|
install -Dm755 "$srcdir/$subpkgname.initd" "$subpkgdir/etc/init.d/$subpkgname"
|
|
|
|
}
|
|
|
|
|
2020-03-08 19:26:46 +00:00
|
|
|
downstream() {
|
|
|
|
pkgdesc="$pkgdesc (downstream)"
|
2020-10-07 15:07:04 +00:00
|
|
|
depends="$pkgname libqipcrtr4msmipc libsmdpkt_wrapper keepfileopen"
|
|
|
|
install="$subpkgname.post-install"
|
2020-03-08 19:26:46 +00:00
|
|
|
|
2020-10-07 15:07:04 +00:00
|
|
|
install -Dm755 "$srcdir/$subpkgname.initd" "$subpkgdir/etc/init.d/$subpkgname"
|
2020-03-08 19:26:46 +00:00
|
|
|
install -Dm644 "$srcdir/udev-downstream.rules" "$subpkgdir/usr/lib/udev/rules.d/55-$pkgname.rules"
|
|
|
|
}
|
|
|
|
|
2021-06-30 04:58:19 +00:00
|
|
|
sha512sums="
|
|
|
|
3172f8c409f552f13d1da29f14ab6c79072cd6da4acab151a1a0ea1858a416974456852609f14fe29cf97a6a45e60b99d0a57ddcde751da243ee5ac6fa8b672c msm-modem-downstream.initd
|
2021-08-01 09:58:08 +00:00
|
|
|
28668a53eb5854d89ae509d0187092610dfe26c4f5b30b9424240c320095fd40742974bf8daa18aa2759ffb4a3d1fff74b2ed063018082ff5dc5cbc45d52d8ab msm-modem-uim-selection.initd
|
2020-10-07 15:07:04 +00:00
|
|
|
11437625988fcf57aa0b70f11496c458d4516de16391c2869ae975362f282d21d3af521a41dea00312797d20d52be5112dbf0041986bfb40f3b9fa5948d2c695 udev-rpmsg.rules
|
2021-06-30 04:58:19 +00:00
|
|
|
2a511c2e249d0ec5a52f04ffe1ef3d29cf3c4813143b103e54879ff89176ea45b1a5ffe21cb7dc2f1cdd84c3102ba45ef9926ed37e00b1ae12a36d01de35ea5a udev-downstream.rules
|
|
|
|
"
|