From c372682894e47727d8c5b45e88805e87eaa2f37a Mon Sep 17 00:00:00 2001 From: Kira Patton Date: Sun, 28 Jun 2026 00:41:30 -0400 Subject: [PATCH 01/17] New package: libkrun-1.19.3 --- common/shlibs | 1 + srcpkgs/libkrun/template | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 srcpkgs/libkrun/template diff --git a/common/shlibs b/common/shlibs index eff504f95e145f..55a36efaf068c3 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4599,3 +4599,4 @@ libgpiodcxx.so.2 libgpiod-2.2_4 libigloo.so.0 libigloo-0.9.5_1 libfyaml.so.0 libfyaml-0.9.6_1 libcpptrace.so.1 cpptrace-1.0.4_1 +libkrun.so.1 libkrun-1.19.3_2 diff --git a/srcpkgs/libkrun/template b/srcpkgs/libkrun/template new file mode 100644 index 00000000000000..427d7440f0591a --- /dev/null +++ b/srcpkgs/libkrun/template @@ -0,0 +1,16 @@ +# Template file for 'libkrun' +pkgname=libkrun +version=1.19.3 +revision=2 +build_style=gnu-makefile +make_build_args="GPU=1 BLK=1 NET=1" +make_install_args="GPU=1 BLK=1 NET=1" +hostmakedepends="clang21-devel clang21-headers pkg-config libclang patchelf rust cargo virglrenderer-devel libkrunfw" +depends="libkrunfw" +short_desc="Dynamic library providing Virtualization-based process isolation" +maintainer="Kira T. Patton " +license="Apache-2.0" +homepage="https://github.com/libkrun/libkrun/" +changelog="https://github.com/libkrun/libkrun/releases/tag/v${version}" +distfiles="https://github.com/libkrun/libkrun/archive/refs/tags/v${version}.tar.gz" +checksum=955b0d948f1d1cf315c55ea92b55d5251928e6ec6f6aa6697cea95afccd4d2b0 From 9ae5391d82663e307d943af9d879232ffc401e18 Mon Sep 17 00:00:00 2001 From: Kira Patton Date: Sun, 28 Jun 2026 00:41:34 -0400 Subject: [PATCH 02/17] New package: libkrunfw-5.5.0 --- srcpkgs/libkrunfw/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/libkrunfw/template diff --git a/srcpkgs/libkrunfw/template b/srcpkgs/libkrunfw/template new file mode 100644 index 00000000000000..b103dc0f28a4ea --- /dev/null +++ b/srcpkgs/libkrunfw/template @@ -0,0 +1,15 @@ +# Template file for 'libkrunfw' +pkgname=libkrunfw +version=5.5.0 +revision=2 +build_style=gnu-makefile +hostmakedepends="tar xz bc elfutils-devel flex gmp-devel kmod libmpc-devel \ + pkg-config cpio openssl-devel perl pahole python3 zstd \ + curl python3-pyelftools" +short_desc="Dynamic library bundling the guest payload consumed by libkrun" +maintainer="Kira T. Patton " +license="GPL-2.0-only" +homepage="https://github.com/libkrun/libkrunfw/" +changelog="https://github.com/libkrun/libkrunfw/releases/tag/v${version}" +distfiles="https://github.com/libkrun/libkrunfw/archive/refs/tags/v${version}.tar.gz" +checksum=b0cbf1450269c80aea1dccbf440011deb2762a098b338c234079a6ef06456ead From 67cfd781c1f58e88d665abe51f94c73b5688885b Mon Sep 17 00:00:00 2001 From: Kira Patton Date: Sun, 28 Jun 2026 00:41:57 -0400 Subject: [PATCH 03/17] New package: FEX-2605 --- srcpkgs/FEX/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/FEX/template diff --git a/srcpkgs/FEX/template b/srcpkgs/FEX/template new file mode 100644 index 00000000000000..1b2635be9c3108 --- /dev/null +++ b/srcpkgs/FEX/template @@ -0,0 +1,26 @@ +# Template file for 'FEX' +pkgname=FEX +version=2605 +revision=2 +archs="aarch64" +build_style=cmake +make_cmd="ninja" +configure_args="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/usr + -DCMAKE_BUILD_TYPE=Release -DUSE_LINKER=lld -DENABLE_LTO=True -DBUILD_TESTING=False -DENABLE_ASSERTIONS=False -G Ninja" +hostmakedepends="git pkgconf clang cmake lld llvm21-devel openssl-devel nasm + python3-setuptools squashfs-tools squashfuse erofs-utils qt6-declarative qt6-declarative-devel" +short_desc="Fast usermode x86 and x86-64 emulator for ARM64 Linux" +maintainer="Kira T. Patton " +license="MIT" +homepage="https://fex-emu.com" +changelog="https://github.com/FEX-Emu/FEX/releases/tag/FEX-${version}" +distfiles="https://github.com/FEX-Emu/FEX.git" +do_fetch() { + git clone --branch "FEX-${version}" --recurse-submodules ${distfiles} ${wrksrc} +} +do_extract() { + cd ${wrksrc} +} +post_install() { + vlicense ${wrksrc}/LICENSE +} From 5dc0ff9a4a8705ee469a156dcb8be14dbec61ffb Mon Sep 17 00:00:00 2001 From: Kira Patton Date: Sun, 28 Jun 2026 00:42:26 -0400 Subject: [PATCH 04/17] New package: sommelier-git-6272026 --- srcpkgs/sommelier-git/template | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 srcpkgs/sommelier-git/template diff --git a/srcpkgs/sommelier-git/template b/srcpkgs/sommelier-git/template new file mode 100644 index 00000000000000..99b4dcc4ac0974 --- /dev/null +++ b/srcpkgs/sommelier-git/template @@ -0,0 +1,33 @@ +# Template file for 'sommelier-git' +pkgname=sommelier-git +version=6272026 +revision=3 +build_style=meson +configure_args="--prefix=/usr -Dwith_tests=false" +hostmakedepends="pkg-config wayland-devel git gpm-devel libgpm libxcb-devel eudev-libudev-devel \ +base-devel MesaLib-devel python3-Jinja2 ninja libxkbcommon-devel libXrender-devel libXtst-devel pixman-devel" +depends="xorg-server-xwayland" +short_desc="Nested Wayland compositor with support for X11 forwarding" +maintainer="Kira T. Patton " +license="BSD-3-Clause" +homepage="https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/vm_tools/sommelier/" +distfiles="https://chromium.googlesource.com/chromiumos/platform2" +do_fetch() { + git clone ${distfiles} ${wrksrc} +} +do_extract() { + cd ${wrksrc}/vm_tools/sommelier +} +do_configure() { + cd ${wrksrc}/vm_tools/sommelier + meson setup builddir ${configure_args} +} +do_build() { + cd ${wrksrc}/vm_tools/sommelier/builddir + meson compile +} +do_install() { + cd ${wrksrc}/vm_tools/sommelier/builddir + DESTDIR=${DESTDIR} meson install + vlicense ${wrksrc}/LICENSE +} From 2c78e52ca52d66521026ae55fb064544c924c521 Mon Sep 17 00:00:00 2001 From: Kira Patton Date: Sun, 28 Jun 2026 00:42:32 -0400 Subject: [PATCH 05/17] New package: muvm-0.6.0 --- srcpkgs/muvm/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/muvm/template diff --git a/srcpkgs/muvm/template b/srcpkgs/muvm/template new file mode 100644 index 00000000000000..cf3efaa4f8d59c --- /dev/null +++ b/srcpkgs/muvm/template @@ -0,0 +1,16 @@ +# Template file for 'muvm' +pkgname=muvm +version=0.6.0 +revision=1 +archs="aarch64" +build_style=cargo +make_install_args="--path crates/muvm" +hostmakedepends="libkrun pkg-config llvm21-devel eudev-libudev-devel" +depends="FEX sommelier-git" +short_desc="Run x86 programs from ARM64 in a microVM" +maintainer="Kira T. Patton " +license="MIT" +homepage="https://github.com/AsahiLinux/muvm" +changelog="https://github.com/AsahiLinux/muvm/releases/tag/muvm-${version}" +distfiles="https://github.com/AsahiLinux/muvm/archive/refs/tags/muvm-${version}.tar.gz" +checksum=7e7f10bced9f99ee7d9c4def71cb785b5f648f100971fb32868dbb7f87ab1839 From 761c1017da5348d32fc5805d2d451ea4fc403eab Mon Sep 17 00:00:00 2001 From: Kira Patton Date: Sun, 28 Jun 2026 10:02:02 -0400 Subject: [PATCH 06/17] muvm: updated muvm to add license --- srcpkgs/muvm/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/muvm/template b/srcpkgs/muvm/template index cf3efaa4f8d59c..8dda85caf00692 100644 --- a/srcpkgs/muvm/template +++ b/srcpkgs/muvm/template @@ -1,7 +1,7 @@ # Template file for 'muvm' pkgname=muvm version=0.6.0 -revision=1 +revision=2 archs="aarch64" build_style=cargo make_install_args="--path crates/muvm" @@ -14,3 +14,6 @@ homepage="https://github.com/AsahiLinux/muvm" changelog="https://github.com/AsahiLinux/muvm/releases/tag/muvm-${version}" distfiles="https://github.com/AsahiLinux/muvm/archive/refs/tags/muvm-${version}.tar.gz" checksum=7e7f10bced9f99ee7d9c4def71cb785b5f648f100971fb32868dbb7f87ab1839 +post_install() { + vlicense ${wrksrc}/crates/muvm/LICENSE +} From b1bdf1c5e203ff66ad66382add86a16d3ecf4195 Mon Sep 17 00:00:00 2001 From: Kira Taylor Patton <71993575+RoundDuckKira@users.noreply.github.com> Date: Sun, 28 Jun 2026 23:14:52 -0400 Subject: [PATCH 07/17] Delete srcpkgs/sommelier-git directory removed former dependency for muvm that is no longer needed --- srcpkgs/sommelier-git/template | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 srcpkgs/sommelier-git/template diff --git a/srcpkgs/sommelier-git/template b/srcpkgs/sommelier-git/template deleted file mode 100644 index 99b4dcc4ac0974..00000000000000 --- a/srcpkgs/sommelier-git/template +++ /dev/null @@ -1,33 +0,0 @@ -# Template file for 'sommelier-git' -pkgname=sommelier-git -version=6272026 -revision=3 -build_style=meson -configure_args="--prefix=/usr -Dwith_tests=false" -hostmakedepends="pkg-config wayland-devel git gpm-devel libgpm libxcb-devel eudev-libudev-devel \ -base-devel MesaLib-devel python3-Jinja2 ninja libxkbcommon-devel libXrender-devel libXtst-devel pixman-devel" -depends="xorg-server-xwayland" -short_desc="Nested Wayland compositor with support for X11 forwarding" -maintainer="Kira T. Patton " -license="BSD-3-Clause" -homepage="https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/vm_tools/sommelier/" -distfiles="https://chromium.googlesource.com/chromiumos/platform2" -do_fetch() { - git clone ${distfiles} ${wrksrc} -} -do_extract() { - cd ${wrksrc}/vm_tools/sommelier -} -do_configure() { - cd ${wrksrc}/vm_tools/sommelier - meson setup builddir ${configure_args} -} -do_build() { - cd ${wrksrc}/vm_tools/sommelier/builddir - meson compile -} -do_install() { - cd ${wrksrc}/vm_tools/sommelier/builddir - DESTDIR=${DESTDIR} meson install - vlicense ${wrksrc}/LICENSE -} From dc37d76d7c7d48c6c7b1c174f48b219cc69a3864 Mon Sep 17 00:00:00 2001 From: Kira Patton Date: Sun, 28 Jun 2026 23:24:14 -0400 Subject: [PATCH 08/17] muvm: updated muvm to remove sommelier dependency --- srcpkgs/muvm/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/muvm/template b/srcpkgs/muvm/template index 8dda85caf00692..b3cdbc8dbf810c 100644 --- a/srcpkgs/muvm/template +++ b/srcpkgs/muvm/template @@ -1,12 +1,12 @@ # Template file for 'muvm' pkgname=muvm version=0.6.0 -revision=2 +revision=3 archs="aarch64" build_style=cargo make_install_args="--path crates/muvm" hostmakedepends="libkrun pkg-config llvm21-devel eudev-libudev-devel" -depends="FEX sommelier-git" +depends="FEX" short_desc="Run x86 programs from ARM64 in a microVM" maintainer="Kira T. Patton " license="MIT" From d5a457acf5f21cda7a49c64be65b4597dbb00bda Mon Sep 17 00:00:00 2001 From: Kira Patton Date: Sun, 28 Jun 2026 23:32:38 -0400 Subject: [PATCH 09/17] libkrun: updated libkrun to split off dev files --- srcpkgs/libkrun/template | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libkrun/template b/srcpkgs/libkrun/template index 427d7440f0591a..ed3b39773804b5 100644 --- a/srcpkgs/libkrun/template +++ b/srcpkgs/libkrun/template @@ -1,7 +1,7 @@ # Template file for 'libkrun' pkgname=libkrun version=1.19.3 -revision=2 +revision=3 build_style=gnu-makefile make_build_args="GPU=1 BLK=1 NET=1" make_install_args="GPU=1 BLK=1 NET=1" @@ -14,3 +14,18 @@ homepage="https://github.com/libkrun/libkrun/" changelog="https://github.com/libkrun/libkrun/releases/tag/v${version}" distfiles="https://github.com/libkrun/libkrun/archive/refs/tags/v${version}.tar.gz" checksum=955b0d948f1d1cf315c55ea92b55d5251928e6ec6f6aa6697cea95afccd4d2b0 +libkrun-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - dev files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig + for f in doc/man/man3/*.3 ; do + vman "$f" + done + vmkdir "usr/share/doc/${sourcepkg}" + vcopy "${wrksrc}/doc/html" "usr/share/doc/${sourcepkg}" + } +} From cb6ca98d44bf9bc79fe56a51ae5daf5c73aecabf Mon Sep 17 00:00:00 2001 From: Kira Patton Date: Sun, 28 Jun 2026 23:37:54 -0400 Subject: [PATCH 10/17] libkrun-devel: new dev package for libkrun --- srcpkgs/libkrun-devel | 1 + 1 file changed, 1 insertion(+) create mode 120000 srcpkgs/libkrun-devel diff --git a/srcpkgs/libkrun-devel b/srcpkgs/libkrun-devel new file mode 120000 index 00000000000000..e33274fc2461c8 --- /dev/null +++ b/srcpkgs/libkrun-devel @@ -0,0 +1 @@ +libkrun \ No newline at end of file From 3266027c3176ebc5e73992072ca219b965fb0b75 Mon Sep 17 00:00:00 2001 From: Kira Patton Date: Sun, 28 Jun 2026 23:48:40 -0400 Subject: [PATCH 11/17] remove libkrun-devel, that was a mistake --- srcpkgs/libkrun-devel | 1 - srcpkgs/libkrun/template | 15 --------------- 2 files changed, 16 deletions(-) delete mode 120000 srcpkgs/libkrun-devel diff --git a/srcpkgs/libkrun-devel b/srcpkgs/libkrun-devel deleted file mode 120000 index e33274fc2461c8..00000000000000 --- a/srcpkgs/libkrun-devel +++ /dev/null @@ -1 +0,0 @@ -libkrun \ No newline at end of file diff --git a/srcpkgs/libkrun/template b/srcpkgs/libkrun/template index ed3b39773804b5..c1e8301866e5b6 100644 --- a/srcpkgs/libkrun/template +++ b/srcpkgs/libkrun/template @@ -14,18 +14,3 @@ homepage="https://github.com/libkrun/libkrun/" changelog="https://github.com/libkrun/libkrun/releases/tag/v${version}" distfiles="https://github.com/libkrun/libkrun/archive/refs/tags/v${version}.tar.gz" checksum=955b0d948f1d1cf315c55ea92b55d5251928e6ec6f6aa6697cea95afccd4d2b0 -libkrun-devel_package() { - depends="${sourcepkg}>=${version}_${revision}" - short_desc+=" - dev files" - pkg_install() { - vmove usr/include - vmove "usr/lib/*.a" - vmove "usr/lib/*.so" - vmove usr/lib/pkgconfig - for f in doc/man/man3/*.3 ; do - vman "$f" - done - vmkdir "usr/share/doc/${sourcepkg}" - vcopy "${wrksrc}/doc/html" "usr/share/doc/${sourcepkg}" - } -} From fc98f5c208042833d5635c19733ab007ff886d11 Mon Sep 17 00:00:00 2001 From: Kira Patton Date: Mon, 29 Jun 2026 00:32:20 -0400 Subject: [PATCH 12/17] libkrun: reverted revisions to 1 to comply with lint --- srcpkgs/libkrun/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/libkrun/template b/srcpkgs/libkrun/template index c1e8301866e5b6..46a1dc1cab6bc3 100644 --- a/srcpkgs/libkrun/template +++ b/srcpkgs/libkrun/template @@ -1,7 +1,7 @@ # Template file for 'libkrun' pkgname=libkrun version=1.19.3 -revision=3 +revision=1 build_style=gnu-makefile make_build_args="GPU=1 BLK=1 NET=1" make_install_args="GPU=1 BLK=1 NET=1" From dfab82eeea835f326cdc55a50f45e4188db199de Mon Sep 17 00:00:00 2001 From: Kira Patton Date: Mon, 29 Jun 2026 00:32:20 -0400 Subject: [PATCH 13/17] libkrunfw: reverted revisions to 1 to comply with lint --- srcpkgs/libkrunfw/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/libkrunfw/template b/srcpkgs/libkrunfw/template index b103dc0f28a4ea..9806686aa0561a 100644 --- a/srcpkgs/libkrunfw/template +++ b/srcpkgs/libkrunfw/template @@ -1,7 +1,7 @@ # Template file for 'libkrunfw' pkgname=libkrunfw version=5.5.0 -revision=2 +revision=1 build_style=gnu-makefile hostmakedepends="tar xz bc elfutils-devel flex gmp-devel kmod libmpc-devel \ pkg-config cpio openssl-devel perl pahole python3 zstd \ From f9277a0a9030d4480a112977d1987bad4610c32d Mon Sep 17 00:00:00 2001 From: Kira Patton Date: Mon, 29 Jun 2026 00:32:21 -0400 Subject: [PATCH 14/17] FEX: reverted revisions to 1 to comply with lint --- srcpkgs/FEX/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/FEX/template b/srcpkgs/FEX/template index 1b2635be9c3108..ad243f98f6ce6c 100644 --- a/srcpkgs/FEX/template +++ b/srcpkgs/FEX/template @@ -1,7 +1,7 @@ # Template file for 'FEX' pkgname=FEX version=2605 -revision=2 +revision=1 archs="aarch64" build_style=cmake make_cmd="ninja" From 0ad95c0ece02901880ff8eff899696bfb821b784 Mon Sep 17 00:00:00 2001 From: Kira Patton Date: Mon, 29 Jun 2026 00:32:21 -0400 Subject: [PATCH 15/17] muvm: reverted revisions to 1 to comply with lint --- srcpkgs/muvm/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/muvm/template b/srcpkgs/muvm/template index b3cdbc8dbf810c..5ce21b6769f3f4 100644 --- a/srcpkgs/muvm/template +++ b/srcpkgs/muvm/template @@ -1,7 +1,7 @@ # Template file for 'muvm' pkgname=muvm version=0.6.0 -revision=3 +revision=1 archs="aarch64" build_style=cargo make_install_args="--path crates/muvm" From c533fc2799254048ccb9d578e1aaa78d08166553 Mon Sep 17 00:00:00 2001 From: Kira Patton Date: Mon, 29 Jun 2026 00:37:03 -0400 Subject: [PATCH 16/17] FEX: addded musl compatibility --- srcpkgs/FEX/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/FEX/template b/srcpkgs/FEX/template index ad243f98f6ce6c..3e7b61ceb10a6b 100644 --- a/srcpkgs/FEX/template +++ b/srcpkgs/FEX/template @@ -1,8 +1,8 @@ # Template file for 'FEX' pkgname=FEX version=2605 -revision=1 -archs="aarch64" +revision=2 +archs="aarch64*" build_style=cmake make_cmd="ninja" configure_args="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/usr From 893d538c755934ff1a544e755025d85197929c89 Mon Sep 17 00:00:00 2001 From: Kira Patton Date: Mon, 29 Jun 2026 00:37:03 -0400 Subject: [PATCH 17/17] libkrun: fixed shlibs for it fex: undid musl compatibility --- common/shlibs | 2 +- srcpkgs/FEX/template | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/shlibs b/common/shlibs index 55a36efaf068c3..4b6d82152dc149 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4599,4 +4599,4 @@ libgpiodcxx.so.2 libgpiod-2.2_4 libigloo.so.0 libigloo-0.9.5_1 libfyaml.so.0 libfyaml-0.9.6_1 libcpptrace.so.1 cpptrace-1.0.4_1 -libkrun.so.1 libkrun-1.19.3_2 +libkrun.so.1 libkrun-1.19.3_1 diff --git a/srcpkgs/FEX/template b/srcpkgs/FEX/template index 3e7b61ceb10a6b..ad243f98f6ce6c 100644 --- a/srcpkgs/FEX/template +++ b/srcpkgs/FEX/template @@ -1,8 +1,8 @@ # Template file for 'FEX' pkgname=FEX version=2605 -revision=2 -archs="aarch64*" +revision=1 +archs="aarch64" build_style=cmake make_cmd="ninja" configure_args="-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/usr