2020-02-06 13:44:23 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-sony-castor
|
2022-10-04 20:34:45 +00:00
|
|
|
pkgver=3
|
2023-08-02 17:06:01 +00:00
|
|
|
pkgrel=2
|
2020-02-06 13:44:23 +00:00
|
|
|
pkgdesc="Sony Xperia Z2 Tablet"
|
|
|
|
url="https://postmarketos.org"
|
|
|
|
arch="armv7"
|
|
|
|
license="MIT"
|
2021-09-14 08:59:30 +00:00
|
|
|
depends="
|
|
|
|
linux-postmarketos-qcom-msm8974
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
"
|
2020-02-06 13:44:23 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="deviceinfo modules-initfs modules-load.conf"
|
2020-02-06 13:44:23 +00:00
|
|
|
options="!check !archcheck"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi, GPU firmware"
|
2021-09-14 08:59:30 +00:00
|
|
|
depends="
|
|
|
|
linux-firmware-brcm
|
|
|
|
linux-firmware-cypress
|
2021-10-23 08:08:54 +00:00
|
|
|
firmware-qcom-adreno-a330
|
2021-09-14 08:59:30 +00:00
|
|
|
firmware-sony-castor
|
|
|
|
"
|
2020-02-06 13:44:23 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2022-10-04 20:34:45 +00:00
|
|
|
sha512sums="
|
2023-08-02 17:06:01 +00:00
|
|
|
f153ad684c2666e2a5f3b0f885483319d3b0dec33b1788480f82e50922d77371914e35f29e7699d976ef3c2c37a5d7453dbceeef013f68892bb0822a3deb1496 deviceinfo
|
|
|
|
fd639faebbee2c0c2c227710678376e0d039b7d96a62103f7ba7e6304d7060023f09064918e93a125465d20d125c0334225680521a7aeae5a43d77d7360c180c modules-initfs
|
2022-10-04 20:34:45 +00:00
|
|
|
d8ce60ea7acaabf627ddca2f0887a4cda46f313b7aaf7934bef2fef8a6e0798ccefab849e4571e4e3fcd06ae34c1a6efe3b58b401e2e443416f6200e6d4ea769 modules-load.conf
|
|
|
|
"
|