pmaports/firmware/firmware-adreno/APKBUILD

33 lines
2 KiB
Text

pkgname=firmware-adreno
pkgver=1
pkgrel=4
pkgdesc="Firmware for adreno gpus"
url="https://github.com/TheMuppets/proprietary_vendor_sony"
arch="noarch"
license="proprietary"
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() {
for _i in $_files; do
install -Dm644 "$srcdir/$pkgname-$_commit-$_i" \
"$pkgdir/lib/firmware/postmarketos/$_i"
done
}
sha512sums="b278ea24a84036f24f3fa583e63b2c1236312d8b163398d874367ffc91b4652ceb0b3ce5dd2097748dd2083ea1222c0f9413efcc5b72553da3ef753f5910f24a firmware-adreno-bf15795df1d1dcd61d37f6215c1eda47e669d54e-a225_pm4.fw
d127fdca476233fca6e6e59e62bced8563663bac65de30a81eb1912f182cd27fdf8726085e65820c4c26c389daa1ffef9792a598c7b7568f277e781b5e775d5f firmware-adreno-bf15795df1d1dcd61d37f6215c1eda47e669d54e-a225_pfp.fw
339a632a554a8c6e7fd1ff1465c3c985417f9e199e6934a5b149862245566f0c7171c924fc0a7a0d96bc6c5c5efd3c86dd0252d7064f7fee8ac502be8fc977f0 firmware-adreno-bf15795df1d1dcd61d37f6215c1eda47e669d54e-a225p5_pm4.fw
0622ce695b8021fd2bc1d94498b475dc2aac582b637dd4695968912b69ee61e190ce3848d233a514b37ece5a63d47878254ef220d573035b47b888e92e91d684 firmware-adreno-bf15795df1d1dcd61d37f6215c1eda47e669d54e-a300_pfp.fw
c330767a1bfd200745c7dd8d80e293bbffe906d07f4c5f595af69c46bb6d6bb390f3e386ccf999f2a77ced8e969abb0743d723bd94f7cb8c96320ba72129d1d2 firmware-adreno-bf15795df1d1dcd61d37f6215c1eda47e669d54e-a300_pm4.fw
a642584990333d62ba6a985eeaddc6898c37a8e80aabb61121f93a90d5076861eb698422101e7b00706b7d3dfc00f9f358ea5e44a70fda7369931eb58b455931 firmware-adreno-bf15795df1d1dcd61d37f6215c1eda47e669d54e-a330_pfp.fw
999e3e0777b8dffc0e0d20b214c8217dab577a31753b6a29af2fae57293693196e992a905265e35a586a7978c04547aa8c88496dbe6f836b74ed39026eaa5f05 firmware-adreno-bf15795df1d1dcd61d37f6215c1eda47e669d54e-a330_pm4.fw"