Enable h264 and h263 support.
Switch to new DEPENDS/REVISION.
This commit is contained in:
parent
e3e6f15a71
commit
7b4a23b9c6
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2010/05/31 06:31:39 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2010/09/01 14:40:23 ajacoutot Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -28,12 +28,16 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opalvoip/}
|
||||
|
||||
WANTLIB += SDL c crypto expat lber ldap ldap_r m ogg sasl2
|
||||
WANTLIB += ssl
|
||||
WANTLIB += ssl speex speexdsp x264 theora gsm pt pthread stdc++
|
||||
|
||||
LIB_DEPENDS= speex.>=7,speexdsp::audio/speex \
|
||||
theora::multimedia/libtheora \
|
||||
gsm::audio/gsm \
|
||||
pt.>=3::devel/ptlib
|
||||
LIB_DEPENDS= ::audio/speex \
|
||||
::multimedia/libtheora \
|
||||
::audio/gsm \
|
||||
::devel/ptlib \
|
||||
::multimedia/x264
|
||||
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
RUN_DEPENDS= :ffmpeg->=20100512:graphics/ffmpeg # dlopen(3) libavcodec.so
|
||||
|
||||
ALL_TARGET= opt
|
||||
OPAL_FILE= libopal.so
|
||||
@ -49,7 +53,7 @@ MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/plugins
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
LDFLAGS="-L${LOCALBASE}/lib -pthread"
|
||||
CONFIGURE_ARGS= --disable-localspeex \
|
||||
--disable-localgsm \
|
||||
--enable-plugins
|
||||
@ -60,13 +64,6 @@ CONFIGURE_ARGS= --disable-localspeex \
|
||||
# <...>
|
||||
CONFIGURE_ARGS+= --disable-vpb
|
||||
|
||||
# XXX our FFmpeg is too old
|
||||
CONFIGURE_ARGS+= --disable-h264
|
||||
#BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
#RUN_DEPENDS= ::graphics/ffmpeg # dlopen(3) libavcodec.so
|
||||
#LIB_DEPENDS+= x264::multimedia/x264
|
||||
#LDFLAGS+= -pthread
|
||||
|
||||
.ifndef DEBUG
|
||||
CONFIGURE_ENV+= DEBUG_BUILD="no"
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2010/03/23 21:13:37 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.3 2010/09/01 14:40:23 ajacoutot Exp $
|
||||
include/opal/
|
||||
include/opal/asn/
|
||||
include/opal/asn/gcc.h
|
||||
@ -158,6 +158,10 @@ lib/opal-${V}/codecs/audio/lpc10_audio_pwplugin.so
|
||||
lib/opal-${V}/codecs/audio/speex_audio_pwplugin.so
|
||||
lib/opal-${V}/codecs/video/
|
||||
lib/opal-${V}/codecs/video/h261-vic_video_pwplugin.so
|
||||
lib/opal-${V}/codecs/video/h263-1998_video_pwplugin.so
|
||||
lib/opal-${V}/codecs/video/h264_video_pwplugin.so
|
||||
@bin lib/opal-${V}/codecs/video/h264_video_pwplugin_helper
|
||||
lib/opal-${V}/codecs/video/mpeg4-ffmpeg_video_pwplugin.so
|
||||
lib/opal-${V}/codecs/video/theora_video_pwplugin.so
|
||||
lib/pkgconfig/opal.pc
|
||||
share/opal/
|
||||
|
Loading…
Reference in New Issue
Block a user