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
32 lines
1 KiB
Text
32 lines
1 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Contributor: Dzmitry Sankouski <dzmitriy.sankouski@intellectsoft.net>
|
|
pkgname="device-samsung-a5y17lte"
|
|
pkgdesc="Samsung Galaxy A5 (2017)"
|
|
pkgver=0.1
|
|
pkgrel=3
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-samsung-a5y17lte mkbootimg mesa-dri-swrast msm-fb-refresher"
|
|
makedepends="devicepkg-dev"
|
|
source="deviceinfo initfs-hook.sh"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Non-free firmware for the Samsung Galaxy A5 2017"
|
|
depends="firmware-samsung-universal7880"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
|
|
sha512sums="7fc2a6df7131c398859112f7076e81e7bd4c1d7f1552998ad90d2bbdb9565a78f4086af41a04463b1f43ea2974cd138647de2bb12a9776f059f057830ec449aa deviceinfo
|
|
92effac4743fbcfc47461723eac7b088efb58574d76822293ba95d66edd4820886241173a84bed6a9095801d39311c29aeac409add53421bb2c5a6caf395226c initfs-hook.sh"
|