pmaports/device/device-sony-yuga/APKBUILD
2020-01-17 18:12:02 +01:00

30 lines
1.1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
# Contributor: Wouter Franken <wouter.franken@gmail.com>
pkgname=device-sony-yuga
pkgver=1
pkgrel=15
pkgdesc="Sony Xperia Z"
url="https://postmarketos.org"
arch="armhf"
license="MIT"
depends="postmarketos-base linux-sony-yuga mkbootimg msm-fb-refresher mesa-dri-swrast"
makedepends="devicepkg-dev"
source="deviceinfo 90-android-touch-dev.rules"
options="!check !archcheck"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
# 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
}
sha512sums="e31f9aa13945f6b11ad0688ecc5af8ca0f0d87f6d105775f34b298355c627c514c468da9cd9e8a70478bef55a7fde7b7e0b8614652bf3fdd539389192546a7a3 deviceinfo
8b6034c0338ab4c7d648f47983aad6da07e427e7dba47baabf85a1b3ddeeda47c8d7fbcd547a302c9a759b2943ee30d3e82c3b368d8582833a058e4671638a9e 90-android-touch-dev.rules"