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"
|
2022-12-29 10:07:32 +00:00
|
|
|
pkgver=0.3
|
2023-05-13 09:26:16 +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"
|
|
|
|
depends="linux-firmware-brcm linux-firmware-cypress firmware-qcom-adreno-a330"
|
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="
|
2022-12-29 10:07:32 +00:00
|
|
|
46d4d5cb5611fada17e8800dcccaee1573a18dd434ce0332bb647f26a2127c080a52c9e253c828bb559272eea851f980937b6d7088617180b8b06848cb71efa1 deviceinfo
|
2021-09-18 17:06:03 +00:00
|
|
|
"
|