
Most devices do not need to set any of these variables. directfb can now automatically detect touchscreens, calibration is only needed for resistive touchscreens and dev_keyboard is unused. Automatically done using: - sed -i '/deviceinfo_dev_keyboard=""/d' device-*/deviceinfo - sed -i '/deviceinfo_dev_touchscreen=""/d' device-*/deviceinfo - sed -i '/deviceinfo_dev_touchscreen_calibration=""/d' device-*/deviceinfo
29 lines
922 B
Text
29 lines
922 B
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Contributor: Lionel Duboeuf
|
|
# Contributor: Nikita Ukhrenkov <thekit@disroot.org>
|
|
pkgname="device-oneplus-oneplus2"
|
|
pkgdesc="OnePlus 2"
|
|
pkgver=0.1
|
|
pkgrel=4
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-oneplus-oneplus2 mkbootimg mesa-dri-swrast msm-fb-refresher"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo
|
|
initfs-hook.sh
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
install -Dm644 "$srcdir"/deviceinfo \
|
|
"$pkgdir"/etc/deviceinfo
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
sha512sums="c472860431611e52ccddc223ff8365d44c9f1aedf204ef3d130c92d270d2d4c52e66d2621c880d8f9dc5cb82abbab7431426e974f20ee0db9d41782bf97d3ca8 deviceinfo
|
|
abf299888a7a2eafc483a0077b0a60ff04a9c85e54c09758896a15d5d4fe0359765d078797d6791acd0ca5ede2f46dac2674fadbbbf0905d81e9a01e97d8b470 initfs-hook.sh"
|