diff options
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/lumina-textedit.desktop | 10 | ||||
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/lumina-textedit.pro | 6 |
2 files changed, 14 insertions, 2 deletions
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 } - |