2020-01-10 10:32:49 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2021-06-08 18:55:05 +00:00
|
|
|
# Maintainer: David Heidelberg <david@ixit.cz>
|
2017-09-21 22:23:54 +00:00
|
|
|
pkgname=device-asus-flo
|
2022-06-27 06:43:07 +00:00
|
|
|
pkgver=1.1
|
2022-10-10 19:33:44 +00:00
|
|
|
pkgrel=2
|
2021-06-08 18:55:05 +00:00
|
|
|
pkgdesc="Google Nexus 7 2013 (flo)"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2020-02-26 13:49:44 +00:00
|
|
|
arch="armv7"
|
2017-09-21 22:23:54 +00:00
|
|
|
license="MIT"
|
2021-06-08 18:55:05 +00:00
|
|
|
depends="postmarketos-base mkbootimg"
|
2020-01-10 10:32:49 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2021-06-08 18:55:05 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
|
|
$pkgname-weston
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware"
|
2017-10-20 00:07:00 +00:00
|
|
|
source="deviceinfo 90-android-touch-dev.rules wpa_supplicant.conf pointercal weston.ini"
|
2017-09-25 20:39:11 +00:00
|
|
|
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2017-09-21 22:23:54 +00:00
|
|
|
|
2020-01-10 10:32:49 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2017-09-21 22:23:54 +00:00
|
|
|
package() {
|
2020-01-10 10:32:49 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2017-10-12 20:19:45 +00:00
|
|
|
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
|
2017-09-21 22:23:54 +00:00
|
|
|
}
|
2017-10-20 00:07:00 +00:00
|
|
|
|
|
|
|
weston() {
|
|
|
|
install_if="$pkgname weston"
|
|
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
|
|
|
}
|
2018-02-26 22:11:44 +00:00
|
|
|
|
2021-06-08 18:55:05 +00:00
|
|
|
kernel_downstream() {
|
|
|
|
pkgdesc="GPU works somehow, very old"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="linux-asus-flo"
|
2021-06-08 18:55:05 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2018-02-26 22:11:44 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-asus-flo"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
2022-06-27 06:43:07 +00:00
|
|
|
8de5bcb2d6490b3cef4c224425cca7d7bdf517306f3c58352a16359f0e57db67aed918386bc6e3aaf9875355e53d51644ff970ef7e3c52f0596a73333f09d4f6 deviceinfo
|
2017-10-17 20:38:47 +00:00
|
|
|
5ac89b627f52d2f1103c3329bd905cdbb906cae5bb332d52e6805d7971fbcc0faabe1fd9d2beb7c6de4e4487c05047eaa17852dbf9e114ee3c5d4b0d57d73859 90-android-touch-dev.rules
|
2017-10-12 20:19:45 +00:00
|
|
|
3278921cc1617d10fdd13dfbeaf213cda0078d069e727acd8cfac10bd8ade6f373be1e22fd1e4b50ae71cd2eae09f7d6aad5de42338d9ea9f8c1a34f0b60cb69 wpa_supplicant.conf
|
2017-10-20 00:07:00 +00:00
|
|
|
cf913217b41a3dde8bc2a16a5bc82013c85679de0e81db1cfc36f2409ea034fec430082ddcb207c16746453601cf8381300b049cd2fb131f1916dc7dbcc247e3 pointercal
|
2021-07-07 05:06:17 +00:00
|
|
|
de794566118f1744d068a94e6a75b61d43f6749a4b0871a5270fa7a2048164d609c71fcffa61845c2a7dd4cb5fbeb72c0e4f8b73b382f36d6ff0bcc9b8a5ae25 weston.ini
|
|
|
|
"
|