2018-09-16 15:53:45 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2019-09-11 07:58:38 +00:00
|
|
|
pkgname="device-pine64-a64lts"
|
|
|
|
pkgdesc="PINE64 A64-LTS"
|
2019-09-30 03:30:58 +00:00
|
|
|
pkgver=0.3
|
|
|
|
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"
|
2019-07-25 20:34:50 +00:00
|
|
|
depends="postmarketos-base linux-postmarketos-allwinner u-boot-pine64 uboot-tools mesa-git mesa-git-glapi mesa-git-gl mesa-git-gles mesa-git-egl mesa-git-gbm mesa-git-dri-lima mesa-git-dri-kmsro"
|
2018-09-16 15:53:45 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
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
|
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"
|
|
|
|
depends="linux-firmware-rtlwifi linux-firmware-rtl_bt firmware-rtl8723bt"
|
|
|
|
mkdir "$subpkgdir"
|
2018-09-16 15:53:45 +00:00
|
|
|
}
|
|
|
|
|
2019-09-11 07:58:38 +00:00
|
|
|
sha512sums="debfc527691f2d76ace9ef3528d633ac2cb65edf37c5f83c5e4429cae8e8de9a14aa419cdadd7c7301ed93a96b3fd38dccccf0764b31dd2606dede9148090655 deviceinfo
|
2019-08-01 09:03:23 +00:00
|
|
|
e4f61a6f6633cc5f669dba16746047e8880ab0b1d6b7b99c6efbdb0b5d5797d18193d26c470cdf05522ea44cedeffb7a57caca97bf8200054fb7d9bad795fe99 uboot-script.cmd"
|