mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 02:45:38 +00:00
add metadata for kimgio, mobipocket, ooo, plucker, poppler, spectre, txt, xps
REVIEW:129347 BUG:363842
This commit is contained in:
parent
66cba6e293
commit
4b7455396e
|
@ -18,3 +18,4 @@ target_compile_definitions(kimgiotest PRIVATE -DGENERATOR_PATH="$<TARGET_FILE:ok
|
|||
########### install files ###############
|
||||
install( FILES okularKimgio.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
|
||||
install( PROGRAMS okularApplication_kimgio.desktop org.kde.mobile.okular_kimgio.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|
||||
install( FILES org.kde.okular-kimgio.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
|
||||
|
|
36
generators/kimgio/org.kde.okular-kimgio.metainfo.xml
Normal file
36
generators/kimgio/org.kde.okular-kimgio.metainfo.xml
Normal file
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="addon">
|
||||
<id>org.kde.okular-kimgio</id>
|
||||
<extends>org.kde.okular.desktop</extends>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-2.0+ and GFDL-1.3</project_license>
|
||||
<name>Images</name>
|
||||
<summary>Adds support for reading many image formats</summary>
|
||||
<mimetypes>
|
||||
<mimetype>image/bmp</mimetype>
|
||||
<mimetype>image/x-dds</mimetype>
|
||||
<mimetype>image/x-eps</mimetype>
|
||||
<mimetype>image/x-exr</mimetype>
|
||||
<mimetype>image/gif</mimetype>
|
||||
<mimetype>image/x-hdr</mimetype>
|
||||
<mimetype>image/x-ico</mimetype>
|
||||
<mimetype>image/jp2</mimetype>
|
||||
<mimetype>image/jpeg</mimetype>
|
||||
<mimetype>video/x-mng</mimetype>
|
||||
<mimetype>image/x-portable-bitmap</mimetype>
|
||||
<mimetype>image/x-pcx</mimetype>
|
||||
<mimetype>image/x-portable-graymap</mimetype>
|
||||
<mimetype>image/png</mimetype>
|
||||
<mimetype>image/x-portable-pixmap</mimetype>
|
||||
<mimetype>image/x-psd</mimetype>
|
||||
<mimetype>image/x-rgb</mimetype>
|
||||
<mimetype>image/x-tga</mimetype>
|
||||
<mimetype>image/tiff</mimetype>
|
||||
<mimetype>image/x-xbitmap</mimetype>
|
||||
<mimetype>image/x-xcf</mimetype>
|
||||
<mimetype>image/x-xpixmap</mimetype>
|
||||
<mimetype>image/x-gzeps</mimetype>
|
||||
<mimetype>image/x-bzeps</mimetype>
|
||||
</mimetypes>
|
||||
<url type="homepage">https://okular.kde.org</url>
|
||||
</component>
|
|
@ -13,3 +13,4 @@ target_link_libraries(okularGenerator_mobi okularcore qmobipocket KF5::I18n Qt5:
|
|||
########### install files ###############
|
||||
install( FILES okularMobi.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
|
||||
install( PROGRAMS okularApplication_mobi.desktop org.kde.mobile.okular_mobi.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|
||||
install( FILES org.kde.okular-mobipocket.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
|
||||
|
|
36
generators/mobipocket/org.kde.okular-mobipocket.metainfo.xml
Normal file
36
generators/mobipocket/org.kde.okular-mobipocket.metainfo.xml
Normal file
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="addon">
|
||||
<id>org.kde.okular-mobipocket</id>
|
||||
<extends>org.kde.okular.desktop</extends>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-2.0+ and GFDL-1.3</project_license>
|
||||
<name>Mobipocket</name>
|
||||
<summary>Adds support for reading Mobipocket E-books</summary>
|
||||
<mimetypes>
|
||||
<mimetype>image/bmp</mimetype>
|
||||
<mimetype>image/x-dds</mimetype>
|
||||
<mimetype>image/x-eps</mimetype>
|
||||
<mimetype>image/x-exr</mimetype>
|
||||
<mimetype>image/gif</mimetype>
|
||||
<mimetype>image/x-hdr</mimetype>
|
||||
<mimetype>image/x-ico</mimetype>
|
||||
<mimetype>image/jp2</mimetype>
|
||||
<mimetype>image/jpeg</mimetype>
|
||||
<mimetype>video/x-mng</mimetype>
|
||||
<mimetype>image/x-portable-bitmap</mimetype>
|
||||
<mimetype>image/x-pcx</mimetype>
|
||||
<mimetype>image/x-portable-graymap</mimetype>
|
||||
<mimetype>image/png</mimetype>
|
||||
<mimetype>image/x-portable-pixmap</mimetype>
|
||||
<mimetype>image/x-psd</mimetype>
|
||||
<mimetype>image/x-rgb</mimetype>
|
||||
<mimetype>image/x-tga</mimetype>
|
||||
<mimetype>image/tiff</mimetype>
|
||||
<mimetype>image/x-xbitmap</mimetype>
|
||||
<mimetype>image/x-xcf</mimetype>
|
||||
<mimetype>image/x-xpixmap</mimetype>
|
||||
<mimetype>image/x-gzeps</mimetype>
|
||||
<mimetype>image/x-bzeps</mimetype>
|
||||
</mimetypes>
|
||||
<url type="homepage">https://okular.kde.org</url>
|
||||
</component>
|
|
@ -34,4 +34,4 @@ endif ()
|
|||
########### install files ###############
|
||||
install( FILES okularOoo.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
|
||||
install( PROGRAMS okularApplication_ooo.desktop org.kde.mobile.okular_ooo.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|
||||
|
||||
install( FILES org.kde.okular-ooo.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
|
||||
|
|
13
generators/ooo/org.kde.okular-ooo.metainfo.xml
Normal file
13
generators/ooo/org.kde.okular-ooo.metainfo.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="addon">
|
||||
<id>org.kde.okular-ooo</id>
|
||||
<extends>org.kde.okular.desktop</extends>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-2.0+ and GFDL-1.3</project_license>
|
||||
<name>OpenDocument</name>
|
||||
<summary>Adds support for reading opendocument text files</summary>
|
||||
<mimetypes>
|
||||
<mimetype>application/vnd.oasis.opendocument.text</mimetype>
|
||||
</mimetypes>
|
||||
<url type="homepage">https://okular.kde.org</url>
|
||||
</component>
|
|
@ -26,3 +26,4 @@ target_link_libraries(okularGenerator_plucker okularcore KF5::KIOCore KF5::I18n
|
|||
########### install files ###############
|
||||
install( FILES okularPlucker.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
|
||||
install( PROGRAMS okularApplication_plucker.desktop org.kde.mobile.okular_plucker.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|
||||
install( FILES org.kde.okular-plucker.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
|
||||
|
|
13
generators/plucker/org.kde.okular-plucker.metainfo.xml
Normal file
13
generators/plucker/org.kde.okular-plucker.metainfo.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="addon">
|
||||
<id>org.kde.okular-plucker</id>
|
||||
<extends>org.kde.okular.desktop</extends>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-2.0+ and GFDL-1.3</project_license>
|
||||
<name>Plucker</name>
|
||||
<summary>Adds support for reading plucker documents</summary>
|
||||
<mimetypes>
|
||||
<mimetype>application/prs.plucker</mimetype>
|
||||
</mimetypes>
|
||||
<url type="homepage">https://okular.kde.org</url>
|
||||
</component>
|
|
@ -46,4 +46,4 @@ target_link_libraries(okularGenerator_poppler okularcore KF5::I18n KF5::Completi
|
|||
########### install files ###############
|
||||
install( FILES okularPoppler.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
|
||||
install( PROGRAMS okularApplication_pdf.desktop org.kde.mobile.okular_pdf.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|
||||
|
||||
install( FILES org.kde.okular-poppler.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
|
||||
|
|
16
generators/poppler/org.kde.okular-poppler.metainfo.xml
Normal file
16
generators/poppler/org.kde.okular-poppler.metainfo.xml
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="addon">
|
||||
<id>org.kde.okular-poppler</id>
|
||||
<extends>org.kde.okular.desktop</extends>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-2.0+ and GFDL-1.3</project_license>
|
||||
<name>PDF</name>
|
||||
<summary>Adds support for reading PDF documents</summary>
|
||||
<mimetypes>
|
||||
<mimetype>application/pdf</mimetype>
|
||||
<mimetype>application/x-gzpdf</mimetype>
|
||||
<mimetype>application/x-bzpdf</mimetype>
|
||||
<mimetype>application/x-wwf</mimetype>
|
||||
</mimetypes>
|
||||
<url type="homepage">https://okular.kde.org</url>
|
||||
</component>
|
|
@ -30,3 +30,4 @@ target_link_libraries(okularGenerator_ghostview okularcore ${LIBSPECTRE_LIBRARY}
|
|||
install( PROGRAMS okularApplication_ghostview.desktop org.kde.mobile.okular_ghostview.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|
||||
install( FILES okularGhostview.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
|
||||
ecm_install_icons(ICONS 16-apps-okular-gv.png 32-apps-okular-gv.png DESTINATION ${KDE_INSTALL_DATADIR}/okular/icons)
|
||||
install( FILES org.kde.okular-spectre.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
|
||||
|
|
18
generators/spectre/org.kde.okular-spectre.metainfo.xml
Normal file
18
generators/spectre/org.kde.okular-spectre.metainfo.xml
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="addon">
|
||||
<id>org.kde.okular-spectre</id>
|
||||
<extends>org.kde.okular.desktop</extends>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-2.0+ and GFDL-1.3</project_license>
|
||||
<name>PostScript</name>
|
||||
<summary>Adds support for reading PostScript documents</summary>
|
||||
<mimetypes>
|
||||
<mimetype>application/postscript</mimetype>
|
||||
<mimetype>image/x-eps</mimetype>
|
||||
<mimetype>application/x-gzpostscript</mimetype>
|
||||
<mimetype>application/x-bzpostscript</mimetype>
|
||||
<mimetype>image/x-gzeps</mimetype>
|
||||
<mimetype>image/x-bzepsapplication/pdf</mimetype>
|
||||
</mimetypes>
|
||||
<url type="homepage">https://okular.kde.org</url>
|
||||
</component>
|
|
@ -16,3 +16,4 @@ target_link_libraries(okularGenerator_tiff okularcore ${TIFF_LIBRARIES} KF5::I18
|
|||
########### install files ###############
|
||||
install( FILES okularTiff.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
|
||||
install( PROGRAMS okularApplication_tiff.desktop org.kde.mobile.okular_tiff.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|
||||
install( FILES org.kde.okular-tiff.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
|
||||
|
|
13
generators/tiff/org.kde.okular-tiff.metainfo.xml
Normal file
13
generators/tiff/org.kde.okular-tiff.metainfo.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="addon">
|
||||
<id>org.kde.okular-tiff</id>
|
||||
<extends>org.kde.okular.desktop</extends>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-2.0+ and GFDL-1.3</project_license>
|
||||
<name>Tiff</name>
|
||||
<summary>Adds support for reading Tiff documents</summary>
|
||||
<mimetypes>
|
||||
<mimetype>image/tiff</mimetype>
|
||||
</mimetypes>
|
||||
<url type="homepage">https://okular.kde.org</url>
|
||||
</component>
|
|
@ -18,3 +18,4 @@ target_link_libraries(okularGenerator_txt okularcore Qt5::Core KF5::I18n)
|
|||
########### install files ###############
|
||||
install( FILES okularTxt.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
|
||||
install( PROGRAMS okularApplication_txt.desktop org.kde.mobile.okular_txt.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|
||||
install( FILES org.kde.okular-txt.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
|
||||
|
|
13
generators/txt/org.kde.okular-txt.metainfo.xml
Normal file
13
generators/txt/org.kde.okular-txt.metainfo.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="addon">
|
||||
<id>org.kde.okular-txt</id>
|
||||
<extends>org.kde.okular.desktop</extends>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-2.0+ and GFDL-1.3</project_license>
|
||||
<name>Text</name>
|
||||
<summary>Adds support for reading plain text documents</summary>
|
||||
<mimetypes>
|
||||
<mimetype>text/plain</mimetype>
|
||||
</mimetypes>
|
||||
<url type="homepage">https://okular.kde.org</url>
|
||||
</component>
|
|
@ -16,4 +16,4 @@ target_link_libraries(okularGenerator_xps okularcore KF5::Archive KF5::I18n KF5:
|
|||
########### install files ###############
|
||||
install( FILES okularXps.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
|
||||
install( PROGRAMS okularApplication_xps.desktop org.kde.mobile.okular_xps.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|
||||
|
||||
install( FILES org.kde.okular-xps.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
|
||||
|
|
13
generators/xps/org.kde.okular-xps.metainfo.xml
Normal file
13
generators/xps/org.kde.okular-xps.metainfo.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="addon">
|
||||
<id>org.kde.okular-xps</id>
|
||||
<extends>org.kde.okular.desktop</extends>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-2.0+ and GFDL-1.3</project_license>
|
||||
<name>XPS</name>
|
||||
<summary>Adds support for reading XPS documents</summary>
|
||||
<mimetypes>
|
||||
<mimetype>text/plain</mimetype>
|
||||
</mimetypes>
|
||||
<url type="homepage">https://okular.kde.org</url>
|
||||
</component>
|
Loading…
Reference in a new issue