c26152ae1a
- Update libva-intel-driver to 2.0.0
- Update libva-utils to 2.0.0
- Bump dependent ports due to shlib bump
- Import upstream patch to fix multimedia/mpv [1]
- Import upstream patch to fix multimedia/gstreamer1-vaapi [2]
Approved by: cpm [1], multimedia (timeout) [2]
Obtained from: 2ecf240b1c
[1]
https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi/commit/gst-libs/gst/vaapi/gstvaapiutils.c?id=777bba473e3ed1c7b8b7f7f0322892851c70dfd9 [2]
Differential Revision: https://reviews.freebsd.org/D12761
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ccextractor
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.85
|
|
PORTREVISION= 1
|
|
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-core \
|
|
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:outsource iconv localbase:ldflags pkgconfig
|
|
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>
|