diff options
-rw-r--r-- | recipes/mupdf/files/mupdf.desktop | 11 | ||||
-rw-r--r-- | recipes/mupdf/mupdf_0.6.bb | 6 |
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 |