pmaports/device/testing/device-samsung-m0/APKBUILD
Henrik Grimler 33d94e95dd
firmware-samsung-m0: fix wifi on mainline, and add bt fw (MR 2873)
With this wifi seem to work reliably, and it is possibly to for
example connect to a bluetooth speaker and play music.

For wifi, issue seem to be with the nvram_net.txt file, changing only
that one to a newer one makes wifi work.  Here, both the .txt and .bin
file are updated, as the old files are from 2012, while the new
ones have a datestamp from 2019.
2022-01-22 09:56:39 +01:00

38 lines
863 B
Text

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Newbyte <newbyte@disroot.org>
pkgname=device-samsung-m0
pkgdesc="Samsung Galaxy S III"
pkgver=3
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
linux-postmarketos-exynos4
mesa-dri-gallium
mkbootimg
postmarketos-base
"
makedepends="devicepkg-dev"
install="$pkgname.post-install"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="WiFi and Bluetooth firmware"
depends="firmware-samsung-m0-mainline"
mkdir "$subpkgdir"
}
sha512sums="
d9a655ccbba48f68e44a37149a9078adbd1f40179b592215cc68383ecd3c391262fd5c694e0569316e55964d6f4c7ccc23d15fdaff53a98b873ad28246c6ab28 deviceinfo
"