pmaports/device/testing/device-asus-tilapia/APKBUILD
Newbyte 270e5e28ad
device: drop depend on mesa-dri-gallium (MR 3478)
This is now installed by postmarketos-base when appropriate.
2022-10-11 11:19:43 +02:00

44 lines
1.3 KiB
Text

# Maintainer: David Heidelberg <david@ixit.cz>
pkgname=device-asus-tilapia
pkgdesc="Google Nexus 7 2012 (tilapia)"
pkgver=6
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="alsa-ucm-conf linux-postmarketos-grate postmarketos-base mkbootimg"
makedepends="devicepkg-dev"
subpackages="$pkgname-phosh
$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo
pointercal
phoc.ini"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/pointercal \
"$pkgdir"/etc/pointercal
}
phosh() {
install_if="$pkgname postmarketos-ui-phosh"
install -Dm644 "$srcdir"/phoc.ini \
"$subpkgdir"/etc/phosh/phoc.ini
}
nonfree_firmware() {
pkgdesc="Google Nexus 7 (2012) WiFi & BT firmware"
depends="firmware-asus-grouper firmware-aosp-broadcom-wlan-mainline"
mkdir "$subpkgdir"
}
sha512sums="
73b689f6aadb77c577aa4d59c048126a7bce0679e76140003cdd80319e6c8190d2e8e3d20adfd1e8707e476c53ababf4f1be9824f9f017c3749e4e2d58282be6 deviceinfo
1f9d77df433c7199a9f07d6fd1d90cdf1ab40021bf1970be9400e5f32155d92f7fa338162a0ca95d441d1701eff0f5e0cbb64a0555de48740a62e8ff59fe11e5 pointercal
a68de5e4d219b2d0746542e768db02b3240d56c977f0aa4cedd09b25933845e3ad0410439a5b47321d8a071b93620c002785fd4e51be06222c754feacac4f382 phoc.ini
"