2019-12-22 17:23:03 +00:00
|
|
|
# Maintainer: David Heidelberg <david@ixit.cz>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-asus-grouper
|
2020-03-03 10:43:27 +00:00
|
|
|
pkgdesc="Google Nexus 7 2012 (grouper)"
|
2022-05-05 14:50:55 +00:00
|
|
|
pkgver=6
|
2023-08-02 17:06:01 +00:00
|
|
|
pkgrel=2
|
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"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="alsa-ucm-conf postmarketos-base mkbootimg"
|
2019-03-03 23:15:40 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2019-12-22 17:23:03 +00:00
|
|
|
subpackages="$pkgname-phosh
|
2020-09-02 14:55:07 +00:00
|
|
|
$pkgname-kernel-e1565:kernel_e1565
|
|
|
|
$pkgname-kernel-pm269:kernel_pm269
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
modules-initfs
|
2021-10-12 01:32:12 +00:00
|
|
|
pointercal
|
2022-04-03 09:04:48 +00:00
|
|
|
phoc.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
|
2021-10-12 01:32:12 +00:00
|
|
|
install -D -m644 "$srcdir"/pointercal \
|
|
|
|
"$pkgdir"/etc/pointercal
|
2019-12-22 17:23:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname postmarketos-ui-phosh"
|
2022-04-03 09:04:48 +00:00
|
|
|
install -Dm644 "$srcdir"/phoc.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
2017-07-20 16:05:33 +00:00
|
|
|
}
|
|
|
|
|
2020-09-02 14:55:07 +00:00
|
|
|
kernel_e1565() {
|
|
|
|
pkgdesc="Mainline kernel for HW rev. E1565 (newer devices)"
|
2021-10-12 01:32:12 +00:00
|
|
|
depends="linux-postmarketos-grate"
|
2020-09-02 14:55:07 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_pm269() {
|
|
|
|
pkgdesc="Mainline kernel for HW rev. PM269 (older devices)"
|
2021-10-12 01:32:12 +00:00
|
|
|
depends="linux-postmarketos-grate"
|
2020-09-02 14:55:07 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
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"
|
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
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
2023-08-02 17:06:01 +00:00
|
|
|
b589bdebfd4c0510dabd5009a86af1549b4e6d137bfdf62d1e77e3a5a58c89cdd5cacac80a674cd0cd984f57bfdd44f21fb357c4ca48ebebcfad4176d38af541 deviceinfo
|
|
|
|
1ef788dc6a152a3843aa15bd1124d5fa63eb412e386ce280f61afb36cd341fa84b8c03ed8ec1f69363dc39d1612b3872baac08c90af8cd7ce5e114927e35a0c1 modules-initfs
|
2021-10-12 01:32:12 +00:00
|
|
|
1f9d77df433c7199a9f07d6fd1d90cdf1ab40021bf1970be9400e5f32155d92f7fa338162a0ca95d441d1701eff0f5e0cbb64a0555de48740a62e8ff59fe11e5 pointercal
|
2022-05-05 14:50:55 +00:00
|
|
|
a68de5e4d219b2d0746542e768db02b3240d56c977f0aa4cedd09b25933845e3ad0410439a5b47321d8a071b93620c002785fd4e51be06222c754feacac4f382 phoc.ini
|
2021-09-18 17:06:03 +00:00
|
|
|
"
|