diff --git a/.SRCINFO b/.SRCINFO index 1723914..0605e53 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,18 +1,32 @@ -pkgbase = python-jimaku-dl - pkgdesc = A Python package to download Japanese subtitles for anime from Jimaku.cc - pkgver = 0.1.2 - pkgrel = 2 - url = https://github.com/ksyasuda/jimaku-dl - arch = any - license = GPL3 - makedepends = python-setuptools - makedepends = python-wheel - makedepends = python-build +pkgbase = python-manga-ocr + pkgdesc = A tool for extracting text from manga images using OCR + pkgver = 0.1.14 + pkgrel = 1 + url = https://github.com/kha-white/manga-ocr + arch = x86_64 + license = Apache-2.0 + checkdepends = python-pytest + makedepends = python-pip makedepends = python-installer - depends = python - depends = fzf - optdepends = mpv: for playback functionality - source = python-jimaku-dl-0.1.2.tar.gz::https://github.com/ksyasuda/jimaku-dl/archive/refs/tags/v0.1.2.tar.gz - sha256sums = 50283abb662c03a9e1956355d4f900d562a7751df74bccf1315feaa38ad4e9f0 + makedepends = python-wheel + depends = python>=3.6 + depends = python-fire + depends = python-fugashi + depends = python-jaconv + depends = python-loguru + depends = python-numpy + depends = python-pillow>=10.0.0 + depends = python-pyperclip + depends = python-pytorch>=1.0 + depends = python-transformers>=4.25.0 + 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 = xclip: Read images from the clipbaord in the command-line mode on X11 + conflicts = manga-ocr-git + source = https://github.com/kha-white/manga_ocr/archive/refs/tags/v0.1.14.tar.gz + source = skip-example-run-on-boot.patch + sha256sums = f7d73bbf482cbefb6f91ff3c628a3131d6c7dc863612539fe5d03a4b7d640643 + sha256sums = d287a2fbfa71d9753cdfd921ce67bd7bf1fcf1e36dd08fc00c8d142305d4da88 -pkgname = python-jimaku-dl +pkgname = python-manga-ocr diff --git a/PKGBUILD b/PKGBUILD index 3431d1e..44e8785 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -35,7 +35,7 @@ source=( "skip-example-run-on-boot.patch" ) sha256sums=('f7d73bbf482cbefb6f91ff3c628a3131d6c7dc863612539fe5d03a4b7d640643' - 'e0458743eebd9baac05d31031511477c81f20157821becf3d8da1d487df7d9c1') + 'd287a2fbfa71d9753cdfd921ce67bd7bf1fcf1e36dd08fc00c8d142305d4da88') prepare() { cd "${_pkgname//_/-}-$pkgver" @@ -49,7 +49,7 @@ build() { check() { cd "${_pkgname//_/-}-$pkgver" - pytest + pytest -o addopts="" } package() {