2020-01-10 10:32:57 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Contributor: Wouter Franken <wouter.franken@gmail.com>
|
2017-09-02 18:51:38 +00:00
|
|
|
pkgname=device-sony-yuga
|
|
|
|
pkgver=1
|
2020-02-07 17:27:12 +00:00
|
|
|
pkgrel=17
|
2017-09-02 18:51:38 +00:00
|
|
|
pkgdesc="Sony Xperia Z"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="armhf"
|
2017-09-02 18:51:38 +00:00
|
|
|
license="MIT"
|
2018-07-05 21:50:48 +00:00
|
|
|
depends="postmarketos-base linux-sony-yuga mkbootimg msm-fb-refresher mesa-dri-swrast"
|
2020-01-10 10:32:57 +00:00
|
|
|
makedepends="devicepkg-dev"
|
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
|
2018-01-04 16:41:27 +00:00
|
|
|
|
|
|
|
# Disable v4l (video4linux), because without the camera firmware
|
|
|
|
# blobs this makes dev hang with the kernel this device uses (#1033)
|
|
|
|
ln -s /dev/null "$pkgdir"/etc/udev/rules.d/60-persistent-v4l.rules
|
2017-09-02 18:51:38 +00:00
|
|
|
}
|
|
|
|
|
2020-02-07 17:27:12 +00:00
|
|
|
sha512sums="2d5e50300e9eff6007b155a7c5d5660515a88e3be1c977257cd447fe381f428b9400420350ade2ba6626432a4a0d10c00689aa71ca2c31ae2e625b04310e8fd0 deviceinfo
|
2018-07-05 21:50:48 +00:00
|
|
|
8b6034c0338ab4c7d648f47983aad6da07e427e7dba47baabf85a1b3ddeeda47c8d7fbcd547a302c9a759b2943ee30d3e82c3b368d8582833a058e4671638a9e 90-android-touch-dev.rules"
|