diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-02-19 18:46:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-20 11:30:35 +0000 |
commit | 67dc812011efbc13e4d77d4d6e3999d6d121fa12 (patch) | |
tree | 8e5318f33318f326fd10ab8e2da1ec449feddcd7 /meta/recipes-devtools/libmodulemd/libmodulemd_git.bb | |
parent | 226f235c51b2fce214362f1f657dfcfa855c5516 (diff) | |
download | poky-67dc812011efbc13e4d77d4d6e3999d6d121fa12.tar.gz |
libmodulemd: update to 2.1.0
Add support for gobject-introspection.
Add v2 API fixes to the gtkdoc/gi disabling patch.
Add a dependency on glib-native to allow use of glib-mkenums.
Disable v2 API/library for now as libdnf is not compatible with it,
yet is erroneously linked against it (if it's enabled).
(From OE-Core rev: 3db1883a109b520909b12e91028ce8a79923e8f5)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/libmodulemd/libmodulemd_git.bb')
-rw-r--r-- | meta/recipes-devtools/libmodulemd/libmodulemd_git.bb | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb b/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb index d9bfdc0878..87e92114c8 100644 --- a/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb +++ b/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb | |||
@@ -7,15 +7,24 @@ SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https \ | |||
7 | file://0002-modulemd-v1-meson.build-do-not-generate-gir-or-gtkdo.patch \ | 7 | file://0002-modulemd-v1-meson.build-do-not-generate-gir-or-gtkdo.patch \ |
8 | " | 8 | " |
9 | 9 | ||
10 | PV = "1.7.0" | 10 | PV = "2.1.0" |
11 | SRCREV = "9af3e7b4bec2f8daaa857fa668b858e484487710" | 11 | SRCREV = "072e6ee791fe7822a6d423bdac7e4a5cbb118bce" |
12 | 12 | ||
13 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
14 | 14 | ||
15 | inherit meson | 15 | inherit meson gobject-introspection |
16 | 16 | ||
17 | EXTRA_OEMESON = "-Ddeveloper_build=false" | 17 | EXTRA_OEMESON = "-Ddeveloper_build=false -Dbuild_api_v1=true -Dbuild_api_v2=false" |
18 | 18 | ||
19 | DEPENDS += "glib-2.0 libyaml" | 19 | DEPENDS += "glib-2.0 libyaml glib-2.0-native" |
20 | 20 | ||
21 | BBCLASSEXTEND = "native nativesdk" | 21 | BBCLASSEXTEND = "native nativesdk" |
22 | |||
23 | GI_ENABLE_FLAG = "-Dskip_introspection=false" | ||
24 | GI_DISABLE_FLAG = "-Dskip_introspection=true" | ||
25 | |||
26 | EXTRA_OEMESON_append_class-nativesdk = " ${GI_DISABLE_FLAG}" | ||
27 | EXTRA_OEMESON_append_class-native = " ${GI_DISABLE_FLAG}" | ||
28 | |||
29 | EXTRA_OEMESON_append_class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '${GI_ENABLE_FLAG}', \ | ||
30 | '${GI_DISABLE_FLAG}', d)} " | ||