2022-10-13 22:13:22 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Maintainer: Minecrell <minecrell@minecrell.net>
|
2024-06-28 15:03:26 +00:00
|
|
|
# Co-Maintainer: Luca Weiss <luca@lucaweiss.eu>
|
2022-10-13 22:13:22 +00:00
|
|
|
pkgname=device-qemu-riscv64
|
2024-01-11 19:47:03 +00:00
|
|
|
pkgver=2
|
2024-06-18 19:53:59 +00:00
|
|
|
pkgrel=2
|
2022-10-13 22:13:22 +00:00
|
|
|
pkgdesc="Simulated device in QEMU (riscv64)"
|
|
|
|
url="https://postmarketos.org"
|
|
|
|
arch="riscv64"
|
|
|
|
license="MIT"
|
|
|
|
depends="postmarketos-base"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-edge:kernel_edge
|
|
|
|
$pkgname-mce
|
|
|
|
$pkgname-sway
|
|
|
|
"
|
|
|
|
|
|
|
|
source="
|
|
|
|
deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
2022-10-13 22:13:22 +00:00
|
|
|
mce-display-blanking.conf
|
|
|
|
"
|
|
|
|
options="!check !archcheck"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
mce() {
|
|
|
|
pkgdesc="Prevents screen blanking for UI's using mce (Glacier, Asteroid)"
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel mce"
|
|
|
|
install -Dm644 "$srcdir"/mce-display-blanking.conf \
|
|
|
|
"$subpkgdir"/etc/mce/50display-blanking.conf
|
|
|
|
}
|
|
|
|
|
|
|
|
sway() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-sway"
|
|
|
|
depends="postmarketos-ui-sway-logo-key-alt"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_edge() {
|
|
|
|
pkgdesc="Alpine Edge kernel"
|
|
|
|
depends="linux-edge linux-firmware-none"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2024-06-18 19:53:59 +00:00
|
|
|
4e2acace2d7a5b55302e9571eef3e57cbc14c2831a2e0797ef5ff87290aef581a0bf112816c2f113878b9ca57599b66d0e3f8a593e0c08819322ff8d5ea7f351 deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
8129439ec53e76e714b2d3dac97bbe702822d6f6642ea6b631aa26001fec85ca310fbe9eeb04c2bd849145a1137b7934c21b704524f3a98b96b7c6f71c2ca992 modules-initfs
|
2022-10-13 22:13:22 +00:00
|
|
|
99d32eed6c5cda59e91516e982c5bd5165ff718133e2411a0dbba04e2057d1dfad49a75e5cc67140d0e0adcbe1383671bd2892335929b782a5b19f5472e635ad mce-display-blanking.conf
|
|
|
|
"
|