device-amazon-thor: Modernize APKBUILD (#1554)
* Modernize APKBUILD to be up to date with the current template. * Regenerate fb.modes, it works now!
This commit is contained in:
parent
75652ad9d3
commit
00eb0ae306
4 changed files with 16 additions and 29 deletions
|
@ -1,3 +0,0 @@
|
|||
# Touchscreen
|
||||
SUBSYSTEM=="input", ATTRS{name}=="synaptics_dsx_i2c", \
|
||||
ENV{ID_INPUT}="1", ENV{ID_INPUT_TOUCHSCREEN}="1"
|
|
@ -1,30 +1,27 @@
|
|||
pkgname=device-amazon-thor
|
||||
pkgver=1
|
||||
pkgrel=7
|
||||
pkgrel=8
|
||||
pkgdesc="Amazon KFHDX 7inch 2013"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="postmarketos-base linux-amazon-thor mkbootimg msm-fb-refresher mesa-dri-swrast"
|
||||
makedepends=""
|
||||
install="$pkgname.post-install"
|
||||
makedepends="devicepkg-dev"
|
||||
install=""
|
||||
subpackages=""
|
||||
source="
|
||||
deviceinfo
|
||||
90-android-touch-dev.rules
|
||||
fb.modes
|
||||
"
|
||||
options="!check"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
install -D -m644 "$srcdir/deviceinfo" \
|
||||
"$pkgdir/etc/deviceinfo"
|
||||
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
||||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
install -Dm644 "$srcdir"/fb.modes \
|
||||
"$pkgdir"/etc/fb.modes
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
sha512sums="72f3e47ae416b625d0c82d0450dc3260675978ba3817fd6a157bcae8caacd6ea86364f525a11297bf6d4909846eecbff256119af940cffac99bcf7aa9abb1788 deviceinfo
|
||||
7ed015f42c445cbfa34a26ec33da8d72bcba818eecd3fae91fb418132472e739edaeed021e942d30f7d64593ffe17b61bc75e89fd45ffc44c2cdf0d1827942cb 90-android-touch-dev.rules
|
||||
762d712485f581113dd70bf2a4e0602f8b9ac8c05cf519ffc2d9a4a5c7bdb387c150cee087e7523e90f598c0cde3dce89975dadc2d651b770f7f80e480848ed4 fb.modes"
|
||||
e96725e631ba474980274266fd5af85c72fcd31543d0b5f5dbe7bd610f9650f881708a41887d61ba3e1d821b88668c3ca3d18667e9a1de918560a1ff762dda3d fb.modes"
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Create mount point and /efs mount point in fstab
|
||||
if [ -z "$(grep /efs /etc/fstab)" ]; then
|
||||
mkdir -p /efs
|
||||
echo "/dev/mmcblk0p1 /efs auto ro 0 0" >> /etc/fstab
|
||||
fi
|
|
@ -1,7 +1,7 @@
|
|||
mode "1200x1920-0"
|
||||
# D: 1.116 MHz, H: 0.877 kHz, V: 0.448 Hz
|
||||
geometry 1200 1920 1200 1920 16
|
||||
timings 896149 16 32 25 10 24 2
|
||||
accel false
|
||||
rgba 8/24,8/16,8/8,8/0
|
||||
endmode
|
||||
mode "1200x1920-0"
|
||||
# D: 1.116 MHz, H: 0.877 kHz, V: 0.448 Hz
|
||||
geometry 1200 1920 1200 1920 24
|
||||
timings 896149 16 32 25 10 24 2
|
||||
accel false
|
||||
rgba 8/16,8/8,8/0,0/0
|
||||
endmode
|
||||
|
|
Loading…
Reference in a new issue