pmaports/device/community/device-nvidia-tegra-armv7/APKBUILD
Svyatoslav Ryhel 1c8cb906f4
device-nvidia-tegra-armv7: move to community (MR 4641)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>

[ci:skip-build]: Already built successfully in CI.
2023-12-31 10:10:30 -05:00

51 lines
1.3 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Svyatoslav Ryhel <clamor95@gmail.com>
# Co-Maintainer: David Heidelberg <david@ixit.cz>
# Co-Maintainer: Maxim Schwalm <maxim.schwalm@gmail.com>
# Co-Maintainer: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>
pkgname=device-nvidia-tegra-armv7
pkgdesc="NVIDIA Tegra ARMv7"
pkgver=1.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
alsa-ucm-conf
libvdpau-tegra
linux-postmarketos-grate
postmarketos-base
"
makedepends="devicepkg-dev"
source="deviceinfo modules-initfs"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-x11
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="Firmware files for Tegra devices supported by GRATE project"
depends="firmware-nvidia-tegra-armv7"
mkdir "$subpkgdir"
}
x11() {
install_if="$pkgname=$pkgver-r$pkgrel xorg-server"
depends="xf86-video-opentegra"
mkdir "$subpkgdir"
}
sha512sums="
e8d7c637130642a5ee5438e7f401c1870ecd1dcdca0305ab73fabf3d8548db5f054aeeacaf48abc46189bc1efdcbb5549e8afed263880e07b4932aee418041fc deviceinfo
8ea2030fb0c1ae181778b86dc36ed71a904dd51e1fb08114c2a124a693fc7b464cfbb14efa8422db716fb9a647afa367df094abcc14f1ccc51af8b9063de8847 modules-initfs
"