summaryrefslogtreecommitdiff
path: root/app-text/sup2srt/sup2srt-1.1.0.ebuild
blob: 733bd3a6f2b2214a8fa2d7f21fb77eb406ac81df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="Convert SUP graphic subtitles to text-based SRT format"
HOMEPAGE="https://github.com/retrontology/sup2srt"
SRC_URI="https://github.com/retrontology/sup2srt/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	app-text/tesseract
	media-libs/leptonica
	media-libs/tiff[cxx]
	media-video/ffmpeg:=
"
BDEPEND="
	virtual/pkgconfig
"

PATCHES=(
	"${FILESDIR}/${PN}-1.0.6-build-the-pgs-library-statically.patch"
)