Compile without flatpak #987
-
|
Hello! I would like to test this program, but I am not using flatpak (by choice). I don't see any binary, and I do not see any makefile so I can compile the project, only thing I've see is the build-aux/flatpak directory, but I understand this is for the flatpak packaging. The I've been trying to install using meson, but I've installed some missing dependencies until I got to the libportal-gtk4-dev. I've read it is used primarily for flatpak apps. Is there any way to compile the source to a "simple" binary and not have to install the flatpak environment (~500Mb) ? Thank you. I wish I can at some point test this :-). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Hi, if you want to build with meson setup --prefix=/usr --libdir=lib/ _build
meson compile -C _build
meson install -C _buildValent requires |
Beta Was this translation helpful? Give feedback.
-
So, I must either install glib 2.84 (runtime binaries) or else the executable won't work anyway. :-p Again, thanks for your work. :-) |
Beta Was this translation helpful? Give feedback.
glib >= 2.84is a requirement, yes. That's the latest stable release and Valent uses API that's new in that version.If you're building each dependency from source, yeah that's a lot to build yourself. Generally you'd just want to install the development packages (e.g. libglib2.0-dev). For the record, these are the packag…