xref: /OK3568_Linux_fs/buildroot/package/vte/vte.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# vte
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunVTE_VERSION_MAJOR = 0.66
8*4882a593SmuzhiyunVTE_VERSION = $(VTE_VERSION_MAJOR).2
9*4882a593SmuzhiyunVTE_SOURCE = vte-$(VTE_VERSION).tar.xz
10*4882a593SmuzhiyunVTE_SITE = https://download.gnome.org/sources/vte/$(VTE_VERSION_MAJOR)
11*4882a593SmuzhiyunVTE_DEPENDENCIES = host-pkgconf libgtk3 pcre2 $(TARGET_NLS_DEPENDENCIES)
12*4882a593SmuzhiyunVTE_LICENSE = LGPL-3.0+
13*4882a593SmuzhiyunVTE_LICENSE_FILES = COPYING.LGPL3
14*4882a593SmuzhiyunVTE_INSTALL_STAGING = YES
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_ICU),y)
17*4882a593SmuzhiyunVTE_CONF_OPTS += -Dicu=true
18*4882a593SmuzhiyunVTE_DEPENDENCIES += icu
19*4882a593Smuzhiyunelse
20*4882a593SmuzhiyunVTE_CONF_OPTS += -Dicu=false
21*4882a593Smuzhiyunendif
22*4882a593Smuzhiyun
23*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
24*4882a593SmuzhiyunVTE_CONF_OPTS += -Dgir=true -Dvapi=true
25*4882a593SmuzhiyunVTE_DEPENDENCIES += host-vala gobject-introspection
26*4882a593Smuzhiyunelse
27*4882a593SmuzhiyunVTE_CONF_OPTS += -Dgir=false -Dvapi=false
28*4882a593Smuzhiyunendif
29*4882a593Smuzhiyun
30*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_GNUTLS),y)
31*4882a593SmuzhiyunVTE_CONF_OPTS += -Dgnutls=true
32*4882a593SmuzhiyunVTE_DEPENDENCIES += gnutls
33*4882a593Smuzhiyunelse
34*4882a593SmuzhiyunVTE_CONF_OPTS += -Dgnutls=false
35*4882a593Smuzhiyunendif
36*4882a593Smuzhiyun
37*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LIBFRIBIDI),y)
38*4882a593SmuzhiyunVTE_CONF_OPTS += -Dfribidi=true
39*4882a593SmuzhiyunVTE_DEPENDENCIES += libfribidi
40*4882a593Smuzhiyunelse
41*4882a593SmuzhiyunVTE_CONF_OPTS += -Dfribidi=false
42*4882a593Smuzhiyunendif
43*4882a593Smuzhiyun
44*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_SYSTEMD),y)
45*4882a593SmuzhiyunVTE_CONF_OPTS += -D_systemd=true
46*4882a593SmuzhiyunVTE_DEPENDENCIES += systemd
47*4882a593Smuzhiyunelse
48*4882a593SmuzhiyunVTE_CONF_OPTS += -D_systemd=false
49*4882a593Smuzhiyunendif
50*4882a593Smuzhiyun
51*4882a593Smuzhiyun$(eval $(meson-package))
52