summaryrefslogtreecommitdiff
path: root/recipes/vte/vte_0.21.5.bb
blob: eca9740988c390cc72fd9c8ba2ea5a89fe1c762f (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
30
31
32
DESCRIPTION = "vte is a virtual terminal emulator"
LICENSE = "LGPL"
DEPENDS += "glib-2.0 gtk+ intltool-native ncurses"

inherit gnome

SRC_URI += " \
            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_configure_prepend() {
	sed -i -e s:docs::g ${S}/Makefile.am
	echo "EXTRA_DIST = version.xml" > gtk-doc.make
}

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"

SRC_URI[archive.md5sum] = "9b4d97dfc40e4f77b7ecf2e9e89da368"
SRC_URI[archive.sha256sum] = "0044b7226e06752f8eefe61dce5cd84e7915bf1756b200c198eff8b7c379e2f6"