aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/vte/vte.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/vte/vte.inc')
-rw-r--r--recipes/vte/vte.inc29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/vte/vte.inc b/recipes/vte/vte.inc
new file mode 100644
index 0000000000..08642287d5
--- /dev/null
+++ b/recipes/vte/vte.inc
@@ -0,0 +1,29 @@
+DESCRIPTION = "vte is a virtual terminal emulator"
+LICENSE = "LGPL"
+DEPENDS += "glib-2.0 gtk+ intltool-native ncurses"
+
+inherit gnome
+
+SRC_URI += "\
+ file://vte-pkgconfig-fixes.patch;patch=1 \
+ file://vte.desktop.in \
+"
+
+EXTRA_OECONF = "--disable-gtk-doc --disable-python"
+
+# Upstream does not provide desktop file for vte considering it only as
+# a testing utility.
+do_install_append() {
+ mkdir -p ${D}${datadir}/applications
+ sed s/@VERSION@/${PV}/ <${WORKDIR}/vte.desktop.in >${D}${datadir}/applications/vte.desktop
+}
+
+do_stage() {
+ autotools_stage_all
+}
+
+PACKAGES =+ "libvte vte-termcap gnome-pty-helper"
+FILES_libvte = "${libdir}/*.so.*"
+FILES_gnome-pty-helper = "${libexecdir}/gnome-pty-helper"
+RDEPENDS_libvte = "vte-termcap gnome-pty-helper"
+FILES_vte-termcap = "${datadir}/vte/termcap"