Skip to content

Commit ee3da07

Browse files
authored
Add appstream metainfo file + screenshot (#1462)
* Add io.ocrmypdf.ocrmypdf.metainfo.xml * Create sample_screenshot.png * Better screenshot * Add screenshot to metainfo * Move into /misc/flatpak * Add screenshot URL * Add icon and categories to metainfo * Use installed icon instead of remote * Add keywords to metainfo, change summary closer to Flathub Guildelines
1 parent 45043f6 commit ee3da07

2 files changed

Lines changed: 63 additions & 0 deletions

File tree

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<component type="console-application">
3+
<id>io.ocrmypdf.ocrmypdf</id>
4+
5+
<name>OCRmyPDF</name>
6+
<summary>Adds an OCR text layer to scanned PDF files, allowing them to be searched</summary>
7+
8+
<developer id="io.ocrmypdf">
9+
<name>OCRmyPDF Developers</name>
10+
</developer>
11+
12+
<url type="homepage">https://github.com/ocrmypdf/ocrmypdf</url>
13+
<url type="bugtracker">https://github.com/ocrmypdf/OCRmyPDF/issues</url>
14+
15+
<content_rating type="oars-1.1" />
16+
17+
<metadata_license>CC0-1.0</metadata_license>
18+
<project_license>MPL-2.0</project_license>
19+
20+
<description>
21+
<ul>
22+
<li>Generates a searchable PDF/A file from a regular PDF</li>
23+
<li>Places OCR text accurately below the image to ease copy / paste</li>
24+
<li>Keeps the exact resolution of the original embedded images</li>
25+
<li>When possible, inserts OCR information as a lossless operation without disrupting any other content</li>
26+
<li>Optimizes PDF images, often producing files smaller than the input file If requested, deskews and/or cleans the image before performing OCR</li>
27+
<li>Validates input and output files</li>
28+
<li>Distributes work across all available CPU cores</li>
29+
<li>Uses Tesseract OCR engine to recognize more than 100 languages</li>
30+
<li>Keeps your private data private</li>
31+
<li>Scales properly to handle files with thousands of pages</li>
32+
<li>Battle-tested on millions of PDFs</li>
33+
</ul>
34+
</description>
35+
36+
<provides>
37+
<binary>ocrmypdf</binary>
38+
</provides>
39+
40+
<icon type="stock">io.ocrmypdf.ocrmypdf</icon>
41+
42+
<screenshots>
43+
<screenshot type="default">
44+
<image>https://raw.githubusercontent.com/ocrmypdf/OCRmyPDF/f7ad5f16bd0340b0b1803dada0c02f9f40542bd8/misc/flatpak/sample_screenshot.png</image>
45+
<caption>Sample usage of OCRmyPDF</caption>
46+
</screenshot>
47+
</screenshots>
48+
49+
<categories>
50+
<category>Office</category>
51+
<category>Utility</category>
52+
</categories>
53+
54+
<keywords>
55+
<keyword>ocr</keyword>
56+
<keyword>pdf</keyword>
57+
<keyword>tool</keyword>
58+
</keywords>
59+
60+
<releases>
61+
<release version="16.8.0" date="2025-01-05"/>
62+
</releases>
63+
</component>

misc/flatpak/sample_screenshot.png

166 KB
Loading

0 commit comments

Comments
 (0)