pmaports/device/device-motorola-def/APKBUILD
Minecrell e302eff0bc
device/device-*: remove empty touchscreen(_calibration) / dev_keyboard (!1036)
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
2020-03-09 10:06:00 +01:00

39 lines
1.1 KiB
Text

# Contributor: ky0ko <ky0ko@disroot.org>
# Maintainer: ky0ko <ky0ko@disroot.org>
# Reference: <https://postmarketos.org/devicepkg>
pkgname="device-motorola-def"
pkgdesc="Motorola Moto One Hyper"
pkgver=0.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
subpackages="$pkgname-weston $pkgname-nonfree-firmware:nonfree_firmware"
depends="postmarketos-base linux-motorola-def mkbootimg mesa-dri-swrast"
makedepends="devicepkg-dev"
source="deviceinfo weston.ini"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
weston() {
install_if="$pkgname weston"
install -Dm644 "$srcdir"/weston.ini \
"$subpkgdir"/etc/xdg/weston/weston.ini
}
nonfree_firmware() {
pkgdesc="Nonfree firmware metapackage for Motorola One Hyper"
depends="firmware-motorola-def"
mkdir "$subpkgdir"
}
sha512sums="50171692cbb31cb68f5a1fee57074d0898c334fc9c6942d6c06a5edb159b55baac8cf9425336661f503b9d104aebc360a6c84be5b278e91823ec9979b58c3f4d deviceinfo
809cac74c2ea02e21359c7f37f90a0efdf90ea1d23082acff6786e6dbaa1c2b5616a4d36de751ac6c73cfa727362bc23df95b0c78bf4dd1d3441ac182372358a weston.ini"