2019-12-22 17:23:03 +00:00
|
|
|
# Maintainer: David Heidelberg <david@ixit.cz>
|
2019-03-03 23:15:40 +00:00
|
|
|
pkgname="device-asus-grouper"
|
2020-03-03 10:43:27 +00:00
|
|
|
pkgdesc="Google Nexus 7 2012 (grouper)"
|
2019-03-03 23:15:40 +00:00
|
|
|
pkgver=2
|
2020-03-03 10:43:27 +00:00
|
|
|
pkgrel=4
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2017-07-20 16:05:33 +00:00
|
|
|
license="MIT"
|
2019-12-22 17:23:03 +00:00
|
|
|
arch="armv7"
|
2019-03-03 23:15:40 +00:00
|
|
|
options="!check !archcheck"
|
2019-12-22 17:23:03 +00:00
|
|
|
depends="postmarketos-base linux-asus-grouper mkbootimg mesa-git-dri-gallium"
|
2019-03-03 23:15:40 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2019-12-22 17:23:03 +00:00
|
|
|
subpackages="$pkgname-phosh
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware"
|
2017-11-18 17:42:37 +00:00
|
|
|
source="deviceinfo
|
2019-12-22 17:23:03 +00:00
|
|
|
rootston.ini"
|
2019-03-03 23:15:40 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
2017-07-20 16:05:33 +00:00
|
|
|
|
|
|
|
package() {
|
2019-03-03 23:15:40 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2019-12-22 17:23:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2019-03-03 18:57:07 +00:00
|
|
|
nonfree_firmware() {
|
2019-12-22 17:23:03 +00:00
|
|
|
pkgdesc="Google Nexus 7 (2012) WiFi & BT firmware"
|
|
|
|
depends="firmware-asus-grouper firmware-aosp-broadcom-wlan-mainline"
|
|
|
|
install="$pkgname-nonfree_firmware.post-install $pkgname-nonfree_firmware.pre-deinstall"
|
2019-03-03 18:59:11 +00:00
|
|
|
mkdir "$subpkgdir"
|
2019-03-03 18:57:07 +00:00
|
|
|
}
|
2019-03-03 23:15:40 +00:00
|
|
|
|
2020-03-03 10:43:27 +00:00
|
|
|
sha512sums="3655ffe5e76c76e5952ca131e4fadb440f1586b3c082346fb2083533ab6f5e062c634808b9e61c28be49cac51fe82904388c847b20470d3dffc52f5b0f94bb98 deviceinfo
|
2019-12-22 17:23:03 +00:00
|
|
|
6ec993e278d2a73c72fb96f001716ded63543d99183847d22d172cd81ac410791c79370ecf391d0c24822c975d91b84dc1db296e1b28dbf66d5c227bff8d4011 rootston.ini"
|