aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Ferguson <thoughtmonster@gmail.com>2010-10-30 21:42:42 +0300
committerKristoffer Ericson <kristoffer.ericson@gmail.com>2010-11-03 16:51:54 +0100
commit9660ed039a775334d49f696d46b65fc338ae4382 (patch)
treed5a7fe8f82459c3ed36496bf23cf870b082b7a14
parent9952e0bc74c7001e90cd678127a7ce3379ff587f (diff)
downloadopenembedded-9660ed039a775334d49f696d46b65fc338ae4382.tar.gz
openembedded-9660ed039a775334d49f696d46b65fc338ae4382.tar.bz2
openembedded-9660ed039a775334d49f696d46b65fc338ae4382.zip
mupdf: Add custom desktop file for Jlime.
* Added mupdf.desktop * Modified mupdf-0.6 recipe for mupdf.desktop. Signed-off-by: Alex Ferguson <thoughtmonster@gmail.com> Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
-rw-r--r--recipes/mupdf/files/mupdf.desktop11
-rw-r--r--recipes/mupdf/mupdf_0.6.bb6
2 files changed, 16 insertions, 1 deletions
diff --git a/recipes/mupdf/files/mupdf.desktop b/recipes/mupdf/files/mupdf.desktop
new file mode 100644
index 0000000000..60667e222a
--- /dev/null
+++ b/recipes/mupdf/files/mupdf.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=MuPDF
+GenericName=PDF File Viewer
+Comment=PDF File Viewer
+Exec=mupdf-loader
+Icon=mupdf.png
+Terminal=false
+Type=Application
+MimeType=application/pdf;pplication/x-pdf;
+Categories=Viewer;Graphics;
diff --git a/recipes/mupdf/mupdf_0.6.bb b/recipes/mupdf/mupdf_0.6.bb
index 88e7868fca..31d4ed2856 100644
--- a/recipes/mupdf/mupdf_0.6.bb
+++ b/recipes/mupdf/mupdf_0.6.bb
@@ -10,7 +10,7 @@ SRC_URI = "http://mupdf.com/download/source/${PN}-${PV}.tar.gz \
file://mupdf_fix_endianness.patch \
file://Makerules"
-SRC_URI_append_jlime = " file://keybindings.patch "
+SRC_URI_append_jlime = " file://keybindings.patch file://mupdf.desktop "
S = "${WORKDIR}/mupdf"
@@ -36,6 +36,10 @@ do_configure() {
echo "CFLAGS += -DNOCJK" >> ${S}/Makerules
}
+do_configure_append_jlime() {
+ mv ${WORKDIR}/mupdf.desktop ${S}/debian/
+}
+
do_compile() {
# mupdf uses couple of tools for code generation during build process
# so we need to compile them first with host compiler