soc-rockchip-rk3399: new aport (MR 4337)

This commit is contained in:
Anton Bambura 2023-08-19 02:24:36 +03:00 committed by Stefan Hansson
parent 6c7d0c7b15
commit ab47398d30
No known key found for this signature in database
GPG key ID: 990600ED1DB95E02
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1 @@
/lib/firmware/rockchip/dptx.bin

View file

@ -0,0 +1,25 @@
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=soc-rockchip-rk3399
pkgdesc="Common package for Rockchip RK3399 devices"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="BSD-3-Clause"
arch="aarch64"
options="!check !archcheck"
subpackages="$pkgname-dptx"
source="30-rockchip-dptx-firmware.files"
package() {
mkdir -p "$pkgdir"
}
dptx() {
install_if="$pkgname=$pkgver-r$pkgrel linux-firmware-rockchip"
install -Dm644 "$srcdir"/30-rockchip-dptx-firmware.files \
-t "$subpkgdir"/usr/share/mkinitfs/files
}
sha512sums="
c999b242723c68fd92b080d6a5288df99331b9b3ab4504db07162b6e5b0af17a0a04dabfd00a479ab08a3b8dd4331c08f6e76295dab8da161bef9c3fa0485b16 30-rockchip-dptx-firmware.files
"