Add option to control dependency on mediastreamer, tuned on by default.
This commit is contained in:
parent
845d5a5791
commit
e9c4d8716b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380001
@ -13,13 +13,29 @@ COMMENT= Software G729A encoder and decoder library written in C
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libmediastreamer_base.so:${PORTSDIR}/net/mediastreamer \
|
||||
libortp.so:${PORTSDIR}/net/ortp
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --disable-strict
|
||||
INSTALL_TARGET= install-strip
|
||||
USES= libtool pathfix pkgconfig
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_DEFINE= MEDIASTREAMER
|
||||
OPTIONS_DEFAULT= MEDIASTREAMER
|
||||
|
||||
MEDIASTREAMER_DESC= Mediastreamer(linphone) support
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
MEDIASTREAMER_LIB_DEPENDS= libortp.so:${PORTSDIR}/net/ortp \
|
||||
libmediastreamer_base.so:${PORTSDIR}/net/mediastreamer
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ! ${PORT_OPTIONS:MMEDIASTREAMER}
|
||||
# If the option is disabled, force it to not build mediastreamer interface even if
|
||||
# configure found the needed dependencies
|
||||
pre-configure:
|
||||
@${REINPLACE_CMD} -e '/^@BUILD_MSBCG729_TRUE@/d' \
|
||||
${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -4,8 +4,8 @@ lib/libbcg729.a
|
||||
lib/libbcg729.so
|
||||
lib/libbcg729.so.0
|
||||
lib/libbcg729.so.0.0.0
|
||||
lib/mediastreamer/plugins/libmsbcg729.a
|
||||
lib/mediastreamer/plugins/libmsbcg729.so
|
||||
lib/mediastreamer/plugins/libmsbcg729.so.0
|
||||
lib/mediastreamer/plugins/libmsbcg729.so.0.0.0
|
||||
%%MEDIASTREAMER%%lib/mediastreamer/plugins/libmsbcg729.a
|
||||
%%MEDIASTREAMER%%lib/mediastreamer/plugins/libmsbcg729.so
|
||||
%%MEDIASTREAMER%%lib/mediastreamer/plugins/libmsbcg729.so.0
|
||||
%%MEDIASTREAMER%%lib/mediastreamer/plugins/libmsbcg729.so.0.0.0
|
||||
libdata/pkgconfig/libbcg729.pc
|
||||
|
Loading…
Reference in New Issue
Block a user