Commit Graph

8 Commits

Author SHA1 Message Date
Ricardo Ribalda Delgado
cde6146e49 meson: Port pkgconfig-native patch to 0.40.1
The update to 0.40.1 did not add this patch required for qt builds.

Fixes: 163abe723d ("meson: update Meson devtool to 0.40.1")
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-14 23:44:29 +02:00
Ross Burton
529ae57ac9 meson: remove redundant patch
This patch doesn't apply to 0.40.1 and hopefully the PKG_CONFIG patch fixes the
problem with the wrong pkg-config binary being invoked.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:26 +02:00
Ross Burton
3710b9da7f meson: set RDEPENDS globally instead of just for target
Now that python3-native has the correct provides, the RDEPENDS can be set
globally instead of just for target (which helps a future nativesdk-meson
package).

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:26 +02:00
Adam C. Foltzer
d84b4b0bab meson: add LDFLAGS to bbclass C/C++ link arguments
This adds compiler flags for C++ projects, and fixes the linker
arguments for both C and C++ to avoid the GNU_HASH qa failure

Signed-off-by: Adam C. Foltzer <acfoltzer@galois.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-14 14:51:15 +02:00
Adam C. Foltzer
163abe723d meson: update Meson devtool to 0.40.1
Signed-off-by: Adam C. Foltzer <acfoltzer@galois.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-14 14:51:14 +02:00
Ricardo Ribalda Delgado
3799bfeea7 meson: Use pkgconfig-native for the native tools
QT relies on host compilers such mas mocc. Modify meson to use
pkgconfig-native instead of pkgconfig in such cases.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-05 11:01:45 +02:00
Peter Kjellerstedt
f07b8a2196 meson: Update to 0.37.1
Also make it possible to actually build the native version by avoiding
the runtime dependencies.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:32:39 +01:00
Linus Svensson
b8f6712bd9 meson: Add recipe for the meson build system
Meson is a build system designed to be fast and as user firendly as
possible. Find out more about meson at mesonbuild.com.

This patch is based on a prototype patch by
Ross Burton <ross.burton@intel.com>.

Signed-off-by: Linus Svensson <linussn@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-20 11:50:12 +01:00