| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.1.0 | 8 | ~amd64 | 0 |
# Copyright 2022 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/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
media-libs/tiff[cxx]
app-text/tesseract
media-video/ffmpeg
media-libs/leptonica
"
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=OFF
)
cmake_src_configure
}
src_install() {
dobin "${BUILD_DIR}/src/sup2srt"
dobin "${BUILD_DIR}/src/sup2disk"
}
media-libs/tiff[cxx] app-text/tesseract media-video/ffmpeg media-libs/leptonica
media-libs/tiff[cxx] app-text/tesseract media-video/ffmpeg media-libs/leptonica
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | sup2srt-1.1.0.tar.gz | 30459 bytes | https://github.com/retrontology/sup2srt/archive/1.1.0.tar.gz |