2020-01-10 10:32:57 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2017-09-02 18:51:38 +00:00
|
|
|
pkgname=device-sony-yuga
|
2024-01-28 12:32:47 +00:00
|
|
|
pkgver=4
|
2024-06-18 19:53:59 +00:00
|
|
|
pkgrel=1
|
2017-09-02 18:51:38 +00:00
|
|
|
pkgdesc="Sony Xperia Z"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2021-10-17 16:34:45 +00:00
|
|
|
arch="armv7"
|
2017-09-02 18:51:38 +00:00
|
|
|
license="MIT"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base mkbootimg"
|
2020-01-10 10:32:57 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2021-10-19 09:40:43 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
2022-03-26 22:19:39 +00:00
|
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
2021-10-19 09:40:43 +00:00
|
|
|
"
|
2018-07-05 21:50:48 +00:00
|
|
|
source="deviceinfo 90-android-touch-dev.rules"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2017-09-02 18:51:38 +00:00
|
|
|
|
2020-01-10 10:32:57 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2017-09-02 18:51:38 +00:00
|
|
|
package() {
|
2020-01-10 10:32:57 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2017-09-11 15:29:22 +00:00
|
|
|
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
|
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
2017-09-02 18:51:38 +00:00
|
|
|
}
|
|
|
|
|
2022-03-26 22:19:39 +00:00
|
|
|
kernel_downstream() {
|
|
|
|
pkgdesc="LineageOS downstream kernel (recommended)"
|
2024-01-28 12:32:47 +00:00
|
|
|
depends="
|
|
|
|
linux-sony-yuga
|
|
|
|
msm-fb-refresher
|
|
|
|
postmarketos-base-downstream-disable-udev-v4l
|
|
|
|
"
|
2022-03-26 22:19:39 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline() {
|
|
|
|
pkgdesc="Close to mainline; do not use - only for development!"
|
|
|
|
depends="linux-postmarketos-qcom-apq8064"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2021-10-19 09:40:43 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-sony-fusion3"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
2024-06-18 19:53:59 +00:00
|
|
|
d7f942ff1d17e4a775040c1a00bdafed534fb552696fdf4764fe8a741f4766fa4dacdd243058e9e4574706b9e9e8dccb5144fe4c6c3a6aa04d5fcdad46385601 deviceinfo
|
2021-09-18 17:06:03 +00:00
|
|
|
8b6034c0338ab4c7d648f47983aad6da07e427e7dba47baabf85a1b3ddeeda47c8d7fbcd547a302c9a759b2943ee30d3e82c3b368d8582833a058e4671638a9e 90-android-touch-dev.rules
|
|
|
|
"
|