2020-07-08 10:42:25 -04:00
|
|
|
SUMMARY = "Virtual terminal emulator GTK+ widget library"
|
2021-05-05 08:45:55 -04:00
|
|
|
DESCRIPTION = "VTE provides a virtual terminal widget for GTK applications."
|
|
|
|
HOMEPAGE = "https://wiki.gnome.org/Apps/Terminal/VTE"
|
2020-07-08 10:42:25 -04:00
|
|
|
BUGTRACKER = "https://bugzilla.gnome.org/buglist.cgi?product=vte"
|
2021-05-05 08:45:55 -04:00
|
|
|
LICENSE = "GPLv3 & LGPLv3+ & MIT-X"
|
2020-07-08 10:42:25 -04:00
|
|
|
LICENSE_libvte = "LGPLv3+"
|
|
|
|
|
|
|
|
LIC_FILES_CHKSUM = " \
|
2021-05-05 08:45:55 -04:00
|
|
|
file://COPYING.GPL3;md5=cc702cf3444d1f19680c794cc61948f9 \
|
2020-07-08 10:42:25 -04:00
|
|
|
file://COPYING.LGPL3;md5=b52f2d57d10c4f7ee67a7eb9615d5d24 \
|
2021-05-05 08:45:55 -04:00
|
|
|
file://COPYING.XTERM;md5=d7fc3a23c16c039afafe2e042030f057 \
|
2020-07-08 10:42:25 -04:00
|
|
|
"
|
|
|
|
|
|
|
|
DEPENDS = "glib-2.0 gtk+3 libpcre2 libxml2-native gperf-native icu"
|
|
|
|
|
|
|
|
GNOMEBASEBUILDCLASS = "meson"
|
|
|
|
GIR_MESON_OPTION = 'gir'
|
|
|
|
|
2020-10-30 14:55:28 -04:00
|
|
|
inherit gnomebase gtk-doc features_check upstream-version-is-even gobject-introspection
|
2020-07-08 10:42:25 -04:00
|
|
|
|
2021-05-05 08:45:55 -04:00
|
|
|
SRCREV = "2520d6b6785646ceb5f501f9c37a1a0307fa4486"
|
|
|
|
SRC_URI = "git://gitlab.gnome.org/GNOME/vte.git;protocol=https;branch=vte-0-64"
|
|
|
|
# vapigen.m4 is required when vala is not present (but the one from vala should be used normally)
|
|
|
|
SRC_URI += "file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch"
|
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
2020-07-08 10:42:25 -04:00
|
|
|
|
|
|
|
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
|
|
|
|
|
|
|
# Instead of "inherit vala" we do the relevant settings here so we can
|
|
|
|
# set DEPENDS based on PACKAGECONFIG.
|
|
|
|
|
|
|
|
# Our patched version of Vala looks in STAGING_DATADIR for .vapi files
|
|
|
|
export STAGING_DATADIR
|
|
|
|
# Upstream Vala >= 0.11 looks in XDG_DATA_DIRS for .vapi files
|
|
|
|
export XDG_DATA_DIRS = "${STAGING_DATADIR}"
|
|
|
|
|
|
|
|
# Help g-ir-scanner find the .so for linking
|
|
|
|
do_compile_prepend() {
|
|
|
|
export GIR_EXTRA_LIBS_PATH="${B}/src/.libs"
|
|
|
|
}
|
|
|
|
|
|
|
|
# Package additional files
|
|
|
|
FILES_${PN}-dev += "${datadir}/vala/vapi/*"
|
|
|
|
|
|
|
|
PACKAGECONFIG ??= "gnutls"
|
|
|
|
PACKAGECONFIG[vala] = "-Dvapi=true,-Dvapi=false,vala-native vala"
|
|
|
|
PACKAGECONFIG[gnutls] = "-Dgnutls=true,-Dgnutls=false,gnutls"
|
|
|
|
PACKAGECONFIG[systemd] = "-D_systemd=true,-D_systemd=false,systemd"
|
|
|
|
# vala requires gir
|
|
|
|
PACKAGECONFIG_remove_class-native = "vala"
|
|
|
|
|
|
|
|
CFLAGS += "-D_GNU_SOURCE"
|
|
|
|
|
|
|
|
PACKAGES =+ "libvte ${PN}-prompt"
|
|
|
|
FILES_libvte = "${libdir}/*.so.* ${libdir}/girepository-1.0/*"
|
|
|
|
FILES_${PN}-prompt = " \
|
|
|
|
${sysconfdir}/profile.d \
|
|
|
|
${libexecdir}/vte-urlencode-cwd \
|
|
|
|
"
|
|
|
|
|
2021-05-05 08:45:55 -04:00
|
|
|
FILES_${PN}-dev += "${datadir}/glade/"
|
|
|
|
|
2020-07-08 10:42:25 -04:00
|
|
|
BBCLASSEXTEND = "native nativesdk"
|