2020-04-07 17:56:30 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2021-04-18 18:59:55 +00:00
|
|
|
# Maintainer: Jean Lucas <jean@4ray.co>
|
2021-07-19 12:29:41 +00:00
|
|
|
# Co-Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2020-04-07 17:56:30 +00:00
|
|
|
pkgname=device-pine64-rockpro64
|
2021-08-17 07:03:20 +00:00
|
|
|
pkgver=2
|
|
|
|
pkgrel=0
|
2021-04-18 18:59:55 +00:00
|
|
|
pkgdesc="PINE64 ROCKPro64"
|
2020-04-07 17:56:30 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2020-08-18 07:49:04 +00:00
|
|
|
depends="postmarketos-base linux-postmarketos-rockchip u-boot-rockpro64 mesa-dri-gallium"
|
2020-04-07 17:56:30 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2020-05-23 15:17:24 +00:00
|
|
|
source="deviceinfo
|
2020-04-07 17:56:30 +00:00
|
|
|
extlinux.conf
|
2020-05-23 15:17:24 +00:00
|
|
|
"
|
2020-04-07 17:56:30 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -D -m644 "$srcdir"/extlinux.conf \
|
|
|
|
"$pkgdir"/boot/extlinux/extlinux.conf
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2021-04-18 18:59:55 +00:00
|
|
|
pkgdesc="Wi-Fi, Bluetooth and video-out firmware"
|
|
|
|
depends="firmware-pine64-rockpro64 firmware-pine64-pinebookpro"
|
2020-04-07 17:56:30 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
2021-09-18 17:06:03 +00:00
|
|
|
7457107f8fcf27962474d2625c582eb9e7889d0306e3bee79b98037a0ac81a9a72b61acbfeb865eec4cd8f927c30597234889bd1eac1781b4be9766ed5cb124b deviceinfo
|
2021-08-17 07:03:20 +00:00
|
|
|
ad3a7a7d62af0d1be8a9e3fa93d155b96002a666f475be568902311f76ad2ef306570e49fc2734ef24bd9fc0be849747aa3824917405fa1ab8d22c2ff869d3e3 extlinux.conf
|
2021-07-07 05:06:17 +00:00
|
|
|
"
|