pmaports/device/testing/device-asus-grouper/APKBUILD

55 lines
1.5 KiB
Text
Raw Normal View History

# Maintainer: David Heidelberg <david@ixit.cz>
pkgname=device-asus-grouper
pkgdesc="Google Nexus 7 2012 (grouper)"
pkgver=4
pkgrel=0
url="https://postmarketos.org"
2017-07-20 16:05:33 +00:00
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base mkbootimg mesa-dri-gallium"
makedepends="devicepkg-dev"
subpackages="$pkgname-phosh
$pkgname-kernel-e1565:kernel_e1565
$pkgname-kernel-pm269:kernel_pm269
$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo
rootston.ini"
build() {
devicepkg_build $startdir $pkgname
}
2017-07-20 16:05:33 +00:00
package() {
devicepkg_package $startdir $pkgname
}
phosh() {
install_if="$pkgname postmarketos-ui-phosh"
install -Dm644 "$srcdir"/rootston.ini \
"$subpkgdir"/etc/phosh/rootston.ini
2017-07-20 16:05:33 +00:00
}
kernel_e1565() {
pkgdesc="Mainline kernel for HW rev. E1565 (newer devices)"
depends="linux-asus-grouper"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_pm269() {
pkgdesc="Mainline kernel for HW rev. PM269 (older devices)"
depends="linux-asus-grouper"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
2019-03-03 18:57:07 +00:00
nonfree_firmware() {
pkgdesc="Google Nexus 7 (2012) WiFi & BT firmware"
depends="firmware-asus-grouper firmware-aosp-broadcom-wlan-mainline"
mkdir "$subpkgdir"
2019-03-03 18:57:07 +00:00
}
sha512sums="
b589bdebfd4c0510dabd5009a86af1549b4e6d137bfdf62d1e77e3a5a58c89cdd5cacac80a674cd0cd984f57bfdd44f21fb357c4ca48ebebcfad4176d38af541 deviceinfo
6ec993e278d2a73c72fb96f001716ded63543d99183847d22d172cd81ac410791c79370ecf391d0c24822c975d91b84dc1db296e1b28dbf66d5c227bff8d4011 rootston.ini
"