summaryrefslogtreecommitdiff
path: root/recipes/epdfview/epdfview_0.1.7.bb
blob: 36b7dec84a3f75cfa2504df45902e5ae305ab958 (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
DESCRIPTION = "A minimal PDF viewer based on gtk and poppler"
HOMEPAGE = "http://www.emma-soft.com/projects/epdfview/"
LICENSE = "GPLv2"
SECTION = "x11/applications"
DEPENDS = "poppler gtk+ cups"

SRC_URI = "http://www.emma-soft.com/projects/epdfview/chrome/site/releases/epdfview-${PV}.tar.bz2 \
          "

SRC_URI_append_shr = "file://acroread.png \
                     "

inherit autotools

do_compile_append () {
	sed -i 's|\$.*prefix./|/usr/|' data/epdfview.desktop
}

do_compile_append_shr () {
	sed -i 's/Icon=.*/Icon=acroread/' data/epdfview.desktop
}

do_install_append_shr () {
	install -d ${D}${datadir}/pixmaps/
	install -m 0644 ${WORKDIR}/acroread.png ${D}${datadir}/pixmaps/
}

FILES_${PN}_append_shr = "${datadir}/pixmaps/acroread.png"
SRC_URI[md5sum] = "1919bb19c16ef0a97d48b0a8303d3c7b"
SRC_URI[sha256sum] = "0afbb0f348d4ba916cf58da48b4749b7cca6a9038136b27dc652161913704ae8"