2020-02-09 21:13:25 +00:00
|
|
|
# Maintainer: Audun MG <audun@gangsto.org>
|
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-sony-leo
|
2020-05-17 15:17:31 +00:00
|
|
|
pkgdesc="Sony Xperia Z3"
|
2024-04-02 12:52:52 +00:00
|
|
|
pkgver=1
|
2024-06-18 19:53:59 +00:00
|
|
|
pkgrel=1
|
2020-02-09 21:13:25 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="armv7"
|
|
|
|
options="!check !archcheck"
|
2022-06-23 16:44:48 +00:00
|
|
|
depends="
|
2023-05-13 09:26:16 +00:00
|
|
|
lk2nd-msm8974
|
2022-06-23 16:44:48 +00:00
|
|
|
mkbootimg
|
|
|
|
msm-fb-refresher
|
|
|
|
postmarketos-base
|
|
|
|
"
|
2020-02-09 21:13:25 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2022-06-23 16:44:48 +00:00
|
|
|
subpackages="
|
2022-12-29 10:07:32 +00:00
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
2022-06-23 16:44:48 +00:00
|
|
|
$pkgname-kernel-downstream:kernel_downstream
|
2020-02-09 21:13:25 +00:00
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
2022-06-23 16:44:48 +00:00
|
|
|
source="deviceinfo"
|
2020-02-09 21:13:25 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_downstream() {
|
|
|
|
pkgdesc="Weston and X.Org with touch and wifi works (see device table for details)"
|
|
|
|
depends="linux-sony-leo"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2022-12-29 10:07:32 +00:00
|
|
|
kernel_mainline() {
|
|
|
|
pkgdesc="Kernel close to mainline"
|
|
|
|
depends="linux-postmarketos-qcom-msm8974"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2020-02-09 21:13:25 +00:00
|
|
|
nonfree_firmware() {
|
2022-12-29 10:07:32 +00:00
|
|
|
pkgdesc="Wifi/GPU firmware"
|
2023-10-05 18:57:45 +00:00
|
|
|
depends="
|
|
|
|
firmware-sony-leo-adsp
|
|
|
|
firmware-sony-leo-modem
|
|
|
|
firmware-sony-leo-wifi
|
|
|
|
msm-modem
|
|
|
|
ta-service
|
|
|
|
ta-service-openrc
|
|
|
|
"
|
|
|
|
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
2020-02-09 21:13:25 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
2022-06-23 16:44:48 +00:00
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
2024-06-18 19:53:59 +00:00
|
|
|
cede75ba790a68fe96d8aa7fdc82439d20afb26bf9df78072e73ad3cca5fa3ea8d318a11008a7bb9bad71302fc28ca61219fb5fd19bfa839bf6ae9b76aa80f9d deviceinfo
|
2021-09-18 17:06:03 +00:00
|
|
|
"
|