2021-06-23 00:05:39 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Maintainer: Maxim Karasev <begs@disroot.org>
|
2023-01-14 19:26:09 +00:00
|
|
|
# Co-Maintainer: exkc <exkc@exkc.moe>
|
2021-06-23 00:05:39 +00:00
|
|
|
pkgname=device-xunlong-orangepi3
|
|
|
|
pkgdesc="Xunlong Orange Pi 3"
|
2023-01-14 19:26:09 +00:00
|
|
|
pkgver=1
|
|
|
|
pkgrel=0
|
2021-06-23 00:05:39 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
linux-postmarketos-allwinner
|
2023-01-14 19:26:09 +00:00
|
|
|
postmarketos-base>=25-r1
|
2021-06-23 00:05:39 +00:00
|
|
|
u-boot-sunxi
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2023-01-14 19:26:09 +00:00
|
|
|
source="deviceinfo"
|
2021-06-23 00:05:39 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wi-Fi and Bluetooth firmware"
|
|
|
|
depends="firmware-xunlong-orangepi3"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-01-14 19:26:09 +00:00
|
|
|
fc068b1693b29a0fa0d4f2586f9dffd44dda8ea348eb644bce827b3049863008cba5cd0579da221b0918d99106e7e7672b7c4d7aecb74b9b732af2b08f0c3e1c deviceinfo
|
2021-06-23 00:05:39 +00:00
|
|
|
"
|