pmaports/device/testing/device-asus-flo/APKBUILD

58 lines
1.9 KiB
Text
Raw Permalink Normal View History

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: David Heidelberg <david@ixit.cz>
pkgname=device-asus-flo
pkgver=2
pkgrel=1
pkgdesc="Google Nexus 7 2013 (flo)"
url="https://postmarketos.org"
device/*-asus-flo: switch to ARMv7 v2: - Also switch firmware/firmware-asus-flo - fix linting warnings device/linux-asus-flo/APKBUILD: IC:[AL6]:device/linux-asus-flo/APKBUILD:36:prefix custom variable with _: HOSTCC="${CC:-gcc}" IC:[AL6]:device/linux-asus-flo/APKBUILD:37:prefix custom variable with _: HOSTCC="${HOSTCC#${CROSS_COMPILE}}" IC:[AL6]:device/linux-asus-flo/APKBUILD:39:prefix custom variable with _: ksrcdir="$srcdir/linux-$pkgver" MC:[AL5]:device/linux-asus-flo/APKBUILD:10:variable set to empty string: depends="" MC:[AL5]:device/linux-asus-flo/APKBUILD:13:variable set to empty string: install= MC:[AL5]:device/linux-asus-flo/APKBUILD:30:variable set to empty string: subpackages="" MC:[AL31]:device/linux-asus-flo/APKBUILD:36:variables must not have capital letters MC:[AL31]:device/linux-asus-flo/APKBUILD:37:variables must not have capital letters MP:[AL32]:device/linux-asus-flo/APKBUILD:3:unnecesary usage of braces: ${_flavor} MP:[AL32]:device/linux-asus-flo/APKBUILD:4:unnecesary usage of braces: ${_flavor} MP:[AL32]:device/linux-asus-flo/APKBUILD:32:unnecesary usage of braces: ${pkgver} firmware/firmware-asus-flo/APKBUILD: MC:[AL28]:firmware/firmware-asus-flo/APKBUILD:12:literal integers must not be quoted MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:15:unnecesary usage of braces: ${_url_aosp} MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:15:unnecesary usage of braces: ${_version_broadcom} MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:16:unnecesary usage of braces: ${_url_aosp} MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:16:unnecesary usage of braces: ${_version_qcom} MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:22:unnecesary usage of braces: ${_commit_other} MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:24:unnecesary usage of braces: ${_commit_other} MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:24:unnecesary usage of braces: ${_url_other} Signed-off-by: David Heidelberg <david@ixit.cz>
2020-02-26 13:49:44 +00:00
arch="armv7"
license="MIT"
depends="postmarketos-base mkbootimg"
makedepends="devicepkg-dev"
subpackages="
$pkgname-kernel-downstream:kernel_downstream
$pkgname-kernel-mainline:kernel_mainline
$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo 90-android-touch-dev.rules wpa_supplicant.conf pointercal"
options="!check !archcheck"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/wpa_supplicant.conf \
"$pkgdir"/etc/wpa_supplicant/wpa_supplicant.conf
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
install -D -m644 "$srcdir"/pointercal \
"$pkgdir"/etc/pointercal
}
kernel_downstream() {
pkgdesc="GPU works somehow, very old"
depends="linux-asus-flo"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_mainline() {
pkgdesc="linux-next kernel, install only for development!"
depends="linux-postmarketos-qcom-apq8064"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="firmware-asus-flo"
mkdir "$subpkgdir"
}
sha512sums="
8de5bcb2d6490b3cef4c224425cca7d7bdf517306f3c58352a16359f0e57db67aed918386bc6e3aaf9875355e53d51644ff970ef7e3c52f0596a73333f09d4f6 deviceinfo
5ac89b627f52d2f1103c3329bd905cdbb906cae5bb332d52e6805d7971fbcc0faabe1fd9d2beb7c6de4e4487c05047eaa17852dbf9e114ee3c5d4b0d57d73859 90-android-touch-dev.rules
3278921cc1617d10fdd13dfbeaf213cda0078d069e727acd8cfac10bd8ade6f373be1e22fd1e4b50ae71cd2eae09f7d6aad5de42338d9ea9f8c1a34f0b60cb69 wpa_supplicant.conf
cf913217b41a3dde8bc2a16a5bc82013c85679de0e81db1cfc36f2409ea034fec430082ddcb207c16746453601cf8381300b049cd2fb131f1916dc7dbcc247e3 pointercal
"