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
|
2020-10-07 12:05:52 +00:00
|
|
|
pkgver=2.1
|
2021-04-11 15:59:52 +00:00
|
|
|
pkgrel=1
|
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"
|
2020-03-06 10:44:08 +00:00
|
|
|
depends="postmarketos-base mesa-dri-gallium"
|
2020-01-10 16:44:00 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2020-02-16 11:07:20 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-weston
|
2020-03-06 13:01:14 +00:00
|
|
|
$pkgname-xfce4
|
2020-02-16 11:07:20 +00:00
|
|
|
$pkgname-kernel-virt:kernel_virt
|
2020-03-06 13:01:14 +00:00
|
|
|
$pkgname-kernel-lts:kernel_lts
|
2020-02-16 11:07:20 +00:00
|
|
|
"
|
2020-03-06 13:01:14 +00:00
|
|
|
|
2018-03-05 21:18:13 +00:00
|
|
|
source="deviceinfo 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
|
|
|
}
|
|
|
|
|
2018-01-08 15:18:37 +00:00
|
|
|
weston() {
|
2020-01-10 16:44:00 +00:00
|
|
|
install_if="$pkgname weston"
|
|
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
2018-01-08 15:18:37 +00:00
|
|
|
}
|
|
|
|
|
2020-03-06 13:01:14 +00:00
|
|
|
xfce4() {
|
|
|
|
install_if="$pkgname postmarketos-ui-xfce4"
|
|
|
|
install="$subpkgname.post-install"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2020-10-07 12:05:52 +00:00
|
|
|
sha512sums="23380393d6c1dd5327b2be4ab22a617da5ae606b393042afd8adeb722d7680678a79ac78f20b8256a6741c3d43ea5863fbee58a5115c88c442a54675ef91079b deviceinfo
|
2018-05-05 14:27:13 +00:00
|
|
|
de794566118f1744d068a94e6a75b61d43f6749a4b0871a5270fa7a2048164d609c71fcffa61845c2a7dd4cb5fbeb72c0e4f8b73b382f36d6ff0bcc9b8a5ae25 weston.ini"
|