a17a931026
[ci:ignore-count], [ci:skip-build]
36 lines
1.5 KiB
Text
36 lines
1.5 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-sony-castor-windy
|
|
pkgver=1
|
|
pkgrel=24
|
|
pkgdesc="Sony Xperia Z2 Tablet WIFI"
|
|
url="https://postmarketos.org"
|
|
arch="armhf"
|
|
license="MIT"
|
|
depends="postmarketos-base mkbootimg linux-sony-castor-windy mesa-dri-freedreno"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="modules-load.conf deviceinfo 90-android-touch-dev.rules brcmfmac4335-sdio.txt"
|
|
options="!check !archcheck"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
install -D -m644 "$srcdir"/brcmfmac4335-sdio.txt \
|
|
"$pkgdir"/lib/firmware/brcm/brcmfmac4335-sdio.txt
|
|
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wifi, GPU firmware"
|
|
depends="linux-firmware firmware-adreno"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="d8ce60ea7acaabf627ddca2f0887a4cda46f313b7aaf7934bef2fef8a6e0798ccefab849e4571e4e3fcd06ae34c1a6efe3b58b401e2e443416f6200e6d4ea769 modules-load.conf
|
|
8a56e4fe7740287fc82641b39f340a42fb97d363952b642e16ffc45e513cd0f81844577d8176c34dc3dba77be0dc9e8cd58a881f5585360d8f9a4ccf0a81ff03 deviceinfo
|
|
fa0d8b7a17509f5882424e67e66f5f562705a076a12e8d9dd9363215c858d7801216520cf25373110671958b1e1589080b097170c760d18e621849b0b9090e05 90-android-touch-dev.rules
|
|
b99a1bc0d430a261b6ab0b5ea12f2e996ab24ece6fe40ff57357697f4db976394c655a7c7a63e7c985f6356126a6b1d920eb0077817cb65ae18250f404282a68 brcmfmac4335-sdio.txt"
|