2020-01-10 10:32:57 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Contributor: opendata26 <ctatlor97@gmail.com>
|
2017-08-11 10:41:29 +00:00
|
|
|
pkgname=device-sony-castor-windy
|
|
|
|
pkgver=1
|
2020-01-10 10:32:57 +00:00
|
|
|
pkgrel=18
|
2017-08-11 10:41:29 +00:00
|
|
|
pkgdesc="Sony Xperia Z2 Tablet WIFI"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="armhf"
|
2017-08-11 10:41:29 +00:00
|
|
|
license="MIT"
|
2019-07-25 20:53:17 +00:00
|
|
|
depends="postmarketos-base mkbootimg linux-sony-castor-windy mesa-git mesa-git-glapi mesa-git-gl mesa-git-gles mesa-git-egl mesa-git-gbm mesa-git-dri-freedreno"
|
2020-01-10 10:32:57 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2018-02-26 22:11:44 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2017-10-26 18:13:18 +00:00
|
|
|
source="modules-load.conf deviceinfo 90-android-touch-dev.rules brcmfmac4335-sdio.txt"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2017-08-11 10:41:29 +00:00
|
|
|
|
2020-01-10 10:32:57 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2017-08-11 10:41:29 +00:00
|
|
|
package() {
|
2020-01-10 10:32:57 +00:00
|
|
|
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
|
2017-10-20 00:07:00 +00:00
|
|
|
install -D -m644 "$srcdir"/modules-load.conf \
|
2020-01-10 10:32:57 +00:00
|
|
|
"$pkgdir"/etc/modules-load.d/00-$pkgname.conf
|
2017-08-11 10:41:29 +00:00
|
|
|
}
|
2018-02-26 22:11:44 +00:00
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi, GPU firmware"
|
|
|
|
depends="linux-firmware firmware-adreno"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2017-08-18 21:13:38 +00:00
|
|
|
sha512sums="d8ce60ea7acaabf627ddca2f0887a4cda46f313b7aaf7934bef2fef8a6e0798ccefab849e4571e4e3fcd06ae34c1a6efe3b58b401e2e443416f6200e6d4ea769 modules-load.conf
|
2018-12-25 19:25:32 +00:00
|
|
|
7d905b1f4d02ae01ce976727323e3fc6c3b9bb881a5b52d616473a235e76d8c36478607437befe5504f18c3cf01a3a716f33c662552d384b8ff82f99053093b1 deviceinfo
|
2017-10-17 20:38:47 +00:00
|
|
|
fa0d8b7a17509f5882424e67e66f5f562705a076a12e8d9dd9363215c858d7801216520cf25373110671958b1e1589080b097170c760d18e621849b0b9090e05 90-android-touch-dev.rules
|
2017-10-26 18:13:18 +00:00
|
|
|
b99a1bc0d430a261b6ab0b5ea12f2e996ab24ece6fe40ff57357697f4db976394c655a7c7a63e7c985f6356126a6b1d920eb0077817cb65ae18250f404282a68 brcmfmac4335-sdio.txt"
|