From d0d74fbff4709ab9b093ec7785794d7f82b8e7b3 Mon Sep 17 00:00:00 2001 From: Anton Gerasimov Date: Fri, 2 Sep 2016 17:55:48 +0200 Subject: Build OSTree natively, and its dependencies as well Bug-AGL: SPEC-245 Change-Id: Ia5631d786c3375ba3aa0bc6ac75ebaeb358e7b03 Signed-off-by: Anton Gerasimov --- recipes-support/libgsystem/libgsystem_git.bb | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 recipes-support/libgsystem/libgsystem_git.bb (limited to 'recipes-support/libgsystem') 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 @@ +SUMMARY = "GIO-based library, targeted primarily for use by operating system components" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" + +SRC_URI = "gitsm://github.com/GNOME/libgsystem.git" +SRCREV="d606bec68ddfea78de4b03c3f3568afb71bdc1ce" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep + +DEPENDS += "attr glib-2.0 pkgconfig libcap" +RDEPENDS_${PN} = "xz systemd" + +RDEPENDS_${PN}_remove_class-native = "systemd-native" + +BBCLASSEXTEND = "native" + +export STAGING_INCDIR +export STAGING_LIBDIR + +do_configure() { + NOCONFIGURE=true ./autogen.sh + oe_runconf +} + +do_compile_prepend() { + export BUILD_SYS="${BUILD_SYS}" + export HOST_SYS="${HOST_SYS}" +} + +FILES_${PN} += " \ + ${datadir} \ + ${datadir}/gir-1.0 \ + ${datadir}/gir-1.0/GSystem-1.0.gir \ + ${libdir}/girepository-1.0/ \ + ${libdir}/girepository-1.0/GSystem-1.0.typelib \ +" -- cgit v1.2.3-54-g00ecf