2020-02-06 13:44:23 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-sony-castor
|
|
|
|
pkgver=2
|
2021-09-14 08:59:30 +00:00
|
|
|
pkgrel=4
|
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
|
|
|
|
mesa-dri-gallium
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
"
|
2020-02-06 13:44:23 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
source="deviceinfo modules-load.conf"
|
|
|
|
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
|
|
|
|
firmware-adreno
|
|
|
|
firmware-sony-castor
|
|
|
|
"
|
2020-02-06 13:44:23 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-03-07 20:45:03 +00:00
|
|
|
sha512sums="599ddc55007a2277643c3a8ef52135b6e962f2402906e26cb3c37461e6d54ca17dab40ead24e089d1264ba7692b201e13707eabfe5d787c82f8a85db7fe1d69e deviceinfo
|
2020-02-06 13:44:23 +00:00
|
|
|
d8ce60ea7acaabf627ddca2f0887a4cda46f313b7aaf7934bef2fef8a6e0798ccefab849e4571e4e3fcd06ae34c1a6efe3b58b401e2e443416f6200e6d4ea769 modules-load.conf"
|