support the Meson build system

Bug #1653128 reported by eyelash
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Medium
Julian Liu

Bug Description

It would be nice if Snapcraft could build packages from projects that use the Meson build system.

Meson is quite similar to CMake but instead of

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/prefix -DCMAKE_BUILD_TYPE=Release ..
make
make DESTDIR=/dest install

you run

mkdir build
cd build
meson --prefix /prefix --buildtype release ..
ninja
DESTDIR=/dest ninja install

Tags: new-plugin
Leo Arias (elopio)
tags: added: new-plugin
Changed in snapcraft:
status: New → Confirmed
Revision history for this message
Julian Liu (julian-liu) wrote :

I've committed meson plugin on our forked repo here:
https://github.com/Lyoncore/snapcraft/commit/f1781bccbf0f6fa58beedbed77e970b4237d8d53

will issue a pull request when my CLA get approved

Leo Arias (elopio)
Changed in snapcraft:
status: Confirmed → In Progress
assignee: nobody → Julian Liu (julian-liu)
importance: Undecided → Medium
Revision history for this message
Julian Liu (julian-liu) wrote :
Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Changed in snapcraft:
status: In Progress → Fix Committed
milestone: none → 2.30
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.