blob: 395405378e737318724f436cc7f0f07df1a749e0 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
PORTNAME= ccextractor
DISTVERSIONPREFIX= v
DISTVERSION= 0.85
PORTREVISION= 20
CATEGORIES= multimedia
MAINTAINER= oz@nixil.net
COMMENT= Closed caption extractor for MPEG and H264 files
LICENSE= GPLv2
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libgmp.so:math/gmp \
libgnutls.so:security/gnutls \
libogg.so:audio/libogg \
libopencv_core.so:graphics/opencv \
libpng.so:graphics/png \
libschroedinger-1.0.so:multimedia/schroedinger \
libtheoraenc.so:multimedia/libtheora \
libv4l2.so:multimedia/libv4l \
libva-x11.so:multimedia/libva \
libvdpau.so:multimedia/libvdpau \
libvorbisenc.so:audio/libvorbis \
libvpx.so:multimedia/libvpx \
libx264.so:multimedia/libx264 \
libx265.so:multimedia/x265 \
libxvidcore.so:multimedia/xvid
USES= cmake iconv localbase:ldflags pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= CCExtractor
USE_XORG= x11
USE_LDCONFIG= yes
CMAKE_SOURCE_PATH= ${WRKSRC}/src
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON
CMAKE_ARGS+= -DWITH_OCR:BOOL=OFF # fails: CFLAGS get semicolon-separated for some reason
CMAKE_ARGS+= -DWITH_SHARING:BOOL=OFF # enable when net/nanomsg is available
OPTIONS_DEFINE= FFMPEG
OPTIONS_DEFAULT= FFMPEG
FFMPEG_CMAKE_BOOL= WITH_FFMPEG
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
.include <bsd.port.mk>
|