2022-08-10 16:12:59 +00:00
|
|
|
pkgname=firmware-samsung-pxa1908
|
2023-12-12 07:29:56 +00:00
|
|
|
pkgver=2
|
2024-06-29 12:54:05 +00:00
|
|
|
pkgrel=1
|
2022-08-10 16:12:59 +00:00
|
|
|
pkgdesc="Firmware for Samsung PXA1908 devices"
|
2022-06-01 15:20:06 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
arch="aarch64"
|
|
|
|
license="proprietary"
|
|
|
|
options="!strip !check !archcheck !spdx pmb:cross-native !tracedeps"
|
|
|
|
install="$pkgname.post-install"
|
|
|
|
_repo="android_vendor_samsung_xcover3lte"
|
|
|
|
_commit="6e324b43b32dc607327d89148dd5d83a14429ee6"
|
|
|
|
source="
|
|
|
|
$pkgname-$_commit.tar.gz::https://github.com/xcover3/$_repo/archive/$_commit.tar.gz
|
|
|
|
sd8x-wlan.initd
|
|
|
|
"
|
|
|
|
_files="sd8777_uapsta.bin WlanCalData_ext.conf txpwrlimit_cfg.bin bt_cal_data.conf"
|
|
|
|
builddir="$srcdir/$_repo-$_commit"
|
2024-06-29 12:54:05 +00:00
|
|
|
subpackages="$pkgname-downstream:downstream"
|
2022-06-01 15:20:06 +00:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd proprietary/etc/firmware/mrvl/
|
|
|
|
|
|
|
|
for _i in $_files; do
|
|
|
|
install -Dm644 "$_i" \
|
|
|
|
-t "$pkgdir/lib/firmware/postmarketos/mrvl"
|
|
|
|
done
|
2024-06-29 12:54:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
downstream() {
|
|
|
|
pkgdesc="OpenRC service for enabling WLAN on downstream kernels"
|
|
|
|
depends="$pkgname"
|
2022-06-01 15:20:06 +00:00
|
|
|
|
2024-06-29 12:54:05 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
install -Dm755 "$srcdir"/sd8x-wlan.initd "$subpkgdir"/etc/init.d/sd8x-wlan
|
2022-06-01 15:20:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2022-08-10 16:12:59 +00:00
|
|
|
c396170f11e13498bff588336761852d67571862b45e6d2795066c41a2ea992aec108990269eeaad727fb43bbcd8613a3dd44e92212d9f4a18e058389814e974 firmware-samsung-pxa1908-6e324b43b32dc607327d89148dd5d83a14429ee6.tar.gz
|
2023-12-12 07:29:56 +00:00
|
|
|
2154bff78351256194cc6e42273bb90b0eef5db36e985abe36250279e7c1c51354b9d576a61648bdad2fdf467e7ac8f9533897b29ed9a9a696bd226bfb21abcf sd8x-wlan.initd
|
2022-06-01 15:20:06 +00:00
|
|
|
"
|