Firmware packages: fix checksums, use commit in distfiles, general refactoring (#788)

This commit is contained in:
drebrez 2017-10-20 00:40:14 +02:00 committed by Oliver Smith
parent f996de4076
commit 106f5808ee
9 changed files with 218 additions and 186 deletions

View file

@ -1,27 +1,33 @@
_files="a225_pm4.fw a225_pfp.fw a225p5_pm4.fw a300_pfp.fw a300_pm4.fw a330_pfp.fw a330_pm4.fw"
pkgname=firmware-adreno pkgname=firmware-adreno
pkgver=1 pkgver=1
pkgrel=3 pkgrel=4
pkgdesc="Firmware for adreno gpus" pkgdesc="Firmware for adreno gpus"
url="https://github.com/TheMuppets/proprietary_vendor_sony" url="https://github.com/TheMuppets/proprietary_vendor_sony"
arch="noarch" arch="noarch"
license="proprietary" license="proprietary"
depends=""
makedepends=""
install=""
subpackages=""
for _i in $_files; do source="$source https://github.com/TheMuppets/proprietary_vendor_sony/raw/cm-14.1/shinano-common/proprietary/etc/firmware/$_i"; done
options="!check" options="!check"
# Sources
_files="a225_pm4.fw a225_pfp.fw a225p5_pm4.fw a300_pfp.fw a300_pm4.fw
a330_pfp.fw a330_pm4.fw"
_commit="bf15795df1d1dcd61d37f6215c1eda47e669d54e"
_url="https://github.com/TheMuppets/proprietary_vendor_sony/raw/$_commit/shinano-common/proprietary/etc/firmware"
source=""
for _i in $_files; do
source="$source $pkgname-$_commit-$_i::$_url/$_i";
done
package() { package() {
mkdir -p $pkgdir/lib/firmware/postmarketos for _i in $_files; do
for _i in $_files; do install -D -m644 "$srcdir/$_i" "$pkgdir/lib/firmware/postmarketos/$_i"; done install -Dm644 "$srcdir/$pkgname-$_commit-$_i" \
"$pkgdir/lib/firmware/postmarketos/$_i"
done
} }
sha512sums="b278ea24a84036f24f3fa583e63b2c1236312d8b163398d874367ffc91b4652ceb0b3ce5dd2097748dd2083ea1222c0f9413efcc5b72553da3ef753f5910f24a a225_pm4.fw
d127fdca476233fca6e6e59e62bced8563663bac65de30a81eb1912f182cd27fdf8726085e65820c4c26c389daa1ffef9792a598c7b7568f277e781b5e775d5f a225_pfp.fw sha512sums="b278ea24a84036f24f3fa583e63b2c1236312d8b163398d874367ffc91b4652ceb0b3ce5dd2097748dd2083ea1222c0f9413efcc5b72553da3ef753f5910f24a firmware-adreno-bf15795df1d1dcd61d37f6215c1eda47e669d54e-a225_pm4.fw
339a632a554a8c6e7fd1ff1465c3c985417f9e199e6934a5b149862245566f0c7171c924fc0a7a0d96bc6c5c5efd3c86dd0252d7064f7fee8ac502be8fc977f0 a225p5_pm4.fw d127fdca476233fca6e6e59e62bced8563663bac65de30a81eb1912f182cd27fdf8726085e65820c4c26c389daa1ffef9792a598c7b7568f277e781b5e775d5f firmware-adreno-bf15795df1d1dcd61d37f6215c1eda47e669d54e-a225_pfp.fw
0622ce695b8021fd2bc1d94498b475dc2aac582b637dd4695968912b69ee61e190ce3848d233a514b37ece5a63d47878254ef220d573035b47b888e92e91d684 a300_pfp.fw 339a632a554a8c6e7fd1ff1465c3c985417f9e199e6934a5b149862245566f0c7171c924fc0a7a0d96bc6c5c5efd3c86dd0252d7064f7fee8ac502be8fc977f0 firmware-adreno-bf15795df1d1dcd61d37f6215c1eda47e669d54e-a225p5_pm4.fw
c330767a1bfd200745c7dd8d80e293bbffe906d07f4c5f595af69c46bb6d6bb390f3e386ccf999f2a77ced8e969abb0743d723bd94f7cb8c96320ba72129d1d2 a300_pm4.fw 0622ce695b8021fd2bc1d94498b475dc2aac582b637dd4695968912b69ee61e190ce3848d233a514b37ece5a63d47878254ef220d573035b47b888e92e91d684 firmware-adreno-bf15795df1d1dcd61d37f6215c1eda47e669d54e-a300_pfp.fw
a642584990333d62ba6a985eeaddc6898c37a8e80aabb61121f93a90d5076861eb698422101e7b00706b7d3dfc00f9f358ea5e44a70fda7369931eb58b455931 a330_pfp.fw c330767a1bfd200745c7dd8d80e293bbffe906d07f4c5f595af69c46bb6d6bb390f3e386ccf999f2a77ced8e969abb0743d723bd94f7cb8c96320ba72129d1d2 firmware-adreno-bf15795df1d1dcd61d37f6215c1eda47e669d54e-a300_pm4.fw
999e3e0777b8dffc0e0d20b214c8217dab577a31753b6a29af2fae57293693196e992a905265e35a586a7978c04547aa8c88496dbe6f836b74ed39026eaa5f05 a330_pm4.fw" a642584990333d62ba6a985eeaddc6898c37a8e80aabb61121f93a90d5076861eb698422101e7b00706b7d3dfc00f9f358ea5e44a70fda7369931eb58b455931 firmware-adreno-bf15795df1d1dcd61d37f6215c1eda47e669d54e-a330_pfp.fw
999e3e0777b8dffc0e0d20b214c8217dab577a31753b6a29af2fae57293693196e992a905265e35a586a7978c04547aa8c88496dbe6f836b74ed39026eaa5f05 firmware-adreno-bf15795df1d1dcd61d37f6215c1eda47e669d54e-a330_pm4.fw"

View file

@ -1,25 +1,22 @@
pkgname=firmware-aosp-broadcom-wlan pkgname=firmware-aosp-broadcom-wlan
pkgver=1 pkgver=1
pkgrel=0 pkgrel=1
pkgdesc="Broadcom Wi-Fi firmware from AOSP: https://android.googlesource.com/platform/hardware/broadcom/wlan/+/android-8.0.0_r12" pkgdesc="Broadcom Wi-Fi firmware from AOSP"
url="https://github.com/zhuowei/android_hardware_broadcom_wlan" url="https://android.googlesource.com/platform/hardware/broadcom/wlan/+/android-8.0.0_r12"
arch="noarch" arch="noarch"
license="proprietary" license="proprietary"
depends=""
makedepends=""
install=""
subpackages=""
# tag: android-8.0.0_r12
_hash=6c8ef5b600cec5d36a54a0276fe8c97b9ab8d6bb
source=$pkgname-$_hash.tar.gz::$url"/archive/${_hash}.tar.gz"
options="!check !strip !archcheck" options="!check !strip !archcheck"
# Sources
_commit=6c8ef5b600cec5d36a54a0276fe8c97b9ab8d6bb
_url="https://github.com/zhuowei/android_hardware_broadcom_wlan"
source=$pkgname-$_commit.tar.gz::$_url"/archive/${_commit}.tar.gz"
package() { package() {
for fw in $(find "${srcdir}/android_hardware_broadcom_wlan-${_hash}/bcmdhd/firmware" -type f -name "*.bin") cd "$srcdir/android_hardware_broadcom_wlan-$_commit/bcmdhd/firmware"
do for _i in */*.bin; do
dir=$(basename $(dirname $fw)) install -Dm644 "$_i" \
mkdir -p "$pkgdir/lib/firmware/postmarketos/bcmdhd/$dir" "$pkgdir/lib/firmware/postmarketos/bcmdhd/$_i"
install -m644 $fw "$pkgdir/lib/firmware/postmarketos/bcmdhd/$dir"
done done
} }

View file

@ -1,47 +1,81 @@
pkgname=firmware-asus-flo pkgname=firmware-asus-flo
pkgver=0 pkgver=0
pkgrel=0 pkgrel=1
pkgdesc="Firmware for asus-flo" pkgdesc="Firmware for asus-flo"
url="https://github.com/LineageOS/android_device_asus_flo/tree/cm-14.1/wifi/"
url="https://developers.google.com/android/drivers#flomob30x" url="https://developers.google.com/android/drivers#flomob30x"
arch="noarch" arch="noarch"
license="proprietary" license="proprietary"
depends=""
makedepends=""
install=""
subpackages=""
options="!check !strip !archcheck" options="!check !strip !archcheck"
source="qcom-flo-mob30x-43963492.tgz::https://dl.google.com/dl/android/aosp/qcom-flo-mob30x-43963492.tgz broadcom-flo-mob30x-23c0a6c8.tgz::https://dl.google.com/dl/android/aosp/broadcom-flo-mob30x-23c0a6c8.tgz"
# AOSP sources
_version_broadcom="23c0a6c8"
_version_qcom="43963492"
_url_aosp="https://dl.google.com/dl/android/aosp"
source="
${_url_aosp}/broadcom-flo-mob30x-${_version_broadcom}.tgz
${_url_aosp}/qcom-flo-mob30x-${_version_qcom}.tgz
"
# Other sources
_files="WCNSS_qcom_cfg.ini WCNSS_cfg.dat WCNSS_qcom_wlan_nv_flo.bin" _files="WCNSS_qcom_cfg.ini WCNSS_cfg.dat WCNSS_qcom_wlan_nv_flo.bin"
for _i in $_files; do source="$source https://github.com/LineageOS/android_device_asus_flo/raw/cm-14.1/wifi/$_i"; done _commit_other="42b685b6cd77540048e15012278ef290f94194a7"
_url_other="https://github.com/LineageOS/android_device_asus_flo/raw/${_commit_other}/wifi"
for _i in $_files; do
source="$source $pkgname-${_commit_other}-$_i::${_url_other}/$_i";
done
package() { package() {
tail -n +276 $srcdir/extract-broadcom-flo.sh | tar zxv cd "$srcdir"
tail -n +315 $srcdir/extract-qcom-flo.sh | tar zxv tail -n +276 $srcdir/extract-broadcom-flo.sh | tar zx
tail -n +315 $srcdir/extract-qcom-flo.sh | tar zx
mkdir -p $pkgdir/lib/firmware/ # bcm2089x
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b05 wcnss.mdt a300_pfp.fw a300_pm4.fw dsps.b00 dsps.b01 dsps.b02 dsps.b03 dsps.b04 dsps.b05 dsps.mdt gss.b00 gss.b02 gss.b04 gss.b06 gss.b08 gss.b10 gss.mdt gss.b01 gss.b03 gss.b05 gss.b07 gss.b09 gss.b11 q6.b00 q6.b01 q6.b03 q6.b04 q6.b05 q6.b06 q6.mdt tzapps.b00 tzapps.b01 tzapps.b02 tzapps.b03 tzapps.mdt vidc_1080p.fw vidc.b00 vidc.b01 vidc.b02 vidc.b03 vidcfw.elf vidc.mdt" _files="bcm2079x-b5_firmware.ncd bcm2079x-b5_pre_firmware.ncd"
for _i in $_files; do install -D -m644 "$srcdir/../vendor/qcom/flo/proprietary/$_i" "$pkgdir/lib/firmware/$_i"; done for _i in $_files; do
install -Dm644 "vendor/broadcom/flo/proprietary/$_i" \
"$pkgdir/lib/firmware/$_i";
done
_files=" bcm2079x-b5_firmware.ncd bcm2079x-b5_pre_firmware.ncd" # keymaster
for _i in $_files; do install -D -m644 "$srcdir/../vendor/broadcom/flo/proprietary/$_i" "$pkgdir/lib/firmware/$_i"; done _files="keymaster.b00 keymaster.b01 keymaster.b02 keymaster.b03
keymaster.mdt"
for _i in $_files; do
install -Dm644 "vendor/qcom/flo/proprietary/$_i" \
"$pkgdir/lib/firmware/keymaster/$_i";
done
mkdir -p $pkgdir/lib/firmware/keymaster # discretix
_files="keymaster.b00 keymaster.b01 keymaster.b02 keymaster.b03 keymaster.mdt" _files="dxhdcp2.b00 dxhdcp2.b01 dxhdcp2.b02 dxhdcp2.b03
for _i in $_files; do install -D -m644 "$srcdir/../vendor/qcom/flo/proprietary/$_i" "$pkgdir/lib/firmware/keymaster/$_i"; done dxhdcp2.mdt"
for _i in $_files; do
install -Dm644 "vendor/qcom/flo/proprietary/$_i" \
"$pkgdir/lib/firmware/discretix/$_i";
done
mkdir -p $pkgdir/lib/firmware/discretix # prima
_files="dxhdcp2.b00 dxhdcp2.b01 dxhdcp2.b02 dxhdcp2.b03 dxhdcp2.mdt" install -Dm644 "$pkgname-$_commit_other-WCNSS_qcom_wlan_nv_flo.bin" \
for _i in $_files; do install -D -m644 "$srcdir/../vendor/qcom/flo/proprietary/$_i" "$pkgdir/lib/firmware/discretix/$_i"; done "$pkgdir/lib/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin"
for _i in WCNSS_qcom_cfg.ini WCNSS_cfg.dat; do
install -Dm644 "$pkgname-$_commit_other-$_i" \
"$pkgdir/lib/firmware/wlan/prima/$_i";
done
mkdir -p $pkgdir/lib/firmware/wlan/prima # qualcomm
mv $srcdir/WCNSS_qcom_wlan_nv_flo.bin $srcdir/WCNSS_qcom_wlan_nv.bin _files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b05 wcnss.mdt
_files="WCNSS_qcom_cfg.ini WCNSS_cfg.dat WCNSS_qcom_wlan_nv.bin" a300_pfp.fw a300_pm4.fw dsps.b00 dsps.b01 dsps.b02 dsps.b03
for _i in $_files; do install -D -m644 "$srcdir/$_i" "$pkgdir/lib/firmware/wlan/prima/$_i"; done dsps.b04 dsps.b05 dsps.mdt gss.b00 gss.b02 gss.b04 gss.b06
gss.b08 gss.b10 gss.mdt gss.b01 gss.b03 gss.b05 gss.b07 gss.b09
gss.b11 q6.b00 q6.b01 q6.b03 q6.b04 q6.b05 q6.b06 q6.mdt
tzapps.b00 tzapps.b01 tzapps.b02 tzapps.b03 tzapps.mdt
vidc_1080p.fw vidc.b00 vidc.b01 vidc.b02 vidc.b03 vidcfw.elf
vidc.mdt"
for _i in $_files; do
install -Dm644 "vendor/qcom/flo/proprietary/$_i" \
"$pkgdir/lib/firmware/$_i";
done
} }
sha512sums="0e36c52300f8e290d6f2c28f7f676fee326cbf843aa00090d50e14f6810856b78cc116c8ca73b2b3d62311faff5ab5f2ef0dcf73929c36f7f6bc9e76460e8f1c qcom-flo-mob30x-43963492.tgz sha512sums="e18fe860185e2efe2b9b0d1ed17e7ba40c687fdf08667db1358fb8c68cc8632f36942ddccee975eecbc9f0e0a9b5b97abddb837dbd07653298609de09fe5bfce broadcom-flo-mob30x-23c0a6c8.tgz
e18fe860185e2efe2b9b0d1ed17e7ba40c687fdf08667db1358fb8c68cc8632f36942ddccee975eecbc9f0e0a9b5b97abddb837dbd07653298609de09fe5bfce broadcom-flo-mob30x-23c0a6c8.tgz 0e36c52300f8e290d6f2c28f7f676fee326cbf843aa00090d50e14f6810856b78cc116c8ca73b2b3d62311faff5ab5f2ef0dcf73929c36f7f6bc9e76460e8f1c qcom-flo-mob30x-43963492.tgz
df8bbc08774c1d8b479955e11e88964a172638934b98aeff3a1a76eeb2a6981f4ab9ef1c5e8abb050812ca2e99f21f661485c0c052f2103c76eccc19857f3f47 WCNSS_qcom_cfg.ini df8bbc08774c1d8b479955e11e88964a172638934b98aeff3a1a76eeb2a6981f4ab9ef1c5e8abb050812ca2e99f21f661485c0c052f2103c76eccc19857f3f47 firmware-asus-flo-42b685b6cd77540048e15012278ef290f94194a7-WCNSS_qcom_cfg.ini
d9ec98e8fa795383678dc8ffd388d8a5fe2a475559c5996f551f02766bc3397e74c100548dcb06e2a65515c76cf28eac6f156aa805cf81ea3c580c859f4bd0f1 WCNSS_cfg.dat d9ec98e8fa795383678dc8ffd388d8a5fe2a475559c5996f551f02766bc3397e74c100548dcb06e2a65515c76cf28eac6f156aa805cf81ea3c580c859f4bd0f1 firmware-asus-flo-42b685b6cd77540048e15012278ef290f94194a7-WCNSS_cfg.dat
d734e76a83960e0d6fbc11816417459ec17a72196cde727f7aeba509601965637234101cb17fa168f1cb128f1b63499cb68fe7acdef280654f25d0847a59960a WCNSS_qcom_wlan_nv_flo.bin" d734e76a83960e0d6fbc11816417459ec17a72196cde727f7aeba509601965637234101cb17fa168f1cb128f1b63499cb68fe7acdef280654f25d0847a59960a firmware-asus-flo-42b685b6cd77540048e15012278ef290f94194a7-WCNSS_qcom_wlan_nv_flo.bin"

View file

@ -1,43 +1,35 @@
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06 wcnss.b07 wcnss.b08 wcnss.b09 wcnss.mdt"
_files1="WCNSS_cfg.dat WCNSS_qcom_cfg.ini WCNSS_qcom_wlan_nv.bin WCNSS_hw_wlan_nv.bin"
pkgname=firmware-huawei-y530 pkgname=firmware-huawei-y530
pkgver=1 pkgver=1
pkgrel=0 pkgrel=1
pkgdesc="Firmware files for Huawei Ascend Y530" pkgdesc="Firmware files for Huawei Ascend Y530"
url="https://github.com/postmarketOS" url="https://github.com/postmarketOS"
arch="noarch" arch="noarch"
license="proprietary" license="proprietary"
depends="wcnss-wlan" depends="wcnss-wlan"
makedepends=""
install=""
subpackages=""
source=""
for _i in $_files
do
source="$source https://github.com/drebrez/vendor_huawei_y530/raw/master/wifi/$_i"
done
for _i in $_files1
do
source="$source https://github.com/drebrez/vendor_huawei_y530/raw/master/wifi/wlan/prima/$_i"
done
options="!strip !check !archcheck" options="!strip !check !archcheck"
# Source
_commit="86bf384e1c37ee328988b9ec8769f6d321f931de"
_url="https://github.com/drebrez/vendor_huawei_y530"
source="$pkgname-$_commit.tar.gz::$_url/archive/${_commit}.tar.gz"
package() { package() {
mkdir -p $pkgdir/lib/firmware/postmarketos cd "$srcdir/vendor_huawei_y530-$_commit/wifi"
for _i in $_files; do install -D -m644 "$srcdir/$_i" "$pkgdir/lib/firmware/postmarketos/$_i"; done
for _i in $_files1; do install -D -m644 "$srcdir/$_i" "$pkgdir/lib/firmware/postmarketos/wlan/prima/$_i"; done # /lib/firmware/postmarketos
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06 wcnss.b07
wcnss.b08 wcnss.b09 wcnss.mdt"
for _i in $_files; do
install -D -m644 "$_i" "$pkgdir/lib/firmware/postmarketos/$_i"
done
# /lib/firmware/postmarketos/wlan/prima
_files="WCNSS_cfg.dat WCNSS_qcom_cfg.ini WCNSS_qcom_wlan_nv.bin
WCNSS_hw_wlan_nv.bin"
for _i in $_files; do
install -D -m644 "wlan/prima/$_i" \
"$pkgdir/lib/firmware/postmarketos/wlan/prima/$_i"
done
} }
sha512sums="5aa75c4b464d41a04934290b4775497c0866057f28fe94ab1e8c83b417eda38ebdd3fde1c5e72a35f2b76351729580878683415f0095fe2049af2b0deed50dba wcnss.b00
2f49d5415b7b2ed8eee4da67119077a08b00b5dfee173d152da0ee2e9a29f8a9f0b9fb03f32738ca925dd6ffa4fe264282df832ad2789ad5aeb259592c0d176a wcnss.b01 sha512sums="b21d719ad6abe178ef1e846d13a8fad24fa83b191e66dd041953409aa95f8f9be620c507ea9e9fd12b847deafd66d0b7986f6cb9c5c4e0fb272a7fcf88eb15cc firmware-huawei-y530-86bf384e1c37ee328988b9ec8769f6d321f931de.tar.gz"
69a85f26b14096f1a9ac40ba8f14a990c103ae0ddcfb072739236f67ab81ebb584ca6e5baf890074c11a2ba558965b2340a9d25f09408062db2a9b8159f9848d wcnss.b02
28cc6eace5c82d0092c9de31abc90b0f50dc30e7e2a007107bea2a7c3306e84565482e6df6293bb30bfd229d96d2af32067b6b66179cf3be54756f8368cb44b2 wcnss.b04
066455af7422068f2e3d61d3ae568f52ff4c58a0759b213efb943fbf09368a367b943d52665d4110bd34e884030191b14f1bf544f620de44dc0904885355dca0 wcnss.b06
0b6cbac838dfe7f47ea1bd0df00ec282fdf45510c92161072ccfb84035390c4da743d9c3b954eaa1b0f86fc9861b23cc6c8667ab232c11c686432ebb5c8c3f27 wcnss.b07
5361df62589fc7c16c18a29a9145aeeb6a29055c000c12709330663b9522ed17cb8c2276ac9a3a24d02b6a4c9d99227daf95311966c816738e831c7eb72441f1 wcnss.b08
af71139bcf4d1865d59db3617fadd98fdda6912922c9503a481b05615a73d0481fcb962ff907fd88ece596db3c5079ed19790955a06f0d29026ce3c16d5b6326 wcnss.b09
d3cf41dd6366fa3e860b0769511d762b6599329a2504eb6e1d5e7e5e7068e24e038d94118e966518fd3e00684929af4519d866861cc67132827c8b109a263703 wcnss.mdt
efb2c90b7a9101c603ceb1bbe3cbf81159b11c2518ad2b0eadf90d7e080f2c7224fe8613fb4ac09088c8d6958d0b88cf23039df3053c9e08fbc94307e4921be5 WCNSS_cfg.dat
76fef203edbee916d10ebb67e12ec68274e7e8c0d7af43b78dbc5a14aa9a04ac4ce924daf0322fcf67b04dd2b8e41d494d1abf0a576c1f73326f0384f33da343 WCNSS_qcom_cfg.ini
dc0f0b13859f789196e151b4d87bdca77aae78542df0ac505c06687bf63c5b2943e9adc9f7dabd78731ef49e05a99aa3f6b8578e40ebec63de1ad93a0aaefdf0 WCNSS_qcom_wlan_nv.bin
dc0f0b13859f789196e151b4d87bdca77aae78542df0ac505c06687bf63c5b2943e9adc9f7dabd78731ef49e05a99aa3f6b8578e40ebec63de1ad93a0aaefdf0 WCNSS_hw_wlan_nv.bin"

View file

@ -1,28 +1,24 @@
pkgname=firmware-samsung-i9070 pkgname=firmware-samsung-i9070
pkgver=1 pkgver=1
pkgrel=0 pkgrel=1
pkgdesc="Samsung Galaxy S Advance Firmware" pkgdesc="Samsung Galaxy S Advance Firmware"
url="https://github.com/Epirex/android_vendor_samsung_u8500" url="https://github.com/Epirex/android_vendor_samsung_u8500"
arch="noarch" arch="noarch"
license="proprietary" license="proprietary"
depends=""
makedepends="" # Source
install="" _commit="e24d9687e7fda4f94fc6652d137ed8e703930c3a"
subpackages="" source="$pkgname-$_commit.tar.gz::$url/archive/${_commit}.tar.gz"
_hash="e24d9687e7fda4f94fc6652d137ed8e703930c3a"
source=$pkgname-$_hash.tar.gz::$url"/archive/${_hash}.tar.gz"
options="!check !strip" options="!check !strip"
vsrcdir="$srcdir/android_vendor_samsung_u8500-${_hash}"
package() { package() {
mkdir -p "$pkgdir/lib/firmware/postmarketos" cd "$srcdir/android_vendor_samsung_u8500-${_commit}"
# install wifi firmware # Wifi
install -Dm644 "$vsrcdir/janice/system/etc/wifi/bcmdhd_sta.bin" \ for _i in bcmdhd_sta.bin nvram_net.txt; do
"$pkgdir/lib/firmware/postmarketos/bcmdhd_sta.bin" install -Dm644 "janice/system/etc/wifi/$_i" \
install -Dm644 "$vsrcdir/janice/system/etc/wifi/nvram_net.txt" \ "$pkgdir/lib/firmware/postmarketos/$_i"
"$pkgdir/lib/firmware/postmarketos/nvram_net.txt" done
} }
sha512sums="0f1a0ab978662728311cde4d055be9e1162e5eb71eda7117b6b5eba335e373cabd70ee3005755bd469c18eea872ccbf2bf9d09a357c825fd3e5b96060ba19137 firmware-samsung-i9070-e24d9687e7fda4f94fc6652d137ed8e703930c3a.tar.gz" sha512sums="0f1a0ab978662728311cde4d055be9e1162e5eb71eda7117b6b5eba335e373cabd70ee3005755bd469c18eea872ccbf2bf9d09a357c825fd3e5b96060ba19137 firmware-samsung-i9070-e24d9687e7fda4f94fc6652d137ed8e703930c3a.tar.gz"

View file

@ -1,3 +1,13 @@
pkgname=firmware-samsung-i9100
pkgver=1
pkgrel=1
pkgdesc="Samsung Galaxy S II Firmware"
url="https://github.com/TheMuppets/proprietary_vendor_samsung"
arch="noarch"
license="proprietary"
options="!check"
# Source
_files=" _files="
bcmdhd_apsta.bin bcmdhd_apsta.bin
bcmdhd_mfg.bin bcmdhd_mfg.bin
@ -8,30 +18,24 @@ _files="
nvram_net.txt nvram_net.txt
nvram_net.txt_murata nvram_net.txt_murata
" "
_commit="a5346c8874d5186c967b74291c2055d902f7a928"
pkgname=firmware-samsung-i9100 _url="https://github.com/TheMuppets/proprietary_vendor_samsung/raw/$_commit/i9100/proprietary/system/etc/wifi"
pkgver=1 source=""
pkgrel=0 for _i in $_files; do
pkgdesc="Samsung Galaxy S II Firmware" source="$source $pkgname-$_commit-$_i::$_url/$_i";
url="https://github.com/TheMuppets/proprietary_vendor_samsung" done
arch="noarch"
license="proprietary"
depends=""
makedepends=""
install=""
subpackages=""
for _i in $_files; do source="$source https://github.com/TheMuppets/proprietary_vendor_samsung/raw/cm-14.1/i9100/proprietary/system/etc/wifi/$_i"; done
options="!check"
package() { package() {
mkdir -p $pkgdir/lib/firmware/postmarketos for _i in $_files; do
for _i in $_files; do install -D -m644 "$srcdir/$_i" "$pkgdir/lib/firmware/postmarketos/$_i"; done install -Dm644 "$srcdir/$pkgname-$_commit-$_i" \
"$pkgdir/lib/firmware/postmarketos/$_i"
done
} }
sha512sums="71ae0d6b87e2541b614fe2d964db239a2d0d158a89b2a96b508195977d7c348ce892717a8b836d5b4cd173430171b81a04b4346968331da1b0eb37cc962de4f3 bcmdhd_apsta.bin sha512sums="71ae0d6b87e2541b614fe2d964db239a2d0d158a89b2a96b508195977d7c348ce892717a8b836d5b4cd173430171b81a04b4346968331da1b0eb37cc962de4f3 firmware-samsung-i9100-a5346c8874d5186c967b74291c2055d902f7a928-bcmdhd_apsta.bin
df1a56ce3b4c3e069eaa57251d5e288e330af0525eb0e36e7375e0b675a040995ca2804103446cb0135cc4952eec449dc0a6398ab1fd01c59533484688186873 bcmdhd_mfg.bin df1a56ce3b4c3e069eaa57251d5e288e330af0525eb0e36e7375e0b675a040995ca2804103446cb0135cc4952eec449dc0a6398ab1fd01c59533484688186873 firmware-samsung-i9100-a5346c8874d5186c967b74291c2055d902f7a928-bcmdhd_mfg.bin
a6d602a768e8748c44b5debf2b7388d42c909919fb2b73c0f511ac2bceadac7d7208c6ba94c2df9aa900c9fb446f35f670b0adc552689f8567fa87ded754a947 bcmdhd_p2p.bin a6d602a768e8748c44b5debf2b7388d42c909919fb2b73c0f511ac2bceadac7d7208c6ba94c2df9aa900c9fb446f35f670b0adc552689f8567fa87ded754a947 firmware-samsung-i9100-a5346c8874d5186c967b74291c2055d902f7a928-bcmdhd_p2p.bin
a6d602a768e8748c44b5debf2b7388d42c909919fb2b73c0f511ac2bceadac7d7208c6ba94c2df9aa900c9fb446f35f670b0adc552689f8567fa87ded754a947 bcmdhd_sta.bin a6d602a768e8748c44b5debf2b7388d42c909919fb2b73c0f511ac2bceadac7d7208c6ba94c2df9aa900c9fb446f35f670b0adc552689f8567fa87ded754a947 firmware-samsung-i9100-a5346c8874d5186c967b74291c2055d902f7a928-bcmdhd_sta.bin
f8d8ad3c91d5f25cb5b17717d9f27f44b16b20ebe2e41fce1987f48f49f22edbcc7afb0aba2fc0c698538f940507a8156d403c2ac6a6fb6e77ef22264c7ce9cf nvram_mfg.txt f8d8ad3c91d5f25cb5b17717d9f27f44b16b20ebe2e41fce1987f48f49f22edbcc7afb0aba2fc0c698538f940507a8156d403c2ac6a6fb6e77ef22264c7ce9cf firmware-samsung-i9100-a5346c8874d5186c967b74291c2055d902f7a928-nvram_mfg.txt
cefb1d2f68594dbfab7ecbef5972e477a6c92c411ea919855276963e5f0870f5a1006d81e8fb235cc9f146959512fd9afecfde74d9720451f94a4409839d40b2 nvram_mfg.txt_murata cefb1d2f68594dbfab7ecbef5972e477a6c92c411ea919855276963e5f0870f5a1006d81e8fb235cc9f146959512fd9afecfde74d9720451f94a4409839d40b2 firmware-samsung-i9100-a5346c8874d5186c967b74291c2055d902f7a928-nvram_mfg.txt_murata
4a473740dfb3202e77fdd07c0bfe59c3cd2ea30e3388b7a09c38484408d9253b7e83a96558995e1fce87e00d6a071eec49ee5a10d68c0e05ab6b6a3dd873604e nvram_net.txt 4a473740dfb3202e77fdd07c0bfe59c3cd2ea30e3388b7a09c38484408d9253b7e83a96558995e1fce87e00d6a071eec49ee5a10d68c0e05ab6b6a3dd873604e firmware-samsung-i9100-a5346c8874d5186c967b74291c2055d902f7a928-nvram_net.txt
b883699dfdb9d5820f65c79cbef1389ad8f648ef37b3d3d537c067cfe8ea6f6f76e95541c338e046988ce33269692274fae3469142c5ec7e0dc1b35e09deb0b1 nvram_net.txt_murata" b883699dfdb9d5820f65c79cbef1389ad8f648ef37b3d3d537c067cfe8ea6f6f76e95541c338e046988ce33269692274fae3469142c5ec7e0dc1b35e09deb0b1 firmware-samsung-i9100-a5346c8874d5186c967b74291c2055d902f7a928-nvram_net.txt_murata"

View file

@ -1,27 +1,23 @@
pkgname=firmware-samsung-i9305 pkgname=firmware-samsung-i9305
pkgver=1 pkgver=1
pkgrel=0 pkgrel=1
pkgdesc="Samsung Galaxy SIII LTE Firmware" pkgdesc="Samsung Galaxy SIII LTE Firmware"
url="https://github.com/Androguide/android_vendor_samsung" url="https://github.com/Androguide/android_vendor_samsung"
arch="noarch" arch="noarch"
license="proprietary" license="proprietary"
depends=""
makedepends=""
install=""
subpackages=""
_hash="d5a8735a6ad1fff3091f100383ac004f411d7528"
source=$pkgname-$_hash.tar.gz::$url"/archive/${_hash}.tar.gz"
options="!check !strip" options="!check !strip"
vsrcdir="$srcdir/android_vendor_samsung-${_hash}" # Source
_commit="d5a8735a6ad1fff3091f100383ac004f411d7528"
source=$pkgname-$_commit.tar.gz::$url"/archive/${_commit}.tar.gz"
package() { package() {
mkdir -p "$pkgdir/lib/firmware/postmarketos" cd "$srcdir/android_vendor_samsung-${_commit}/smdk4412-common/proprietary/system/"
# install wifi firmware # Wifi
install -Dm644 "$vsrcdir/smdk4412-common/proprietary/system/etc/wifi/bcmdhd_sta.bin_b2" \ install -Dm644 "etc/wifi/bcmdhd_sta.bin_b2" \
"$pkgdir/lib/firmware/postmarketos/bcmdhd_sta.bin_b2" "$pkgdir/lib/firmware/postmarketos/bcmdhd_sta.bin_b2"
install -Dm644 "$vsrcdir/smdk4412-common/proprietary/system/etc/wifi/nvram_net.txt" \ install -Dm644 "etc/wifi/nvram_net.txt" \
"$pkgdir/lib/firmware/postmarketos/nvram_net.txt" "$pkgdir/lib/firmware/postmarketos/nvram_net.txt"
} }

View file

@ -1,42 +1,52 @@
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06 wcnss.b07 wcnss.b08 wcnss.b09 wcnss.mdt"
_files1="WCNSS_cfg.dat WCNSS_qcom_cfg.ini WCNSS_qcom_wlan_nv.bin"
pkgname=firmware-sony-amami pkgname=firmware-sony-amami
pkgver=1 pkgver=1
pkgrel=0 pkgrel=1
pkgdesc="Firmware files for Xperia Z1 Compact" pkgdesc="Firmware files for Xperia Z1 Compact"
url="https://github.com/TheMuppets/proprietary_vendor_sony" url="https://github.com/TheMuppets/proprietary_vendor_sony"
arch="all" arch="noarch"
license="proprietary" license="proprietary"
depends="wcnss-wlan" depends="wcnss-wlan"
makedepends="" options="!strip !check !archcheck"
install=""
subpackages="" # Source
_files="wcnss.b00 wcnss.b01 wcnss.b02 wcnss.b04 wcnss.b06 wcnss.b07
wcnss.b08 wcnss.b09 wcnss.mdt"
_files_prima="WCNSS_cfg.dat WCNSS_qcom_cfg.ini WCNSS_qcom_wlan_nv.bin"
_commit="bf15795df1d1dcd61d37f6215c1eda47e669d54e"
_url="https://github.com/TheMuppets/proprietary_vendor_sony/raw/$_commit/rhine-common/proprietary/etc/firmware"
source="" source=""
for _i in $_files for _i in $_files; do
do source="$source $pkgname-$_commit-$_i::$_url/$_i"
source="$source https://github.com/TheMuppets/proprietary_vendor_sony/raw/cm-14.1/rhine-common/proprietary/etc/firmware/$_i"
done done
for _i in $_files1 for _i in $_files_prima; do
do source="$source $pkgname-$_commit-$_i::$_url/wlan/prima/$_i"
source="$source https://github.com/TheMuppets/proprietary_vendor_sony/raw/cm-14.1/rhine-common/proprietary/etc/firmware/wlan/prima/$_i"
done done
options="!strip !check"
package() { package() {
mkdir -p $pkgdir/lib/firmware/postmarketos cd "$srcdir"
for _i in $_files; do install -D -m644 "$srcdir/$_i" "$pkgdir/lib/firmware/postmarketos/$_i"; done
for _i in $_files1; do install -D -m644 "$srcdir/$_i" "$pkgdir/lib/firmware/postmarketos/wlan/prima/$_i"; done # /lib/firmware/postmarketos
for _i in $_files; do
install -D -m644 "$pkgname-$_commit-$_i" \
"$pkgdir/lib/firmware/postmarketos/$_i"
done
# /lib/firmware/postmarketos/wlan/prima
for _i in $_files_prima; do
install -D -m644 "$pkgname-$_commit-$_i" \
"$pkgdir/lib/firmware/postmarketos/wlan/prima/$_i"
done
} }
sha512sums="dadeef01a73e997926143af3c7b9dec03399958ed2447d7b42f3a1764337c5bd17368b77f0e3a9ea371083895815e9cb2eee4884348c78abb7c96609398e24a3 wcnss.b00
c0982fd64bc65b4b926989af743e4fa2183caa8e77b9302547cd0449862a84e640fe412640d1566d9f7e5c7f60a880ab4f0ffefc2ded87d5dee534136e872180 wcnss.b01 sha512sums="dadeef01a73e997926143af3c7b9dec03399958ed2447d7b42f3a1764337c5bd17368b77f0e3a9ea371083895815e9cb2eee4884348c78abb7c96609398e24a3 firmware-sony-amami-bf15795df1d1dcd61d37f6215c1eda47e669d54e-wcnss.b00
7b2540a56478fe88d05420808584d2968dc7402a3df6aadd4954c506f6e547490b4df0d4e9c4f35b874ad041caed7e857ddc3ab39abce4a7151eef5187744c22 wcnss.b02 c0982fd64bc65b4b926989af743e4fa2183caa8e77b9302547cd0449862a84e640fe412640d1566d9f7e5c7f60a880ab4f0ffefc2ded87d5dee534136e872180 firmware-sony-amami-bf15795df1d1dcd61d37f6215c1eda47e669d54e-wcnss.b01
98a6005379b7eba296fe0d47e018d054dcd9340d6c1268c0b304519224c2845f9d76dc14324edc351a70af13305cc8ae884e489969519ea0ff8d74585d78653f wcnss.b04 7b2540a56478fe88d05420808584d2968dc7402a3df6aadd4954c506f6e547490b4df0d4e9c4f35b874ad041caed7e857ddc3ab39abce4a7151eef5187744c22 firmware-sony-amami-bf15795df1d1dcd61d37f6215c1eda47e669d54e-wcnss.b02
79f93c73210c18e6084f28fb32558c2b0d9d24bda12d21121db309dc962f5d8687b7d8c55c88235972829132f71d96dc4528fdabc75105a2a9ed60180e633802 wcnss.b06 98a6005379b7eba296fe0d47e018d054dcd9340d6c1268c0b304519224c2845f9d76dc14324edc351a70af13305cc8ae884e489969519ea0ff8d74585d78653f firmware-sony-amami-bf15795df1d1dcd61d37f6215c1eda47e669d54e-wcnss.b04
0b6cbac838dfe7f47ea1bd0df00ec282fdf45510c92161072ccfb84035390c4da743d9c3b954eaa1b0f86fc9861b23cc6c8667ab232c11c686432ebb5c8c3f27 wcnss.b07 79f93c73210c18e6084f28fb32558c2b0d9d24bda12d21121db309dc962f5d8687b7d8c55c88235972829132f71d96dc4528fdabc75105a2a9ed60180e633802 firmware-sony-amami-bf15795df1d1dcd61d37f6215c1eda47e669d54e-wcnss.b06
6033893c75b32cc906bcabdff02fdbbbb75f0b4d568962b38ea023c00b2273f90bce4482358d4ecc64c22bceaa628d55d17877c8301a1406f67c55c86fc08723 wcnss.b08 0b6cbac838dfe7f47ea1bd0df00ec282fdf45510c92161072ccfb84035390c4da743d9c3b954eaa1b0f86fc9861b23cc6c8667ab232c11c686432ebb5c8c3f27 firmware-sony-amami-bf15795df1d1dcd61d37f6215c1eda47e669d54e-wcnss.b07
e260f244e3655fbf480511189303ce85c014638278ea59f85e2eaa043f5c13162ccdbd75ada9490add38b9bb7675e77532c3d915926c91ba03b83bb44465d73f wcnss.b09 6033893c75b32cc906bcabdff02fdbbbb75f0b4d568962b38ea023c00b2273f90bce4482358d4ecc64c22bceaa628d55d17877c8301a1406f67c55c86fc08723 firmware-sony-amami-bf15795df1d1dcd61d37f6215c1eda47e669d54e-wcnss.b08
308ee0be85f1caa728687d5d8ca56f547acf63a05d46b38e49c0a4307326088d92b9c567e496d220b5132f1a03e0e6d8ab5b6e56f6dbe4119a66be74d2c8182d wcnss.mdt e260f244e3655fbf480511189303ce85c014638278ea59f85e2eaa043f5c13162ccdbd75ada9490add38b9bb7675e77532c3d915926c91ba03b83bb44465d73f firmware-sony-amami-bf15795df1d1dcd61d37f6215c1eda47e669d54e-wcnss.b09
62306e85731554865190a6fd73de59bdb27b544825d4df3434c6fc392adf1869bcab9070ce2f60a55a82598ada06e33345ee3f9ae28eb0371fb441a3f58be2cb WCNSS_cfg.dat 308ee0be85f1caa728687d5d8ca56f547acf63a05d46b38e49c0a4307326088d92b9c567e496d220b5132f1a03e0e6d8ab5b6e56f6dbe4119a66be74d2c8182d firmware-sony-amami-bf15795df1d1dcd61d37f6215c1eda47e669d54e-wcnss.mdt
3a5effd450762dcda6515a9fb5e92c2c0c97043cb0078bd1bafebb397681959550aa06685dee43135faec2475aef9fbbc7f998f49c284338d6007ebcf9d88bed WCNSS_qcom_cfg.ini 62306e85731554865190a6fd73de59bdb27b544825d4df3434c6fc392adf1869bcab9070ce2f60a55a82598ada06e33345ee3f9ae28eb0371fb441a3f58be2cb firmware-sony-amami-bf15795df1d1dcd61d37f6215c1eda47e669d54e-WCNSS_cfg.dat
aeb68eb2c62297121c50115e536dd4c39bd323bbf1c83cb8a1fd65e4703d1b979588da7d715dcfde330ce3a85e698235206b9bf0e7e09e875707e5265d31adac WCNSS_qcom_wlan_nv.bin" 3a5effd450762dcda6515a9fb5e92c2c0c97043cb0078bd1bafebb397681959550aa06685dee43135faec2475aef9fbbc7f998f49c284338d6007ebcf9d88bed firmware-sony-amami-bf15795df1d1dcd61d37f6215c1eda47e669d54e-WCNSS_qcom_cfg.ini
aeb68eb2c62297121c50115e536dd4c39bd323bbf1c83cb8a1fd65e4703d1b979588da7d715dcfde330ce3a85e698235206b9bf0e7e09e875707e5265d31adac firmware-sony-amami-bf15795df1d1dcd61d37f6215c1eda47e669d54e-WCNSS_qcom_wlan_nv.bin"

View file

@ -1,23 +1,20 @@
pkgname=firmware-t2m-flame pkgname=firmware-t2m-flame
pkgver=1 pkgver=1
pkgrel=3 pkgrel=4
pkgdesc="Mozilla Flame Firmware" pkgdesc="Mozilla Flame Firmware"
url="https://github.com/yuvadm/mozilla-flame-firmware" url="https://github.com/yuvadm/mozilla-flame-firmware"
arch="noarch" arch="noarch"
license="proprietary" license="proprietary"
depends=""
makedepends=""
install=""
subpackages=""
_hash=503a4052a8bfdc3b4c06533f2d08fe4d6a923842
source=$pkgname-$_hash.tar.gz::$url"/archive/${_hash}.tar.gz"
options="!check !strip !archcheck" options="!check !strip !archcheck"
# Source
_commit=503a4052a8bfdc3b4c06533f2d08fe4d6a923842
source="$pkgname-$_commit.tar.gz::$url/archive/${_commit}.tar.gz"
package() { package() {
mkdir -p "$pkgdir/lib/firmware/postmarketos" cd "$srcdir/mozilla-flame-firmware-$_commit"
for fw in $(find "${srcdir}/mozilla-flame-firmware-${_hash}/" -type f) for _i in *; do
do install -Dm644 "$_i" "$pkgdir/lib/firmware/postmarketos/$_i"
install -m644 $fw "$pkgdir/lib/firmware/postmarketos/"
done done
} }