[arch-commits] Commit in ocrfeeder/trunk (PKGBUILD ocrfeeder.appdata.xml)
Balló György
bgyorgy at archlinux.org
Thu Dec 27 20:48:58 UTC 2018
Date: Thursday, December 27, 2018 @ 20:48:56
Author: bgyorgy
Revision: 418557
upgpkg: ocrfeeder 0.8.1-4
Add AppStream metadata
Added:
ocrfeeder/trunk/ocrfeeder.appdata.xml
Modified:
ocrfeeder/trunk/PKGBUILD
-----------------------+
PKGBUILD | 12 +++++++-----
ocrfeeder.appdata.xml | 30 ++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-27 20:48:34 UTC (rev 418556)
+++ PKGBUILD 2018-12-27 20:48:56 UTC (rev 418557)
@@ -2,7 +2,7 @@
pkgname=ocrfeeder
pkgver=0.8.1
-pkgrel=3
+pkgrel=4
pkgdesc="GTK+ document layout analysis and optical character recognition application"
arch=('any')
url="https://wiki.gnome.org/Apps/OCRFeeder"
@@ -15,8 +15,10 @@
'ocrad: character recognition'
'gocr: character recognition'
'cuneiform: character recognition')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('5816401c9b4bfce98fd9a7b649a3c7ecc3d6968a30f0e4d1b3677d172d55253b')
+source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+ ocrfeeder.appdata.xml)
+sha256sums=('5816401c9b4bfce98fd9a7b649a3c7ecc3d6968a30f0e4d1b3677d172d55253b'
+ '4513fe7200e8f9b31017d76ffc679e8d92b0c40f0846fb1be20499f0efb6e4a7')
prepare() {
cd $pkgname-$pkgver
@@ -35,6 +37,6 @@
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
- mkdir -p "$pkgdir/usr/share/pixmaps"
- ln -s ../ocrfeeder/icons/ocrfeeder.svg "$pkgdir/usr/share/pixmaps/ocrfeeder.svg"
+ install -Dm644 resources/icons/ocrfeeder.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/ocrfeeder.svg"
+ install -Dm644 ../ocrfeeder.appdata.xml "$pkgdir/usr/share/metainfo/ocrfeeder.appdata.xml"
}
Added: ocrfeeder.appdata.xml
===================================================================
--- ocrfeeder.appdata.xml (rev 0)
+++ ocrfeeder.appdata.xml 2018-12-27 20:48:56 UTC (rev 418557)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+ <id>org.gnome.ocrfeeder</id>
+ <launchable type="desktop-id">ocrfeeder.desktop</launchable>
+ <name>OCRFeeder</name>
+ <summary>The complete OCR suite</summary>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-3.0+</project_license>
+ <developer_name>Joaquim Rocha</developer_name>
+ <description>
+ <p>OCRFeeder is a document layout analysis and optical character recognition system.</p>
+ <p>Given the images it will automatically outline its contents, distinguish between what's graphics and text and perform OCR over the latter. It generates multiple formats being its main one ODT.</p>
+ <p>It features a complete GTK graphical user interface that allows the users to correct any unrecognized characters, defined or correct bounding boxes, set paragraph styles, clean the input images, import PDFs, save and load the project, export everything to multiple formats, etc.</p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://wiki.gnome.org/Apps/OCRFeeder?action=AttachFile&do=get&target=ocrfeeder.jpeg</image>
+ </screenshot>
+ <screenshot>
+ <image>https://wiki.gnome.org/Apps/OCRFeeder?action=AttachFile&do=get&target=ocrfeeder_unpaper.jpeg</image>
+ </screenshot>
+ <screenshot>
+ <image>https://wiki.gnome.org/Apps/OCRFeeder?action=AttachFile&do=get&target=ocrfeeder_spellchecker.png</image>
+ </screenshot>
+ </screenshots>
+ <url type="bugtracker">https://gitlab.gnome.org/GNOME/ocrfeeder/issues/</url>
+ <url type="homepage">https://wiki.gnome.org/Apps/OCRFeeder</url>
+ <update_contact>me at joaquimrocha.com</update_contact>
+ <translation type="gettext">ocrfeeder</translation>
+</component>
More information about the arch-commits
mailing list