[oe-commits] Thomas Zimmermann : Update ePDFView to 0.1.7 and add icon
git version control
git at git.openembedded.org
Sun Aug 9 18:51:22 UTC 2009
Module: openembedded.git
Branch: shr/import
Commit: ab64018b0bb400fb8d49d81a7e67588c77ff15b2
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ab64018b0bb400fb8d49d81a7e67588c77ff15b2
Author: Thomas Zimmermann <thomas at tomboy.(none)>
Date: Sun Aug 9 17:41:06 2009 +0000
Update ePDFView to 0.1.7 and add icon
---
recipes/epdfview/epdfview_0.1.7.bb | 24 ++++++++++++++++++++++++
recipes/epdfview/epdfview_svn.bb | 33 +++++++++++++++++++++++++++++++++
recipes/epdfview/files/acroread.png | Bin 0 -> 7670 bytes
3 files changed, 57 insertions(+), 0 deletions(-)
diff --git a/recipes/epdfview/epdfview_0.1.7.bb b/recipes/epdfview/epdfview_0.1.7.bb
new file mode 100644
index 0000000..37d3cdd
--- /dev/null
+++ b/recipes/epdfview/epdfview_0.1.7.bb
@@ -0,0 +1,24 @@
+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"
+PR = "r8"
+
+SRC_URI = "http://www.emma-soft.com/projects/epdfview/chrome/site/releases/epdfview-${PV}.tar.bz2 \
+ file://acroread.png\
+ "
+
+inherit autotools
+
+
+do_compile_append () {
+ sed -i 's/Icon=.*/Icon=acroread/' data/epdfview.desktop
+}
+
+do_install_append () {
+ install -d ${D}${datadir}/pixmaps/
+ install -m 0644 ${WORKDIR}/acroread.png ${D}${datadir}/pixmaps/
+}
+
+FILES_${PN} += "${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 0000000..7811289
--- /dev/null
+++ b/recipes/epdfview/epdfview_svn.bb
@@ -0,0 +1,33 @@
+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"
+
+SRCREV = "${AUTOREV}"
+
+PV = "0.1.7+svnr${SRCREV}"
+PR = "r0"
+
+SRC_URI = "svn://svn.emma-soft.com/epdfview;module=trunk;proto=svn\
+ file://acroread.png\
+ "
+
+S = "${WORKDIR}/trunk"
+
+inherit autotools
+
+do_configure_prepend() {
+ sh autogen.sh
+}
+
+do_compile_append () {
+ sed -i 's/Icon=.*/Icon=acroread/' data/epdfview.desktop
+}
+
+do_install_append () {
+ install -d ${D}${datadir}/pixmaps/
+ install -m 0644 ${WORKDIR}/acroread.png ${D}${datadir}/pixmaps/
+}
+
+FILES_${PN} += "${datadir}/pixmaps/acroread.png"
diff --git a/recipes/epdfview/files/acroread.png b/recipes/epdfview/files/acroread.png
new file mode 100644
index 0000000..0189fe3
Binary files /dev/null and b/recipes/epdfview/files/acroread.png differ
More information about the Openembedded-commits
mailing list