samsung-coreprimevelte: enable nonfree firmware (MR 3352)

This commit is contained in:
Duje Mihanović 2022-08-10 18:15:04 +02:00 committed by Oliver Smith
parent fce80a1777
commit 194fdc32a9
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -2,13 +2,14 @@
pkgname=device-samsung-coreprimevelte
pkgdesc="Samsung Galaxy Core Prime LTE"
pkgver=0.1
pkgrel=6
pkgrel=7
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-coreprimevelte mkbootimg mesa-dri-gallium u-boot-tools pxa-mkbootimg"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo 90-coreprimevelte.conf"
build() {
@ -20,6 +21,12 @@ package() {
install -Dm444 $startdir/90-coreprimevelte.conf $pkgdir/etc/sysctl.d/90-coreprimevelte.conf
}
nonfree_firmware() {
pkgdesc="Wi-Fi firmware"
depends="firmware-samsung-pxa1908"
mkdir "$subpkgdir"
}
sha512sums="
39a9f0afb2d709983634e14ce7a05fcc4cd631f2e5b31aa971aaba452e11c37d2aba91ae971e33ebaffbd6432da6e3a2c4bbcdbf8708830fb34907e1af4be732 deviceinfo
4854cc57b86e1199dbc165110514e672dabf45044fe9f7ebbde5b2b24768fb5497273b5f38612cf2dfeffc9bf0648c725114b4fa01165bf7fb02f7d741ee5806 90-coreprimevelte.conf