d850a2b2b4
The Alpine LTS kernel builds evdev as a module which means it's not automatically available in the initfs. Including evdev allows osk-sdl to properly recognise physical keyboards, just like on a real device. Fixes: #1204 [ci:skip-build] already built successfully in CI
77 lines
2 KiB
Text
77 lines
2 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Maintainer: Minecrell <minecrell@minecrell.net>
|
|
# Co-Maintainer: Daniele Debernardi <drebrez@gmail.com>
|
|
pkgname=device-qemu-amd64
|
|
pkgver=2.4
|
|
pkgrel=1
|
|
pkgdesc="Simulated device in QEMU (x86_64)"
|
|
url="https://postmarketos.org"
|
|
arch="x86_64"
|
|
license="MIT"
|
|
depends="postmarketos-base mesa-dri-gallium"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="
|
|
$pkgname-kernel-lts:kernel_lts
|
|
$pkgname-kernel-virt:kernel_virt
|
|
$pkgname-mce
|
|
$pkgname-sway
|
|
$pkgname-weston
|
|
$pkgname-xfce4
|
|
"
|
|
source="
|
|
deviceinfo
|
|
mce-display-blanking.conf
|
|
weston.ini
|
|
"
|
|
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 sway"
|
|
depends="postmarketos-ui-sway-logo-key-alt"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
weston() {
|
|
install_if="$pkgname=$pkgver-r$pkgrel weston"
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
|
}
|
|
|
|
xfce4() {
|
|
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-xfce4"
|
|
install="$subpkgname.post-install"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
kernel_virt() {
|
|
pkgdesc="Alpine Virt kernel (minimal, no audio)"
|
|
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
|
|
}
|
|
|
|
sha512sums="
|
|
bb68389ddbbad289881511fde2e75183b8572273bb25b1aec73870b3e3ae37c318c3eeae1bc7a2eade46fb55a35bf6e1d2851b7188e6a43d0d6a84e874f4dab5 deviceinfo
|
|
99d32eed6c5cda59e91516e982c5bd5165ff718133e2411a0dbba04e2057d1dfad49a75e5cc67140d0e0adcbe1383671bd2892335929b782a5b19f5472e635ad mce-display-blanking.conf
|
|
47b27c7572b8737988488f7eb23b9e68f9a944e22baafe1c78355d2514a2554cf41d99b29fca12238eb13a6f5d53f00ca89b94e534e8461ebab72256dcf0f142 weston.ini
|
|
"
|