2023-09-10 16:29:49 +00:00
|
|
|
# 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"
|
2024-04-02 10:55:46 +00:00
|
|
|
pkgver=2
|
|
|
|
pkgrel=0
|
2023-09-10 16:29:49 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="armv7"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
alsa-ucm-conf
|
|
|
|
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"
|
2024-01-02 18:12:18 +00:00
|
|
|
depends="xf86-video-opentegra libvdpau-tegra"
|
2023-09-10 16:29:49 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2024-01-10 15:17:45 +00:00
|
|
|
b5f81887b9d78906a880d89b862dbe445129e8444fa7e41b17deaa0ff494e25455bf47f5864a219ae394b660f63061c01c00ef370e88086367a3efcbf12a4f91 deviceinfo
|
2023-09-10 16:29:49 +00:00
|
|
|
8ea2030fb0c1ae181778b86dc36ed71a904dd51e1fb08114c2a124a693fc7b464cfbb14efa8422db716fb9a647afa367df094abcc14f1ccc51af8b9063de8847 modules-initfs
|
|
|
|
"
|