2020-02-29 14:22:43 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-sharp-shl22
|
2020-02-29 14:22:43 +00:00
|
|
|
pkgdesc="SHARP SHL22"
|
|
|
|
pkgver=0.1
|
2021-04-11 15:59:52 +00:00
|
|
|
pkgrel=3
|
2020-02-29 14:22:43 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="armv7"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="postmarketos-base linux-sharp-shl22 mesa-dri-swrast mkbootimg msm-fb-refresher"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
initfs-hook.sh
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
|
|
|
|
# Disable v4l (video4linux), because without the camera firmware
|
|
|
|
# blobs this makes dev hang with the kernel this device uses (#1033)
|
|
|
|
mkdir -p "$pkgdir"/etc/udev/rules.d
|
|
|
|
ln -s /dev/null "$pkgdir"/etc/udev/rules.d/60-persistent-v4l.rules
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-05-17 13:33:49 +00:00
|
|
|
sha512sums="1cb5c55a9334d6ca15951a8cb6b8cca40e94bebb7319291c72c1a08c5310fb6db4bfb7361f81a9caf5bdd766e3915c0e5794f4fe49e2ae55c7350104ddd6fb41 deviceinfo
|
2020-02-29 14:22:43 +00:00
|
|
|
c983fc8281167bed1de5eec3651d82ed0dea612a4267acc8edf34ac8b1f857a57d5d63c555a373749eef3119cbfc9f4d25a080c0291d5af847642b5f60fcb211 initfs-hook.sh"
|