95d375879c
Add pmb:cross-native/!tracedeps to applicable firmware packages and secure both with a test. This sets the pmb:cross-native and !tracedeps options on all firmware-* packages that are compatible with the native compilation method. A unit test ensures the presence of both options while maintaining a list of exempted packages. Fixes: #718 [ci:ignore-count] [ci:skip-vercheck] [ci:skip-build]
37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
pkgname=firmware-samsung-serranovelte
|
|
pkgver=2
|
|
pkgrel=0
|
|
pkgdesc="Firmware for Samsung Galaxy S4 Mini Value Edition"
|
|
url="https://pepethekingprawn.gitlab.io/firmware/"
|
|
subpackages="$pkgname-modem $pkgname-venus $pkgname-wcnss"
|
|
arch="armv7"
|
|
license="proprietary"
|
|
options="!check !strip !archcheck !tracedeps pmb:cross-native"
|
|
source="https://pepethekingprawn.gitlab.io/firmware/GT-I9195I.tar.xz"
|
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
|
|
|
package() {
|
|
# parent package is empty
|
|
mkdir -p "$pkgdir"
|
|
}
|
|
|
|
modem() {
|
|
pkgdesc="Samsung Galaxy S4 Mini Value Edition modem firmware"
|
|
install -Dm644 "$srcdir"/mba.mbn -t "$subpkgdir/$_fwdir"
|
|
install -Dm644 "$srcdir"/modem.* -t "$subpkgdir/$_fwdir"
|
|
}
|
|
|
|
venus() {
|
|
pkgdesc="Samsung Galaxy S4 Mini Value Edition video firmware"
|
|
install -Dm644 "$srcdir"/venus.* -t "$subpkgdir/$_fwdir"/qcom/venus-1.8
|
|
}
|
|
|
|
wcnss() {
|
|
pkgdesc="Samsung Galaxy S4 Mini Value Edition WiFi/BT firmware"
|
|
cd "$srcdir"
|
|
install -Dm644 wcnss.* -t "$subpkgdir/$_fwdir"
|
|
install -Dm644 WCNSS_* -t "$subpkgdir/$_fwdir"/wlan/prima
|
|
}
|
|
|
|
sha512sums="9064ef28a3bb19a193b47f7d689ae397cdccd7cd8469bc8f7cdd4a76006a15c3f57b9a6081b9c4bd1e8499816cf244bc82337f956799a58dfc8ed40130ce5686 GT-I9195I.tar.xz"
|