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"
|
2024-04-02 12:52:52 +00:00
|
|
|
pkgver=1
|
2024-06-18 19:53:59 +00:00
|
|
|
pkgrel=1
|
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"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-postmarketos-allwinner u-boot-sunxi u-boot-tools"
|
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-09-18 17:06:03 +00:00
|
|
|
b6fe933886888b453839084d2001de93f343472d1f4e2597914901692d9410d15202f790d92a3f70312e4ededd687f02edd79423ea7b9a9f831f6db57f9093fa deviceinfo
|
2024-06-18 19:53:59 +00:00
|
|
|
9f53b80ebc9cbbea488c75dc9b3abe374d5a5e6b756831dd5d298fd4af73450fedea5cc93381f93bbbdd3503cffd4ea5edb2a6836ea130fb408327ea4cf12576 uboot-script.cmd
|
2021-05-01 22:32:26 +00:00
|
|
|
"
|