[Slackbuilds-users] Call for Help
fourtysixandtwo
fourtysixandtwo at sliderr.net
Sun Apr 28 02:08:24 UTC 2024
Can build offline with the python3-meson-opt added as a dep and
PYTHONPATH added to the slackbuild.
Doing a build test(about 1/3 done) right now with "unshare -n
BRIDGE_HELPER_SETUID=yes SLIRP=yes sh ./qemu.SlackBuild"
diff --git a/system/qemu/qemu.SlackBuild b/system/qemu/qemu.SlackBuild
index 73604dc9e3..59ec768c5e 100644
--- a/system/qemu/qemu.SlackBuild
+++ b/system/qemu/qemu.SlackBuild
@@ -93,6 +93,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} + || true
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages
+
# Remove double CFLAGS
sed -i "s|^\ \ CFLAGS=\"-O2\ | CFLAGS=\"|" configure
diff --git a/system/qemu/qemu.info b/system/qemu/qemu.info
index 7e9f20f028..db06361012 100644
--- a/system/qemu/qemu.info
+++ b/system/qemu/qemu.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://download.qemu.org/qemu-8.2.2.tar.xz"
MD5SUM="e43091262671c1728b09522932b75b1d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3-meson-opt"
MAINTAINER="Edward W. Koenig"
EMAIL="kingbeowulf at linuxgalaxy.org"
On Sat, Apr 27, 2024 at 8:05 PM Willy Sudiarto Raharjo
<willysr at slackbuilds.org> wrote:
>
> > and was told qemu will use it's "internal" meson. Guess what? There is
> > no "internal" meson. Any build system requirements qemu needs it will
> > download.
>
> internal means it's maintained by qemu team :)
>
>
> --
> Willy Sudiarto Raharjo
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
More information about the SlackBuilds-users
mailing list