2018-06-29 17:31:10 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-raspberry-pi3
|
2018-06-29 17:31:10 +00:00
|
|
|
pkgdesc="Raspberry Pi 3B/3B+"
|
2021-12-27 17:31:29 +00:00
|
|
|
pkgver=0.2
|
2022-10-10 19:33:44 +00:00
|
|
|
pkgrel=3
|
2018-06-29 17:31:10 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base raspberrypi-bootloader linux-rpi bluetooth-raspberry-pi"
|
2018-06-29 17:31:10 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2020-03-10 01:04:33 +00:00
|
|
|
install="$pkgname.post-install $pkgname.post-upgrade"
|
2019-01-04 01:03:48 +00:00
|
|
|
subpackages="$pkgname-weston"
|
2019-03-14 10:07:00 +00:00
|
|
|
source="deviceinfo config.txt usercfg.txt cmdline.txt 95-vchiq-permissions.rules weston.ini networkmanager.conf"
|
2018-06-29 17:31:10 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -Dm644 "$srcdir"/config.txt "$pkgdir"/boot/config.txt
|
|
|
|
install -Dm644 "$srcdir"/usercfg.txt "$pkgdir"/boot/usercfg.txt
|
|
|
|
install -Dm644 "$srcdir"/cmdline.txt "$pkgdir"/boot/cmdline.txt
|
|
|
|
install -Dm644 "$srcdir"/95-vchiq-permissions.rules \
|
|
|
|
"$pkgdir"/etc/udev/rules.d/95-vchiq-permissions.rules
|
2019-03-14 10:07:00 +00:00
|
|
|
install -Dm644 "$srcdir"/networkmanager.conf \
|
|
|
|
"$pkgdir"/etc/NetworkManager/conf.d/10-rpi3.conf
|
2018-06-29 17:31:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
weston() {
|
|
|
|
install_if="$pkgname weston"
|
|
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
2021-09-18 17:06:03 +00:00
|
|
|
1a735f34b5c8a6c1c860b84aef095ce675a287c2601405134f9f374fb6e88083265f9032655d3513ca83d0ddb6a169dadf8bceddfdec12a9c1bed3c9b67f8926 deviceinfo
|
2021-12-27 17:31:29 +00:00
|
|
|
ba195d9345fa4f4aee38cbc945b02f5bf13bd7e255124de006b4d04bc78c846c8c6b85268816f8a846d09a680e27d303006be89dd34de353f8cd8384c0fdbda3 config.txt
|
2018-06-29 17:31:10 +00:00
|
|
|
a8e57535523d0f78e9d2ac1ac31b097a1a25468e3c910290647a60c862e631a4b4de94a5f6e4de999e1b9f70e67653a886967200856287dbc819b9f3ac16c548 usercfg.txt
|
|
|
|
ae3de0b8fec07d3a283dc3c06bf8678eec1e65c9faf0b7f4fdc9fb92751e324d1f8e2fb224dbbf561b7e5a6fb34769bfa1657858375f74b101a130d78e0737e2 cmdline.txt
|
|
|
|
7e5505cb07d5b4a81bd28443d508336b5c547356538f1c06f91ed93ad0d7d456d4f74f1d24df5a2e08c17e74f0a66607352ac4874e967e9a91dfec9522d2d58d 95-vchiq-permissions.rules
|
2019-03-14 10:07:00 +00:00
|
|
|
320a466009c5abb416f70a60b45b3403ef1d1b4ac68a762c8028cd4615d537c48d906afe101e7335907a0274cc25b0b9b547e02ee69950e6792a7b54759c7cd9 weston.ini
|
2021-07-07 05:06:17 +00:00
|
|
|
0f79016bf717dea43830962f524deae8d1cedc274376e40bd912ebe63208c5b1c3b7a5aa14379da19020c587dbd5588df2f0066ca1540070a226983a43e4159b networkmanager.conf
|
|
|
|
"
|