65bae8615b
[ci:ignore-count] [ci:skip-build] too many changed kernels/packages, won't complete in CI
47 lines
1.2 KiB
Text
47 lines
1.2 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Maintainer: Maxim Karasev <begs@disroot.org>
|
|
pkgname=device-xunlong-orangepi3
|
|
pkgdesc="Xunlong Orange Pi 3"
|
|
pkgver=0.2
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
linux-postmarketos-allwinner
|
|
mesa-dri-gallium
|
|
postmarketos-base
|
|
u-boot-tools
|
|
u-boot-sunxi
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="
|
|
deviceinfo
|
|
uboot-script.cmd
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
mkimage -A arm -O linux -T script -C none -a 0 -e 0 \
|
|
-n postmarketos -d "$srcdir"/uboot-script.cmd \
|
|
"$srcdir"/boot.scr
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
install -D -m644 "$srcdir"/boot.scr \
|
|
"$pkgdir"/boot/boot.scr
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wi-Fi and Bluetooth firmware"
|
|
depends="firmware-xunlong-orangepi3"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
8199d26c182de5ecb21f8dc63fbf2f3df76119d91f41a69644c8cc125f6a7ab50bd40666b441f0e6edd16c4f2f4c24db529b80f6141e0f0a900e2e74cac175ed deviceinfo
|
|
31635b6f41c504c124ccb84366831f05e55fd1154b9714d1128d124c6d2170a1bc890c0185ca16e541a72630130d9dbcc6021aefa75ee248bcdbdc730b8bbca0 uboot-script.cmd
|
|
"
|