[PATCH xpdf] Add desktop menu entry
Yaakov Selkowitz
yselkowi@redhat.com
Fri Oct 27 21:00:00 GMT 2017
---
xpdf.cygport | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/xpdf.cygport b/xpdf.cygport
index 7382054..dba7994 100644
--- a/xpdf.cygport
+++ b/xpdf.cygport
@@ -86,4 +86,8 @@ src_install() {
sed -e 's#/usr/local/share/xpdf#/usr/share/xpdf#g' -i ${D}/etc/xpdfrc
make_etc_defaults /etc/xpdfrc
+
+ insinto /usr/share/icons/hicolor/scalable/apps
+ newins ${S}/xpdf-qt/xpdf-icon.svg xpdf.svg
+ make_desktop_entry xpdf XpdfReader xpdf "Viewer;Office" "" "MimeType=application/pdf;application/x-pdf;image/pdf;"
}
--
2.14.3
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list