2020-01-10 16:44:00 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-04 10:30:51 +00:00
|
|
|
# Maintainer: Minecrell <minecrell@minecrell.net>
|
2020-08-04 09:46:27 +00:00
|
|
|
# Co-Maintainer: Daniele Debernardi <drebrez@gmail.com>
|
2017-08-09 20:26:40 +00:00
|
|
|
pkgname=device-qemu-aarch64
|
2022-07-09 19:20:33 +00:00
|
|
|
pkgver=3
|
2022-10-10 19:33:44 +00:00
|
|
|
pkgrel=2
|
2020-03-06 13:01:14 +00:00
|
|
|
pkgdesc="Simulated device in QEMU (aarch64)"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="aarch64"
|
2017-08-09 20:26:40 +00:00
|
|
|
license="MIT"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base"
|
2020-01-10 16:44:00 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2020-02-16 11:07:20 +00:00
|
|
|
subpackages="
|
2021-04-21 09:08:17 +00:00
|
|
|
$pkgname-kernel-lts:kernel_lts
|
|
|
|
$pkgname-kernel-virt:kernel_virt
|
2022-07-09 19:20:33 +00:00
|
|
|
$pkgname-kernel-edge:kernel_edge
|
2021-04-21 09:08:17 +00:00
|
|
|
$pkgname-mce
|
2021-07-03 08:51:02 +00:00
|
|
|
$pkgname-sway
|
2020-02-16 11:07:20 +00:00
|
|
|
$pkgname-weston
|
2021-04-21 09:08:17 +00:00
|
|
|
"
|
2020-03-06 13:01:14 +00:00
|
|
|
|
2021-04-21 09:08:17 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
mce-display-blanking.conf
|
|
|
|
weston.ini
|
|
|
|
"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2017-08-09 20:26:40 +00:00
|
|
|
|
2020-01-10 16:44:00 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2017-08-09 20:26:40 +00:00
|
|
|
package() {
|
2020-01-10 16:44:00 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2017-08-09 20:26:40 +00:00
|
|
|
}
|
|
|
|
|
2021-04-21 09:08:17 +00:00
|
|
|
mce() {
|
|
|
|
pkgdesc="Prevents screen blanking for UI's using mce (Glacier, Asteroid)"
|
2021-07-03 08:51:02 +00:00
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel mce"
|
2021-04-21 09:08:17 +00:00
|
|
|
install -Dm644 "$srcdir"/mce-display-blanking.conf \
|
|
|
|
"$subpkgdir"/etc/mce/50display-blanking.conf
|
|
|
|
}
|
|
|
|
|
2021-07-03 08:51:02 +00:00
|
|
|
sway() {
|
2021-12-14 06:26:55 +00:00
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-sway"
|
2021-07-03 08:51:02 +00:00
|
|
|
depends="postmarketos-ui-sway-logo-key-alt"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2018-01-08 15:18:37 +00:00
|
|
|
weston() {
|
2021-07-03 08:51:02 +00:00
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel weston"
|
2020-01-10 16:44:00 +00:00
|
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
2018-01-08 15:18:37 +00:00
|
|
|
}
|
|
|
|
|
2020-02-16 11:07:20 +00:00
|
|
|
kernel_virt() {
|
2020-03-06 10:54:05 +00:00
|
|
|
pkgdesc="Alpine Virt kernel (minimal, no audio)"
|
2020-02-16 11:07:20 +00:00
|
|
|
depends="linux-virt"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_lts() {
|
|
|
|
pkgdesc="Alpine LTS kernel"
|
|
|
|
depends="linux-lts linux-firmware-none"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2022-07-09 19:20:33 +00:00
|
|
|
kernel_edge() {
|
|
|
|
pkgdesc="Alpine Edge kernel"
|
|
|
|
depends="linux-edge linux-firmware-none"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
2022-05-27 15:48:37 +00:00
|
|
|
7dbe34f2aa8f30ab5284007d43c49e2a3c74135dcabcf1f5915afbceb645277152099c808dac5c004db51be9abb34b2976c7336d0f52ed143b23c4d6cdeb061e deviceinfo
|
2021-04-21 09:08:17 +00:00
|
|
|
99d32eed6c5cda59e91516e982c5bd5165ff718133e2411a0dbba04e2057d1dfad49a75e5cc67140d0e0adcbe1383671bd2892335929b782a5b19f5472e635ad mce-display-blanking.conf
|
2021-07-07 05:06:17 +00:00
|
|
|
de794566118f1744d068a94e6a75b61d43f6749a4b0871a5270fa7a2048164d609c71fcffa61845c2a7dd4cb5fbeb72c0e4f8b73b382f36d6ff0bcc9b8a5ae25 weston.ini
|
|
|
|
"
|