summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Alvarez2016-09-30 01:16:08 +0200
committerGustavo Alvarez2016-09-30 01:16:48 +0200
commite7aa07c61eb02c64bf2f33bef0e79fc1317747a4 (patch)
treea38adb3510779023c60e7cc8f8fe626f536f0872
parent74a2e7cd7d7a3daeb747770f89207df24bdb2970 (diff)
downloadaur-e7aa07c61eb02c64bf2f33bef0e79fc1317747a4.tar.gz
Update to 2.0
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD24
-rw-r--r--qtesseract5.svgzbin0 -> 127823 bytes
3 files changed, 24 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b4cbc08f26f..62d8e4ca627 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Jun 7 13:59:37 UTC 2016
+# Thu Sep 29 23:15:54 UTC 2016
pkgbase = qtesseract5
pkgdesc = Convert the SUB/IDX subtiltes to SRT file
- pkgver = 1.2
- pkgrel = 2
+ pkgver = 2.0
+ pkgrel = 1
url = https://forum.ubuntu-fr.org/viewtopic.php?pid=21507283
arch = any
license = GPL3
@@ -12,9 +12,12 @@ pkgbase = qtesseract5
depends = python-pyqt5
depends = hicolor-icon-theme
depends = tesseract
- depends = ogmrip
- source = https://launchpad.net/~hizo/+archive/ubuntu/mkv-extractor-gui/+files/qtesseract5_1.2.orig.tar.gz
- sha1sums = 49d352c12ab9b1739dfa627999f8339bca327f5e
+ depends = xdg-utils
+ optdepends = ogmrip
+ source = https://launchpad.net/~hizo/+archive/ubuntu/mkv-extractor-gui/+files/qtesseract5_2.0.orig.tar.gz
+ source = qtesseract5.svgz
+ sha256sums = fa9ec51e50c8c50367b305178e04fbb27dd2cac8abb8665a2666cfe7bc3b0fea
+ sha256sums = 968b76c98b03234eaa306e2fa689ed7f1a81b02edf4c5717de196c16f449c596
pkgname = qtesseract5
diff --git a/PKGBUILD b/PKGBUILD
index ed85eb6a9c7..804d78db339 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
pkgname=qtesseract5
-pkgver=1.2
-pkgrel=2
+pkgver=2.0
+pkgrel=1
pkgdesc="Convert the SUB/IDX subtiltes to SRT file"
arch=('any')
url='https://forum.ubuntu-fr.org/viewtopic.php?pid=21507283'
@@ -10,16 +10,20 @@ license=('GPL3')
depends=('python-pyqt5'
'hicolor-icon-theme'
'tesseract'
- 'ogmrip'
+ 'xdg-utils'
)
makedepends=('qt5-tools'
'imagemagick'
)
-source=("https://launchpad.net/~hizo/+archive/ubuntu/mkv-extractor-gui/+files/qtesseract5_${pkgver}.orig.tar.gz")
-sha1sums=('49d352c12ab9b1739dfa627999f8339bca327f5e')
+optdepends=('ogmrip')
+source=("https://launchpad.net/~hizo/+archive/ubuntu/mkv-extractor-gui/+files/qtesseract5_${pkgver}.orig.tar.gz"
+ 'qtesseract5.svgz'
+ )
+sha256sums=('fa9ec51e50c8c50367b305178e04fbb27dd2cac8abb8665a2666cfe7bc3b0fea'
+ '968b76c98b03234eaa306e2fa689ed7f1a81b02edf4c5717de196c16f449c596'
+ )
prepare() {
- cd qtesseract5
sed -e 's|/usr/lib/x86_64-linux-gnu/qt5/bin/lrelease|/usr/bin/lrelease-qt5|g' \
-e 's|/usr/lib/i386-linux-gnu/qt5/bin/lrelease|/usr/bin/lrelease-qt5|g' \
-i build.sh
@@ -32,7 +36,6 @@ prepare() {
}
build() {
- cd qtesseract5
make
}
@@ -40,12 +43,15 @@ package() {
install -d "${pkgdir}/usr/bin"
ln -s /usr/share/qtesseract5/Qtesseract5.py "${pkgdir}/usr/bin/qtesseract5"
- cd qtesseract5
install -Dm755 Qtesseract5.py "${pkgdir}/usr/share/qtesseract5/Qtesseract5.py"
install -Dm644 Qtesseract5Ressources_rc.py "${pkgdir}/usr/share/qtesseract5/Qtesseract5Ressources_rc.py"
+ install -Dm644 langcodes.py "${pkgdir}/usr/share/qtesseract5/langcodes.py"
+ install -Dm644 Qtesseract5_en_EN.qm "${pkgdir}/usr/share/qtesseract5/Qtesseract5_en_EN.qm"
install -Dm644 Qtesseract5_fr_FR.qm "${pkgdir}/usr/share/qtesseract5/Qtesseract5_fr_FR.qm"
+ install -Dm644 WhatsUp/WhatsUp.py "${pkgdir}/usr/share/qtesseract5/WhatsUp/WhatsUp.py"
install -Dm644 man/qtesseract5.1 "${pkgdir}/usr/share/man/man1/qtesseract5.1"
+ install -Dm644 qtesseract5.desktop "${pkgdir}/usr/share/applications/qtesseract5.desktop"
- install -Dm644 icons/scalable/apps/qtesseract5.svgz "${pkgdir}/usr/share/icons/hicolor/scalable/apps/qtesseract5.svgz"
+ install -Dm644 "${srcdir}/qtesseract5.svgz" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/qtesseract5.svgz"
}
diff --git a/qtesseract5.svgz b/qtesseract5.svgz
new file mode 100644
index 00000000000..1cbab7c32f3
--- /dev/null
+++ b/qtesseract5.svgz
Binary files differ