f1e0404fb8
[ci:ignore-count] [ci:skip-vercheck] needed for the postmarketos-ui-* packages in this series [ci:skip-build] already built ui-* packages in CI, and device pacakges are just trivial deviceinfo change (manually built some just to verify)
48 lines
1.8 KiB
Text
48 lines
1.8 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-asus-flo
|
|
pkgver=0
|
|
pkgrel=26
|
|
pkgdesc="Google Nexus 7 2013 flo"
|
|
url="https://postmarketos.org"
|
|
arch="armv7"
|
|
license="MIT"
|
|
depends="postmarketos-base linux-asus-flo mkbootimg mesa-dri-freedreno"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="$pkgname-weston $pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="deviceinfo 90-android-touch-dev.rules wpa_supplicant.conf pointercal weston.ini"
|
|
|
|
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
|
|
}
|
|
|
|
weston() {
|
|
install_if="$pkgname weston"
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wifi firmware"
|
|
depends="firmware-asus-flo"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
155aa80a1f79044c3073d41e839f715ab3001e2ac6f0a6e6673f9871522b6bcb6927c862c0ee4fe4c2fa27814f5be9abff6fa166969403845d5586162ea02a0f deviceinfo
|
|
5ac89b627f52d2f1103c3329bd905cdbb906cae5bb332d52e6805d7971fbcc0faabe1fd9d2beb7c6de4e4487c05047eaa17852dbf9e114ee3c5d4b0d57d73859 90-android-touch-dev.rules
|
|
3278921cc1617d10fdd13dfbeaf213cda0078d069e727acd8cfac10bd8ade6f373be1e22fd1e4b50ae71cd2eae09f7d6aad5de42338d9ea9f8c1a34f0b60cb69 wpa_supplicant.conf
|
|
cf913217b41a3dde8bc2a16a5bc82013c85679de0e81db1cfc36f2409ea034fec430082ddcb207c16746453601cf8381300b049cd2fb131f1916dc7dbcc247e3 pointercal
|
|
de794566118f1744d068a94e6a75b61d43f6749a4b0871a5270fa7a2048164d609c71fcffa61845c2a7dd4cb5fbeb72c0e4f8b73b382f36d6ff0bcc9b8a5ae25 weston.ini
|
|
"
|