samsung-klte: add nonfree_firmware() to device package (!327)

This commit is contained in:
Alexey Min 2019-04-19 15:40:44 +03:00 committed by Oliver Smith
parent 973654c90a
commit b758c7a4b2
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -2,7 +2,7 @@
pkgname="device-samsung-klte"
pkgdesc="Samsung Galaxy S5"
pkgver=0.2
pkgrel=5
pkgrel=6
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@ -12,6 +12,7 @@ makedepends="devicepkg-dev"
subpackages="
$pkgname-kernel-downstream:kernel_downstream
$pkgname-kernel-mainline:kernel_mainline
$pkgname-nonfree-firmware:nonfree_firmware
"
source="deviceinfo"
@ -35,4 +36,10 @@ kernel_mainline() {
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="firmware-samsung-klte"
mkdir "$subpkgdir"
}
sha512sums="186911ec5eb189826aa515e467d95270adbb1ae0eef36133a1ec3928ddab38a1cbd1bbbeaf2965bc02f5b1d1b603e360229c54fd9118b40558ab9e8066a72448 deviceinfo"