Andy
July 4, 2023, 7:45pm
1
How do I get meson 1.1.0 or newer in KDE SDK?
I tried using SDK version 6.5, but meson version is report as 0.63.3.
app-id: io.github.app.App
runtime: org.kde.Platform
sdk: org.kde.Sdk
base-version: '6.5'
runtime-version: '6.5'
command: run.sh
finish-args:
- --share=ipc
- --socket=x11
- --device=dri
modules:
- name: meson-test
buildsystem: simple
build-commands:
- meson --version
Andy
July 4, 2023, 10:44pm
2
I found that I can just install newer version of meson instead.
- name: meson
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py install --prefix=/app --root=/
sources:
- type: git
url: https://github.com/mesonbuild/meson.git
tag: '1.1.1'
2 Likes
cbrnr
July 24, 2024, 8:02am
3
I had the same question, thanks for posting a solution!
Do you know how this could be achieved with pip
instead of python3 setup.py ...
though? I tried with the following build-commands
, but it doesn’t work:
- pip install --upgrade --verbose --exists-action=i --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} --no-build-isolation meson
The original location is not writeable:
OSError: [Errno 30] Read-only file system: '/usr/bin/meson'