2018-09-16 15:53:45 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-pine64-a64lts
|
2019-09-11 07:58:38 +00:00
|
|
|
pkgdesc="PINE64 A64-LTS"
|
2021-08-17 07:03:20 +00:00
|
|
|
pkgver=0.6
|
|
|
|
pkgrel=0
|
2018-09-16 15:53:45 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2019-01-19 20:50:14 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2021-06-25 17:52:08 +00:00
|
|
|
depends="postmarketos-base linux-postmarketos-allwinner u-boot-sunxi u-boot-tools mesa-dri-gallium"
|
2018-09-16 15:53:45 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
uboot-script.cmd
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
2020-01-10 16:39:41 +00:00
|
|
|
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n postmarketos -d "$srcdir"/uboot-script.cmd "$srcdir"/boot.scr
|
2018-09-16 15:53:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -D -m644 "$srcdir"/boot.scr \
|
|
|
|
"$pkgdir"/boot/boot.scr
|
2019-01-19 20:50:14 +00:00
|
|
|
}
|
2018-09-16 15:53:45 +00:00
|
|
|
|
2019-01-19 20:50:14 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi and Bluetooth firmware"
|
2020-06-23 11:00:22 +00:00
|
|
|
depends="linux-firmware-rtlwifi linux-firmware-rtl_bt firmware-pine64-rtl8723bt"
|
2019-01-19 20:50:14 +00:00
|
|
|
mkdir "$subpkgdir"
|
2018-09-16 15:53:45 +00:00
|
|
|
}
|
|
|
|
|
2021-05-01 22:32:26 +00:00
|
|
|
sha512sums="
|
2021-05-03 08:41:45 +00:00
|
|
|
546da771e98ae6d5a1d89348744ae7b4a72ccb5a694b469a7e1994558a5f70dde8714ffe0bbfb9b35887dd698a897cd8f845b1f5e16812f3019237b8ba3648db deviceinfo
|
2021-08-17 07:03:20 +00:00
|
|
|
b03a8e7c365d419aa0796586cd19cb0b4cbce8be5e5dba86e48755ad921ee4ec757259e1d6e5a72c3dfe8d7eff2d04bf2a19bdd5d8e6e53a2a414aaeb563d850 uboot-script.cmd
|
2021-05-01 22:32:26 +00:00
|
|
|
"
|