diff options
Diffstat (limited to 'meta/recipes-support/vte/vte_0.72.2.bb')
-rw-r--r-- | meta/recipes-support/vte/vte_0.72.2.bb | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/meta/recipes-support/vte/vte_0.72.2.bb b/meta/recipes-support/vte/vte_0.72.2.bb new file mode 100644 index 0000000000..4249b75ac0 --- /dev/null +++ b/meta/recipes-support/vte/vte_0.72.2.bb | |||
@@ -0,0 +1,54 @@ | |||
1 | SUMMARY = "Virtual terminal emulator GTK+ widget library" | ||
2 | DESCRIPTION = "VTE provides a virtual terminal widget for GTK applications." | ||
3 | HOMEPAGE = "https://wiki.gnome.org/Apps/Terminal/VTE" | ||
4 | BUGTRACKER = "https://bugzilla.gnome.org/buglist.cgi?product=vte" | ||
5 | LICENSE = "GPL-3.0-only & LGPL-3.0-or-later & MIT" | ||
6 | LICENSE:libvte = "LGPL-3.0-or-later" | ||
7 | |||
8 | LIC_FILES_CHKSUM = " \ | ||
9 | file://COPYING.GPL3;md5=cc702cf3444d1f19680c794cc61948f9 \ | ||
10 | file://COPYING.LGPL3;md5=b52f2d57d10c4f7ee67a7eb9615d5d24 \ | ||
11 | file://COPYING.XTERM;md5=d7fc3a23c16c039afafe2e042030f057 \ | ||
12 | " | ||
13 | |||
14 | DEPENDS = "glib-2.0 glib-2.0-native gtk+3 libpcre2 libxml2-native gperf-native icu" | ||
15 | |||
16 | GNOMEBASEBUILDCLASS = "meson" | ||
17 | GIR_MESON_OPTION = 'gir' | ||
18 | GIDOCGEN_MESON_OPTION = "docs" | ||
19 | |||
20 | inherit gnomebase gi-docgen features_check upstream-version-is-even gobject-introspection | ||
21 | |||
22 | # vapigen.m4 is required when vala is not present (but the one from vala should be used normally) | ||
23 | SRC_URI += "file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch" | ||
24 | SRC_URI[archive.sha256sum] = "f7966fd185a6981f53964162b71cfef7e606495155d6f5827b72aa0dd6741c9e" | ||
25 | |||
26 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | ||
27 | |||
28 | # Help g-ir-scanner find the .so for linking | ||
29 | do_compile:prepend() { | ||
30 | export GIR_EXTRA_LIBS_PATH="${B}/src/.libs" | ||
31 | } | ||
32 | |||
33 | # Package additional files | ||
34 | FILES:${PN}-dev += "${datadir}/vala/vapi/*" | ||
35 | |||
36 | PACKAGECONFIG ??= "gnutls" | ||
37 | PACKAGECONFIG[vala] = "-Dvapi=true,-Dvapi=false,vala-native vala" | ||
38 | PACKAGECONFIG[gnutls] = "-Dgnutls=true,-Dgnutls=false,gnutls" | ||
39 | PACKAGECONFIG[systemd] = "-D_systemd=true,-D_systemd=false,systemd" | ||
40 | # vala requires gir | ||
41 | PACKAGECONFIG:remove:class-native = "vala" | ||
42 | |||
43 | CFLAGS += "-D_GNU_SOURCE" | ||
44 | |||
45 | PACKAGES =+ "libvte ${PN}-prompt" | ||
46 | FILES:libvte = "${libdir}/*.so.* ${libdir}/girepository-1.0/*" | ||
47 | FILES:${PN}-prompt = " \ | ||
48 | ${sysconfdir}/profile.d \ | ||
49 | ${libexecdir}/vte-urlencode-cwd \ | ||
50 | " | ||
51 | |||
52 | FILES:${PN}-dev += "${datadir}/glade/" | ||
53 | |||
54 | BBCLASSEXTEND = "native nativesdk" | ||