84e727457f
Notable changes: - i386/amd64 now depend on NASM per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/4f9297ac3b39 - NETCDF is now MYSOFA but the dependency doesn't exist in ports yet - SCHROEDINGER is gone per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/220b24c7c9 - DRM, LIBRSVG2, LIBXML2 are new options - ABI isn't completely compatible: some structs have changed Minor cleanup: - Don't pass --disable-{in,out}dev when it's already blocked by disabled dependency - Drop redundant "Enable" from option descriptions - Switch CDIO_DESC to use Mk/bsd.options.desc.mk Changes: https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.4:/Changelog ABI: https://abi-laboratory.pro/tracker/timeline/ffmpeg/ PR: 223057 Exp-run by: antoine
58 lines
1.3 KiB
Makefile
58 lines
1.3 KiB
Makefile
# Created by: Roger Hardiman <roger@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openh323
|
|
PORTVERSION= 1.19.0.1
|
|
PORTREVISION= 13
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF
|
|
DISTNAME= ${PORTNAME}-v${PORTVERSION:S/./_/g}-src
|
|
EXTRACT_SUFX= -tar.gz
|
|
DIST_SUBDIR= openh323
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= H323 Video Conferencing library
|
|
|
|
LIB_DEPENDS= libpt_r.so:devel/pwlib
|
|
|
|
BROKEN_powerpc64= Does not build: call to H261Encoder::~H261Encoder() lacks nop, can't restore toc
|
|
|
|
CONFLICTS= h323plus-1.*
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}_v${PORTVERSION:S/./_/g}
|
|
|
|
USES= bison gmake
|
|
USE_GCC= yes
|
|
USE_AUTOTOOLS= autoconf
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
CFLAGS_amd64= -fPIC
|
|
CFLAGS_powerpc= -fPIC
|
|
CFLAGS_sparc64= -fPIC
|
|
|
|
ALL_TARGET= optshared
|
|
CONFIGURE_ENV+= BUILDTIME="YES"
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${WRKSRC}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
MAKE_ENV= BUILDTIME="YES"
|
|
|
|
OPTIONS_DEFINE= FFMPEG SPEEX
|
|
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
|
|
FFMPEG_CONFIGURE_ON= --enable-rfc2190avcodec=${LOCALBASE}/include/ffmpeg
|
|
|
|
SPEEX_LIB_DEPENDS= libspeex.so:audio/speex
|
|
SPEEX_CONFIGURE_ON= --enable-localspeex=no
|
|
SPEEX_CONFIGURE_OFF= --enable-localspeex=yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
|
|
${WRKSRC}/configure.ac
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pwlib/codecs/audio/*.so
|
|
|
|
.include <bsd.port.post.mk>
|