de2bba9e58
Download: https://wiki.postmarketos.org/index.php?title=Special:CargoExport&tables=Devices&&fields=Codename%2C+Released&&group+by=Codename&order+by=%60Codename%60%2C+%60Released%60&limit=5000&format=csv cd device for device in device-*; do year=$(grep -oP "${device#device-},\K2\d{3}" ../results.csv) [[ -n "$year" ]] || continue sed -i "s/deviceinfo_date=\"\"/deviceinfo_year=\"$year\"/" "$device/deviceinfo" done devices=$(git ls-files -m -- . | xargs dirname | sort -u | xargs echo) pmbootstrap checksum $devices
33 lines
1 KiB
Text
33 lines
1 KiB
Text
# Contributor: TAKIZAWA Fumiya <takizawa.fumiya34@gmail.com>
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname="device-sharp-shl22"
|
|
pkgdesc="SHARP SHL22"
|
|
pkgver=0.1
|
|
pkgrel=0
|
|
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
|
|
}
|
|
|
|
|
|
sha512sums="e8ce0a34dec989bfab4d44e55d1fb2611d2460da58b19dd8e5a7c05ef431dbfc16ef751abc3047b74799ea3af6541773c2b9f199985de1bea1789e9e254060d8 deviceinfo
|
|
c983fc8281167bed1de5eec3651d82ed0dea612a4267acc8edf34ac8b1f857a57d5d63c555a373749eef3119cbfc9f4d25a080c0291d5af847642b5f60fcb211 initfs-hook.sh"
|