diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2016-09-02 17:55:48 +0200 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2016-09-12 14:58:42 +0200 |
commit | d0d74fbff4709ab9b093ec7785794d7f82b8e7b3 (patch) | |
tree | 26b4cc34d9e92178b41d9ed8bb3b728535b81b2a /recipes-support/libgsystem | |
parent | 9f816bdb3da9412e334cb8f7a69b48523732dc77 (diff) | |
download | meta-updater-d0d74fbff4709ab9b093ec7785794d7f82b8e7b3.tar.gz |
Build OSTree natively, and its dependencies as well
Bug-AGL: SPEC-245
Change-Id: Ia5631d786c3375ba3aa0bc6ac75ebaeb358e7b03
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Diffstat (limited to 'recipes-support/libgsystem')
-rw-r--r-- | recipes-support/libgsystem/libgsystem_git.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-support/libgsystem/libgsystem_git.bb b/recipes-support/libgsystem/libgsystem_git.bb new file mode 100644 index 0000000..4b1eb49 --- /dev/null +++ b/recipes-support/libgsystem/libgsystem_git.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | SUMMARY = "GIO-based library, targeted primarily for use by operating system components" | ||
2 | LICENSE = "GPLv2+" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" | ||
4 | |||
5 | SRC_URI = "gitsm://github.com/GNOME/libgsystem.git" | ||
6 | SRCREV="d606bec68ddfea78de4b03c3f3568afb71bdc1ce" | ||
7 | |||
8 | S = "${WORKDIR}/git" | ||
9 | |||
10 | inherit autotools-brokensep | ||
11 | |||
12 | DEPENDS += "attr glib-2.0 pkgconfig libcap" | ||
13 | RDEPENDS_${PN} = "xz systemd" | ||
14 | |||
15 | RDEPENDS_${PN}_remove_class-native = "systemd-native" | ||
16 | |||
17 | BBCLASSEXTEND = "native" | ||
18 | |||
19 | export STAGING_INCDIR | ||
20 | export STAGING_LIBDIR | ||
21 | |||
22 | do_configure() { | ||
23 | NOCONFIGURE=true ./autogen.sh | ||
24 | oe_runconf | ||
25 | } | ||
26 | |||
27 | do_compile_prepend() { | ||
28 | export BUILD_SYS="${BUILD_SYS}" | ||
29 | export HOST_SYS="${HOST_SYS}" | ||
30 | } | ||
31 | |||
32 | FILES_${PN} += " \ | ||
33 | ${datadir} \ | ||
34 | ${datadir}/gir-1.0 \ | ||
35 | ${datadir}/gir-1.0/GSystem-1.0.gir \ | ||
36 | ${libdir}/girepository-1.0/ \ | ||
37 | ${libdir}/girepository-1.0/GSystem-1.0.typelib \ | ||
38 | " | ||