e302eff0bc
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
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Contributor: Nick Reitemeyer <nick.reitemeyer@web.de>
|
|
pkgname="device-surftab-wintron7.0"
|
|
pkgdesc="TrekStor SurfTab wintron 7.0"
|
|
pkgver=0.3
|
|
pkgrel=5
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="x86_64"
|
|
options="!check !archcheck"
|
|
depends="grub-x86 postmarketos-base linux-lts mesa-dri-intel"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="
|
|
deviceinfo
|
|
grub.cfg
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
mkdir -p "$pkgdir"/boot/grub/
|
|
install -D -m644 "$srcdir"/grub.cfg \
|
|
"$pkgdir"/boot/grub/grub.cfg
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Touchscreen firmware"
|
|
depends="firmware-surftab-wintron7.0"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="63df212a970f050172e22b391eaf9fef6f30ca97dcba337ddd10977b4e2cf624083593236d10180a82522bcc7a5766b6a546af37dbec6a3829019a6ee278569a deviceinfo
|
|
8b77755eb59c07f84cb00439f09e0f4bbc2fdf6da8e41160bb1967463c0e098d012a18465891a5d0fc64a37712ba3840a110aa7a371da90c23b4fcd7ac63c004 grub.cfg"
|