media-video/pgsrip: new package, add 0.1.12

Signed-off-by: Brian R McCarter <bibocc@gmail.com>
This commit is contained in:
Brian R McCarter
2025-11-16 14:16:16 -06:00
parent 57fb062625
commit df72b20ad9
3 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST pgsrip-0.1.12.tar.gz 48097 BLAKE2B 354fec8d43fc4e8fb4463d00b81939ed887e826527f8e4c6709aa3759856596052e6e28e7a052bc9a238d0fe77a9f5b39f2bf6efc7260f364be6ddc393739fb6 SHA512 30f045ab3f460d2618eee965e4f5f41b737e96d98bafa4e808a9104e5d4198a826c01849e42ba3aca4f5c345a77386d40189b0731331ba9160295f9f47e74985

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>bibocc@gmail.com</email>
<name>Brian R McCarter</name>
</maintainer>
<upstream>
<remote-id type="github">ratoaq2/pgsrip</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,31 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1
DESCRIPTION="A command line tool to extract and convert PGS subtitles into SRT format"
HOMEPAGE="https://github.com/ratoaq2/pgsrip"
SRC_URI="https://github.com/ratoaq2/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="mirror"
RDEPEND="
app-text/tesseract
dev-python/babelfish
dev-python/click
dev-python/pysrt
dev-python/pytesseract
dev-python/numpy
dev-python/trakit
media-libs/opencv[python]
media-video/cleanit
media-video/mkvtoolnix"
BDEPEND="${PYTHON_DEPS}"