diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-05-03 18:25:54 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-05 13:19:54 +0100 |
commit | d753920854a4ae4ea08e44bb2d9666dedbc66df6 (patch) | |
tree | 064f9b0a3411abd9f432f9752cce2f9152336d75 /meta/recipes-support/vte/vte_0.60.2.bb | |
parent | a9be35d7c26c8f6f6186485217d1b4a16a0ae4be (diff) | |
download | poky-d753920854a4ae4ea08e44bb2d9666dedbc66df6.tar.gz |
vte: update to 0.60.2
(From OE-Core rev: 72e97bac4e3e851803302631870c08418ab57b62)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/vte/vte_0.60.2.bb')
-rw-r--r-- | meta/recipes-support/vte/vte_0.60.2.bb | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/meta/recipes-support/vte/vte_0.60.2.bb b/meta/recipes-support/vte/vte_0.60.2.bb new file mode 100644 index 0000000000..3891ff8165 --- /dev/null +++ b/meta/recipes-support/vte/vte_0.60.2.bb | |||
@@ -0,0 +1,57 @@ | |||
1 | SUMMARY = "Virtual terminal emulator GTK+ widget library" | ||
2 | BUGTRACKER = "https://bugzilla.gnome.org/buglist.cgi?product=vte" | ||
3 | LICENSE = "GPLv3 & LGPLv3+ & LGPLv2.1+" | ||
4 | LICENSE_libvte = "LGPLv3+" | ||
5 | |||
6 | LIC_FILES_CHKSUM = " \ | ||
7 | file://COPYING.GPL3;md5=2f31b266d3440dd7ee50f92cf67d8e6c \ | ||
8 | file://COPYING.LGPL2;md5=4fbd65380cdd255951079008b364516c \ | ||
9 | file://COPYING.LGPL3;md5=b52f2d57d10c4f7ee67a7eb9615d5d24 \ | ||
10 | " | ||
11 | |||
12 | DEPENDS = "glib-2.0 gtk+3 libpcre2 libxml2-native gperf-native" | ||
13 | |||
14 | GNOMEBASEBUILDCLASS = "meson" | ||
15 | GIR_MESON_OPTION = 'gir' | ||
16 | |||
17 | inherit gnomebase gtk-doc features_check upstream-version-is-even gobject-introspection | ||
18 | |||
19 | # vapigen.m4 is required when vala is not present (but the one from vala should be used normally) | ||
20 | SRC_URI += "file://0001-app.cc-use-old-school-asignment-to-avoid-gcc-4.8-err.patch \ | ||
21 | file://0002-Add-W_EXITCODE-macro-for-non-glibc-systems.patch \ | ||
22 | " | ||
23 | SRC_URI[archive.md5sum] = "1a0b5395915d2f3c88484511b38cc584" | ||
24 | SRC_URI[archive.sha256sum] = "35a0280e3f12feeb3096da05699191373c47a4a20c55cb7081e828e6015f8ca5" | ||
25 | |||
26 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | ||
27 | |||
28 | # Instead of "inherit vala" we do the relevant settings here so we can | ||
29 | # set DEPENDS based on PACKAGECONFIG. | ||
30 | |||
31 | # Our patched version of Vala looks in STAGING_DATADIR for .vapi files | ||
32 | export STAGING_DATADIR | ||
33 | # Upstream Vala >= 0.11 looks in XDG_DATA_DIRS for .vapi files | ||
34 | export XDG_DATA_DIRS = "${STAGING_DATADIR}" | ||
35 | |||
36 | # Help g-ir-scanner find the .so for linking | ||
37 | do_compile_prepend() { | ||
38 | export GIR_EXTRA_LIBS_PATH="${B}/src/.libs" | ||
39 | } | ||
40 | |||
41 | # Package additional files | ||
42 | FILES_${PN}-dev += "${datadir}/vala/vapi/*" | ||
43 | |||
44 | PACKAGECONFIG ??= "gnutls" | ||
45 | PACKAGECONFIG[vala] = "-Dvapi=true,-Dvapi=false,vala-native vala" | ||
46 | PACKAGECONFIG[gnutls] = "-Dgnutls=true,-Dgnutls=false,gnutls" | ||
47 | PACKAGECONFIG[systemd] = "-D_systemd=true,-D_systemd=false,systemd" | ||
48 | # vala requires gir | ||
49 | PACKAGECONFIG_remove_class-native = "vala" | ||
50 | |||
51 | CFLAGS += "-D_GNU_SOURCE" | ||
52 | |||
53 | PACKAGES =+ "libvte ${PN}-prompt" | ||
54 | FILES_libvte = "${libdir}/*.so.* ${libdir}/girepository-1.0/*" | ||
55 | FILES_${PN}-prompt = "${sysconfdir}/profile.d" | ||
56 | |||
57 | BBCLASSEXTEND = "native nativesdk" | ||