c400a2c8b6
- FFSERVER support was removed upstream - libressl now uses libtls backend instead of patching openssl one - Clang i386 no longer uses 16-byte aligned stack Changes: https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.0:/Changelog ABI: https://abi-laboratory.pro/tracker/timeline/ffmpeg/ PR: 227726 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D15175
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libstreamanalyzer
|
|
PORTVERSION= ${STRIGI_VERSION}
|
|
PORTREVISION= 12
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= ${STRIGI_MASTER_SITES}
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Strigi desktop search: streamanalyzer library
|
|
|
|
LIB_DEPENDS= libavcodec${FFMPEG_SUFFIX}.so:multimedia/ffmpeg${FFMPEG_SUFFIX} \
|
|
libclucene-core.so:textproc/clucene \
|
|
libexiv2.so:graphics/exiv2 \
|
|
libstreams.so:deskutils/libstreams
|
|
|
|
USES= pkgconfig iconv
|
|
USE_GNOME= libxml2
|
|
USE_LDCONFIG= yes
|
|
USE_CXXSTD= gnu++98
|
|
|
|
# supported versions: ffmpeg, ffmpeg1, ffmpeg-devel
|
|
# corresponding FFMPEG_SUFFIX: '', '1', '-devel'
|
|
FFMPEG_SUFFIX?=
|
|
CMAKE_ARGS+= -DFFMPEG_SUFFIX:STRING="${FFMPEG_SUFFIX}"
|
|
|
|
.if !empty(FFMPEG_SUFFIX)
|
|
# Reorder include directories to allow build with multiple ffmpeg installed.
|
|
# This patch must NOT be used, if ffmpeg headers are installed
|
|
# directly to ${LOCALBASE}/include
|
|
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-libstreamanalyzer__plugins__endplugins__CMakeLists.txt
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e \
|
|
's,$${LIB_DESTINATION}/pkgconfig,libdata/pkgconfig,' \
|
|
${WRKSRC}/libstreamanalyzer/CMakeLists.txt
|
|
|
|
.include <${.CURDIR}/../strigi/Makefile.common>
|
|
.include <bsd.port.mk>
|