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>
|
2020-04-07 17:56:30 +00:00
|
|
|
pkgname=device-pine64-rockpro64
|
2020-08-28 13:50:27 +00:00
|
|
|
pkgver=1
|
2021-04-18 18:59:55 +00:00
|
|
|
pkgrel=2
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
|
2020-08-28 13:50:27 +00:00
|
|
|
sha512sums="7b99d22ed605d692a527e7d780d02c865e733294997695cad238c0aeb627ef5da5eb6287229c9223e9f87b241f729cf5631f827145e7fd3e5f816129ae7d1491 deviceinfo
|
|
|
|
0e6656ca7057b388fc91156611d2f207c3c324d6a66ce411c36b3aa94ae3483c3ac8d74f35740d500a5af2c2953ccd4fffccd319ffe5258d08a462d9ec776ec4 extlinux.conf"
|