2020-01-10 16:55:58 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-sony-honami
|
2017-11-19 19:31:08 +00:00
|
|
|
pkgdesc="Sony Xperia Z1"
|
2020-01-10 22:09:43 +00:00
|
|
|
pkgver=1.2
|
2024-01-21 22:56:08 +00:00
|
|
|
pkgrel=9
|
2017-11-19 19:31:08 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2019-03-09 19:43:36 +00:00
|
|
|
arch="armv7"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-sony-honami msm-fb-refresher mkbootimg"
|
2020-01-10 16:55:58 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2020-01-10 22:09:43 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
90-android-touch-dev.rules
|
|
|
|
"
|
2017-11-19 19:31:08 +00:00
|
|
|
|
2020-01-10 16:55:58 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2017-11-19 19:31:08 +00:00
|
|
|
package() {
|
2020-01-10 16:55:58 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2017-11-19 19:31:08 +00:00
|
|
|
install -Dm644 "$srcdir"/90-android-touch-dev.rules \
|
|
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
|
|
|
}
|
|
|
|
|
2018-02-26 22:11:44 +00:00
|
|
|
nonfree_firmware() {
|
2019-03-12 06:49:09 +00:00
|
|
|
depends="firmware-sony-rhine"
|
2018-02-26 22:11:44 +00:00
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2020-01-10 22:09:43 +00:00
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
|
|
|
100b107caf3e9ab6f8a5cb3e4c03ec5c73b887c59da48684a69876df8a586304db35b7c7fdeec456a79e9d7c622be6c7c5ed5a1bc296672dff16d11f5bc12998 deviceinfo
|
|
|
|
1651ac9eda3c97fafe55abe0f0ae429e04f73edcbf2c56aa3259f81837f7adde348bcb385daed05c30cfc61415455a459a917ed3acccbfd9b7a1caa32a851d40 90-android-touch-dev.rules
|
|
|
|
"
|