1
0
forked from brl/citadel
citadel/meta-gnome/recipes-gnome/vte/vte.inc

27 lines
968 B
PHP

SUMMARY = "Virtual terminal emulator GTK+ widget library"
BUGTRACKER = "https://bugzilla.gnome.org/buglist.cgi?product=vte"
LICENSE = "LGPLv2.1+"
DEPENDS = "glib-2.0 gtk+3 libpcre2 intltool-native libxml2-native gperf-native gnutls"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
inherit gnomebase gtk-doc distro_features_check upstream-version-is-even gobject-introspection vala
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
# Help g-ir-scanner find the .so for linking
do_compile_prepend() {
export GIR_EXTRA_LIBS_PATH="${B}/src/.libs"
}
CFLAGS += "-D_GNU_SOURCE"
EXTRA_OECONF = "--disable-test-application --with-gnutls"
# libtool adds "-nostdlib" when g++ is used. This breaks PIE builds.
# Use libtool-cross (which has a hack to prevent that) instead.
EXTRA_OEMAKE_class-target = "LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool"
PACKAGES =+ "libvte"
FILES_libvte = "${libdir}/*.so.* ${libdir}/girepository-1.0/*"