update config for crystfel, build from source dir with meson

This commit is contained in:
2026-08-18 15:44:56 +02:00
parent 0e6199871f
commit 2ddb347ec6
2 changed files with 7 additions and 7 deletions
+6 -7
View File
@@ -3,18 +3,17 @@
# upstream INSTALL.md: meson setup build && meson compile && meson install.
# default pbuild::prep downloads + sha-verifies + unpacks the tarball (urls/shasums
# in files/config.yaml, strip_dirs:1 puts the sources at $SRC_DIR root).
# need to install the latest meson > 0.60 at local/bin
# could be pip3 install --user meson
# cd lines can be deleted with compile_in_sourcetree being true
pbuild::configure() {
cd "${SRC_DIR}"
meson setup build --prefix="${PREFIX}"
~/.local/bin/meson setup build --prefix="${PREFIX}"
}
pbuild::compile() {
cd "${SRC_DIR}"
meson compile -C build
~/.local/bin/meson compile -C build
}
pbuild::install() {
cd "${SRC_DIR}"
meson install -C build
~/.local/bin/meson install -C build
}
+1
View File
@@ -2,6 +2,7 @@
format: 1
crystfel:
defaults:
compile_in_sourcetree: true
group: MX
overlay: base
relstage: unstable