mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
ccextractor: new recipe (#2090)
This commit is contained in:
52
media-video/ccextractor/ccextractor-0.85.recipe
Normal file
52
media-video/ccextractor/ccextractor-0.85.recipe
Normal file
@@ -0,0 +1,52 @@
|
||||
SUMMARY="A tool used to produce subtitles for TV recordings"
|
||||
DESCRIPTION="CCExtractor is a tool used to produce subtitles for TV \
|
||||
recordings from almost anywhere in the world."
|
||||
HOMEPAGE="https://www.ccextractor.org/"
|
||||
COPYRIGHT="2017 Carlos Fernandez and others"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://downloads.sourceforge.net/ccextractor/ccextractor-src-nowin.$portVersion.zip"
|
||||
CHECKSUM_SHA256="2ac21c6483e206a796d26d6adb7e969eb038a97ead9e2b2a7ee91b8b08c6882e"
|
||||
SOURCE_DIR="ccextractor"
|
||||
PATCHES="ccextractor-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
ccextractor = $portVersion
|
||||
cmd:ccextractor = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libcurl
|
||||
lib:libiconv
|
||||
lib:liblept
|
||||
lib:libtesseract
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libcurl
|
||||
devel:libiconv
|
||||
devel:liblept
|
||||
devel:libtesseract
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:find
|
||||
cmd:g++
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd linux
|
||||
chmod +x ./*.sh
|
||||
sh ./build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -d $binDir
|
||||
install linux/ccextractor $binDir
|
||||
}
|
||||
Reference in New Issue
Block a user