From 9b70ebf59625a9bad6199dbc13a37f3e3778534f Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 25 Apr 2016 14:01:57 -0400 Subject: Add a .desktop entry for lumina-textedit. --- src-qt5/desktop-utils/lumina-textedit/lumina-textedit.desktop | 10 ++++++++++ src-qt5/desktop-utils/lumina-textedit/lumina-textedit.pro | 6 ++++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 src-qt5/desktop-utils/lumina-textedit/lumina-textedit.desktop (limited to 'src-qt5/desktop-utils/lumina-textedit') diff --git a/src-qt5/desktop-utils/lumina-textedit/lumina-textedit.desktop b/src-qt5/desktop-utils/lumina-textedit/lumina-textedit.desktop new file mode 100644 index 00000000..6e806323 --- /dev/null +++ b/src-qt5/desktop-utils/lumina-textedit/lumina-textedit.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Exec=lumina-textedit %F +Icon=document-edit +Terminal=false +Type=Application +StartupNotify=true +Categories=Utility; +MimeType=text/plain;text/x-log; +Name=Lumina Text Editor +Comment=Plaintext editor with syntax highlighting diff --git a/src-qt5/desktop-utils/lumina-textedit/lumina-textedit.pro b/src-qt5/desktop-utils/lumina-textedit/lumina-textedit.pro index 6794af8e..35c74cb4 100644 --- a/src-qt5/desktop-utils/lumina-textedit/lumina-textedit.pro +++ b/src-qt5/desktop-utils/lumina-textedit/lumina-textedit.pro @@ -89,9 +89,11 @@ TRANSLATIONS = i18n/lumina-textedit_af.ts \ dotrans.path=$${L_SHAREDIR}/Lumina-DE/i18n/ dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/Lumina-DE/i18n/ -INSTALLS += target dotrans +desktop.files=lumina-textedit.desktop +desktop.path=$${L_SHAREDIR}/applications/ + +INSTALLS += target dotrans desktop NO_I18N{ INSTALLS -= dotrans } - -- cgit