summaryrefslogtreecommitdiff
path: root/packages/vte/vte.inc
blob: 08642287d52183b4bac7866337c3443a4c6589d0 (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
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"