diff --git a/device/testing/device-samsung-milletwifi/APKBUILD b/device/testing/device-samsung-milletwifi/APKBUILD index 8834c8a6c..ea75a3c2c 100644 --- a/device/testing/device-samsung-milletwifi/APKBUILD +++ b/device/testing/device-samsung-milletwifi/APKBUILD @@ -2,7 +2,7 @@ pkgname=device-samsung-milletwifi pkgdesc="Samsung Galaxy Tab 4 8.0 Wi-Fi" pkgver=1 -pkgrel=0 +pkgrel=1 url="https://postmarketos.org" license="MIT" arch="armv7" @@ -22,7 +22,7 @@ package() { nonfree_firmware() { pkgdesc="GPU/WiFi/BT/Modem/Video firmware" - depends="msm-firmware-loader" + depends="firmware-samsung-milletwifi-wcnss-nv msm-firmware-loader" mkdir "$subpkgdir" } diff --git a/device/testing/firmware-samsung-milletwifi/APKBUILD b/device/testing/firmware-samsung-milletwifi/APKBUILD new file mode 100644 index 000000000..63397c792 --- /dev/null +++ b/device/testing/firmware-samsung-milletwifi/APKBUILD @@ -0,0 +1,30 @@ +pkgname=firmware-samsung-milletwifi +pkgver=1 +pkgrel=0 +_name="Samsung Galaxy Tab 4 8.0" +pkgdesc="Firmware for $_name" +url="https://postmarketos.org" +subpackages="$pkgname-wcnss-nv:wcnss_nv" +arch="armv7" +license="proprietary" +options="!check !strip !archcheck !tracedeps pmb:cross-native" +_repository="firmware-samsung-milletwifi" +_commit=5e4b9570d31203d1f19fb5dbf591fb7a5b35a49b +source="$pkgname-$_commit.tar.gz::https://gitlab.com/susurrus/$_repository/-/archive/$_commit.tar.gz" +builddir="$srcdir/$_repository-$_commit" + +_fwdir="/lib/firmware/postmarketos" + +package() { + # parent package is empty + mkdir -p "$pkgdir" +} + +wcnss_nv() { + pkgdesc="$_name WiFi/BT firmware configuration" + install -Dm644 "$builddir"/system/wlan/prima/WCNSS_qcom_wlan_nv.bin -t "$subpkgdir/$_fwdir"/wlan/prima +} + +sha512sums=" +21bffdc23294e118e622e70e3ed66af164aebeb0cf97488f5c55fca06129822085202f7cc27e5facd7ae54d7192a1c9e7ff0fe58abf5fc1e4e9e7db49481a2d3 firmware-samsung-milletwifi-5e4b9570d31203d1f19fb5dbf591fb7a5b35a49b.tar.gz +"