summaryrefslogtreecommitdiff
path: root/recipes/evince/evince_2.28.0.bb
blob: 8a62ef19ae0f1d29366bdb3494664a55c33f3bc1 (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
33
34
35
DESCRIPTION = "Evince is a document viewer for document formats like pdf, ps, djvu."
LICENSE = "GPL"
SECTION = "x11/office"
DEPENDS = "nautilus gnome-icon-theme tiff libxt espgs gnome-doc-utils poppler libxml2 gtk+ gconf libglade gnome-keyring "
RDEPENDS_${PN} = "espgs gnome-icon-theme"

PR = "r2"

inherit gnome pkgconfig gtk-icon-cache

EXTRA_OECONF = "  \
                 --enable-thumbnailer \
                 --enable-nautilus \ 
                 --disable-scrollkeeper \
                 --enable-djvu \
                 --enable-pixbuf \
		 "

do_install_append() {
	sed -i "s/NoDisplay=true//" ${D}${datadir}/applications/evince.desktop
	sed -i "s/;Viewer;/;Viewer;Office;/" ${D}${datadir}/applications/evince.desktop
	install -d install -d ${D}${datadir}/pixmaps
	install -m 0755 ${S}/data/icons/48x48/apps/evince.png ${D}${datadir}/pixmaps/
}

FILES_${PN}-dbg += "${libdir}/evince/1/backends/.debug"

PACKAGES =+ "evince-nautilus-extension"

FILES_evince-nautilus-extension = "${libdir}/nautilus/*/*so"



SRC_URI[archive.md5sum] = "66548bf1467f92924a7230869139adb5"
SRC_URI[archive.sha256sum] = "90b341d5e4be1f37d8f775591a9c209f8216a0c4c3a425dc0f1e0e637980d683"