fix build
This commit is contained in:
10
.SRCINFO
10
.SRCINFO
@@ -1,14 +1,13 @@
|
|||||||
pkgbase = python-manga-ocr
|
pkgbase = python-manga-ocr
|
||||||
pkgdesc = A tool for extracting text from manga images using OCR
|
pkgdesc = A tool for extracting text from manga images using OCR
|
||||||
pkgver = 0.1.14
|
pkgver = 0.1.14
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/kha-white/manga-ocr
|
url = https://github.com/kha-white/manga-ocr
|
||||||
arch = x86_64
|
arch = any
|
||||||
license = Apache-2.0
|
license = Apache-2.0
|
||||||
checkdepends = python-pytest
|
checkdepends = python-pytest
|
||||||
makedepends = python-build
|
makedepends = python-build
|
||||||
makedepends = python-installer
|
makedepends = python-installer
|
||||||
makedepends = python-installer
|
|
||||||
depends = python>=3.6
|
depends = python>=3.6
|
||||||
depends = python-fire
|
depends = python-fire
|
||||||
depends = python-fugashi
|
depends = python-fugashi
|
||||||
@@ -20,11 +19,10 @@ pkgbase = python-manga-ocr
|
|||||||
depends = python-pytorch>=1.0
|
depends = python-pytorch>=1.0
|
||||||
depends = python-transformers>=4.25.0
|
depends = python-transformers>=4.25.0
|
||||||
depends = python-unidic-lite
|
depends = python-unidic-lite
|
||||||
optdepends = python-pytorch: GPU acceleration
|
|
||||||
optdepends = wl-clipboard: Read images from the clipboard in the command-line mode on Wayland
|
optdepends = wl-clipboard: Read images from the clipboard in the command-line mode on Wayland
|
||||||
optdepends = xclip: Read images from the clipbaord in the command-line mode on X11
|
optdepends = xclip: Read images from the clipboard in the command-line mode on X11
|
||||||
conflicts = manga-ocr-git
|
conflicts = manga-ocr-git
|
||||||
source = https://github.com/kha-white/manga_ocr/archive/refs/tags/v0.1.14.tar.gz
|
source = python-manga-ocr-0.1.14.tar.gz::https://github.com/kha-white/manga_ocr/archive/refs/tags/v0.1.14.tar.gz
|
||||||
source = skip-example-run-on-boot.patch
|
source = skip-example-run-on-boot.patch
|
||||||
sha256sums = f7d73bbf482cbefb6f91ff3c628a3131d6c7dc863612539fe5d03a4b7d640643
|
sha256sums = f7d73bbf482cbefb6f91ff3c628a3131d6c7dc863612539fe5d03a4b7d640643
|
||||||
sha256sums = d287a2fbfa71d9753cdfd921ce67bd7bf1fcf1e36dd08fc00c8d142305d4da88
|
sha256sums = d287a2fbfa71d9753cdfd921ce67bd7bf1fcf1e36dd08fc00c8d142305d4da88
|
||||||
|
|||||||
11
PKGBUILD
11
PKGBUILD
@@ -2,12 +2,12 @@
|
|||||||
pkgname=python-manga-ocr
|
pkgname=python-manga-ocr
|
||||||
_pkgname=manga_ocr
|
_pkgname=manga_ocr
|
||||||
pkgver=0.1.14
|
pkgver=0.1.14
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="A tool for extracting text from manga images using OCR"
|
pkgdesc="A tool for extracting text from manga images using OCR"
|
||||||
arch=('x86_64')
|
arch=('any')
|
||||||
url="https://github.com/kha-white/manga-ocr"
|
url="https://github.com/kha-white/manga-ocr"
|
||||||
license=('Apache-2.0')
|
license=('Apache-2.0')
|
||||||
makedepends=('python-build' 'python-installer' 'python-installer')
|
makedepends=('python-build' 'python-installer')
|
||||||
depends=(
|
depends=(
|
||||||
'python>=3.6'
|
'python>=3.6'
|
||||||
'python-fire'
|
'python-fire'
|
||||||
@@ -22,16 +22,15 @@ depends=(
|
|||||||
'python-unidic-lite'
|
'python-unidic-lite'
|
||||||
)
|
)
|
||||||
optdepends=(
|
optdepends=(
|
||||||
'python-pytorch: GPU acceleration'
|
|
||||||
'wl-clipboard: Read images from the clipboard in the command-line mode on Wayland'
|
'wl-clipboard: Read images from the clipboard in the command-line mode on Wayland'
|
||||||
'xclip: Read images from the clipbaord in the command-line mode on X11'
|
'xclip: Read images from the clipboard in the command-line mode on X11'
|
||||||
)
|
)
|
||||||
checkdepends=('python-pytest')
|
checkdepends=('python-pytest')
|
||||||
|
|
||||||
conflicts=('manga-ocr-git')
|
conflicts=('manga-ocr-git')
|
||||||
|
|
||||||
source=(
|
source=(
|
||||||
"https://github.com/kha-white/manga_ocr/archive/refs/tags/v${pkgver}.tar.gz"
|
"${pkgname}-${pkgver}.tar.gz::https://github.com/kha-white/manga_ocr/archive/refs/tags/v${pkgver}.tar.gz"
|
||||||
"skip-example-run-on-boot.patch"
|
"skip-example-run-on-boot.patch"
|
||||||
)
|
)
|
||||||
sha256sums=('f7d73bbf482cbefb6f91ff3c628a3131d6c7dc863612539fe5d03a4b7d640643'
|
sha256sums=('f7d73bbf482cbefb6f91ff3c628a3131d6c7dc863612539fe5d03a4b7d640643'
|
||||||
|
|||||||
Reference in New Issue
Block a user