aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/vte/vte_0.44.1.bb
blob: ecbf58a900da658e47d19841759fc9d674161022 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 intltool-native"

LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"

inherit gnomebase gtk-doc distro_features_check upstream-version-is-even vala gobject-introspection

SRC_URI += "file://0001-Don-t-enable-stack-protection-by-default.patch"
SRC_URI[archive.md5sum] = "20916d97a5902657e54307cc2757beee"
SRC_URI[archive.sha256sum] = "712dd548339f600fd7e221d12b2670a13a4361b2cd23ba0e057e76cc19fe5d4e"

ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"

PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls"

CFLAGS += "-D_GNU_SOURCE"

# Enable vala only if gobject-introspection is enabled
EXTRA_OECONF = "--enable-vala=auto"

# 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.*"