media-video/sup2srt - 1.1.0 (thegreatmcpain)

Search

Package Information

Description:
Convert SUP graphic subtitles to text-based SRT format
Homepage:
https://github.com/retrontology/sup2srt
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
1.1.0 8 ~amd64 0
View Raw Ebuild
# 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"
}

Dependencies

DEPEND

	media-libs/tiff[cxx]
	app-text/tesseract
	media-video/ffmpeg
	media-libs/leptonica

RDEPEND

	media-libs/tiff[cxx]
	app-text/tesseract
	media-video/ffmpeg
	media-libs/leptonica

Manifest for 1.1.0

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