summaryrefslogtreecommitdiff
path: root/packages/vte/vte.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/vte/vte.inc')
-rw-r--r--packages/vte/vte.inc17
1 files changed, 10 insertions, 7 deletions
diff --git a/packages/vte/vte.inc b/packages/vte/vte.inc
index 9151172c59..dcf25c945d 100644
--- a/packages/vte/vte.inc
+++ b/packages/vte/vte.inc
@@ -1,20 +1,23 @@
DESCRIPTION = "vte is a virtual terminal emulator"
LICENSE = "LGPL"
-DEPENDS += " glib-2.0 gtk+ intltool-native ncurses "
-PR = "r2"
+DEPENDS += "glib-2.0 gtk+ intltool-native ncurses"
inherit gnome
-SRC_URI += "file://vte-pkgconfig-fixes.patch;patch=1"
+SRC_URI += "file://vte-pkgconfig-fixes.patch;patch=1 \
+ file://vte.desktop.in"
EXTRA_OECONF = "--disable-gtk-doc --disable-python"
-do_stage() {
- autotools_stage_all
+# 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
}
PACKAGES =+ "libvte vte-termcap gnome-pty-helper"
-FILES_libvte = "${libdir}/*.so*"
+FILES_libvte = "${libdir}/*.so.*"
FILES_gnome-pty-helper = "${libexecdir}/gnome-pty-helper"
-RDEPENDS_libvte = "vte-termcap"
+RDEPENDS_libvte = "vte-termcap gnome-pty-helper"
FILES_vte-termcap = "${datadir}/vte/termcap"