diff options
-rw-r--r-- | conf/distro/include/sane-srcrevs.inc | 2 | ||||
-rw-r--r-- | recipes/epdfview/epdfview_0.1.7.bb | 15 | ||||
-rw-r--r-- | recipes/epdfview/epdfview_svn.bb | 37 | ||||
-rw-r--r-- | recipes/epdfview/files/acroread.png | bin | 0 -> 7670 bytes |
4 files changed, 52 insertions, 2 deletions
diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc index 22fa976fb2..5a24362db6 100644 --- a/conf/distro/include/sane-srcrevs.inc +++ b/conf/distro/include/sane-srcrevs.inc @@ -66,7 +66,7 @@ SRCREV_pn-elf2flt ?= "1786" SRCREV_pn-elmdentica ?= "171" SRCREV_pn-enlazar ?= "37" SRCREV_pn-enotes ?= "19" -SRCREV_pn-epdfview ?= "345" +SRCREV_pn-epdfview ?= "346" SRCREV_pn-epiphany ?= "7837" SRCREV_pn-essential-dialer ?= "194" SRCREV_pn-etk-theme-neo ?= "1cc80e26a4558dfc2268b349d9a1f468e515bcfb" diff --git a/recipes/epdfview/epdfview_0.1.7.bb b/recipes/epdfview/epdfview_0.1.7.bb index 1cd59f7394..fd1b61f7f5 100644 --- a/recipes/epdfview/epdfview_0.1.7.bb +++ b/recipes/epdfview/epdfview_0.1.7.bb @@ -5,7 +5,10 @@ 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 @@ -13,3 +16,13 @@ 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"
\ No newline at end of file diff --git a/recipes/epdfview/epdfview_svn.bb b/recipes/epdfview/epdfview_svn.bb new file mode 100644 index 0000000000..1c8e9e9453 --- /dev/null +++ b/recipes/epdfview/epdfview_svn.bb @@ -0,0 +1,37 @@ +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" + +PV = "0.1.7+svnr${SRCPV}" +PR = "r0" + +SRC_URI = "svn://svn.emma-soft.com/epdfview;module=trunk;proto=svn \ + " +SRC_URI_append_shr = "file://acroread.png \ + " + +S = "${WORKDIR}/trunk" + +inherit autotools + +do_configure_prepend() { + sh autogen.sh +} + +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 \ + " diff --git a/recipes/epdfview/files/acroread.png b/recipes/epdfview/files/acroread.png Binary files differnew file mode 100644 index 0000000000..0189fe3072 --- /dev/null +++ b/recipes/epdfview/files/acroread.png |