From b0ce9369cdbff7280735ac57d68404318c12bae7 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Sun, 25 Mar 2018 14:14:55 +0200 Subject: [PATCH] Update Gentoo ebuild --- packaging/vobsub2srt-9999.ebuild | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/packaging/vobsub2srt-9999.ebuild b/packaging/vobsub2srt-9999.ebuild index c6cfb30..d36bd4a 100644 --- a/packaging/vobsub2srt-9999.ebuild +++ b/packaging/vobsub2srt-9999.ebuild @@ -1,25 +1,26 @@ -# -*- mode:sh; -*- - -# See https://github.com/ruediger/VobSub2SRT/issues/13 - # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="4" - -EGIT_REPO_URI="git://github.com/ruediger/VobSub2SRT.git" - -inherit cmake-utils git-2 - -IUSE="" +EAPI=6 DESCRIPTION="Converts image subtitles created by VobSub (.sub/.idx) to .srt textual subtitles using tesseract OCR engine" HOMEPAGE="https://github.com/ruediger/VobSub2SRT" +SRC_URI="https://github.com/ruediger/VobSub2SRT/archive/master.tar.gz -> +${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=app-text/tesseract-2.04-r1 + >=virtual/ffmpeg-0.6.90 +" -RDEPEND=">=app-text/tesseract-2.04-r1 - >=virtual/ffmpeg-0.6.90" DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + mv VobSub2SRT-master "${S}" || die "unpack failed" +}