diff options
author | Alexander Nedotsukov <bland@FreeBSD.org> | 2009-09-27 15:52:55 +0000 |
---|---|---|
committer | Alexander Nedotsukov <bland@FreeBSD.org> | 2009-09-27 15:52:55 +0000 |
commit | f30fe30f99f110b0fd6b0e146ecc82905a1b8620 (patch) | |
tree | d0bc40a7f24c5de2782583cb3bf9960a537d422f /net/opal3/files/patch-plugins_configure | |
parent | Allow this to build with libdjbfft installed. This only modifies (diff) |
Add net/opal3, VoIP abstraction library v3.
PR: 138718
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=242168
Diffstat (limited to 'net/opal3/files/patch-plugins_configure')
-rw-r--r-- | net/opal3/files/patch-plugins_configure | 144 |
1 files changed, 144 insertions, 0 deletions
diff --git a/net/opal3/files/patch-plugins_configure b/net/opal3/files/patch-plugins_configure new file mode 100644 index 000000000000..e81bd1893ba1 --- /dev/null +++ b/net/opal3/files/patch-plugins_configure @@ -0,0 +1,144 @@ +--- plugins/configure.ac.orig 2009-09-22 04:57:56.000000000 +0400 ++++ plugins/configure.ac 2009-09-26 21:36:48.000000000 +0400 +@@ -219,6 +219,11 @@ + dnl ######################## + dnl libavcodec (ffmpeg) + dnl ######################## ++AC_ARG_ENABLE([ffmpeg], ++ [AC_HELP_STRING([--enable-ffmpeg],[enable libavcodec codec support])], ++ [HAVE_LIBAVCODEC=$enableval]) ++ ++if test "x${HAVE_LIBAVCODEC}" = "xyes" ; then + PKG_CHECK_MODULES([LIBAVCODEC], + [libavcodec >= 52.20.0], + [ +@@ -249,6 +254,8 @@ + HAVE_LIBAVCODEC=no + ] + ) ++fi ++ + AC_SUBST(HAVE_LIBAVCODEC) + + OPAL_LIBAVCODEC_SOURCE() +@@ -290,6 +297,11 @@ + dnl ######################## + dnl theora + dnl ######################## ++AC_ARG_ENABLE([theora], ++ [AC_HELP_STRING([--enable-theora],[enable theora codec support])], ++ [HAVE_THEORA=$enableval]) ++ ++if test "x${HAVE_THEORA}" = "xyes" ; then + PKG_CHECK_MODULES([THEORA], + [theora], + [ +@@ -301,11 +313,18 @@ + [ + HAVE_THEORA=no + ]) ++fi ++ + AC_SUBST(HAVE_THEORA) + + dnl ######################## + dnl celt + dnl ######################## ++AC_ARG_ENABLE([celt], ++ [AC_HELP_STRING([--enable-celt],[enable CELT codec support])], ++ [HAVE_CELT=$enableval]) ++ ++if test "x${HAVE_CELT}" = "xyes" ; then + PKG_CHECK_MODULES([CELT], + [celt], + [ +@@ -321,6 +340,8 @@ + [ + HAVE_CELT=no + ]) ++fi ++ + AC_SUBST(HAVE_CELT) + + dnl ######################## +--- plugins/configure.orig 2009-09-26 16:50:06.000000000 +0400 ++++ plugins/configure 2009-09-26 21:44:26.000000000 +0400 +@@ -1340,11 +1340,14 @@ + --enable-sbc enable use of Bluetooth SBC for CD quality telephony + --enable-default-to-full-capabilties + default to full capabilities at empty fmtp lines ++ --enable-ffmpeg enable libavcodec codec support + --enable-libavcodec-stackalign-hack + Stack alignment hack for libavcodec library + --enable-x264-link-static + Statically link x264 to the plugin. Default for + win32. ++ --enable-theora enable theora codec support ++ --enable-celt enable CELT codec support + --enable-h264 enable H.264 support + --enable-ixj enable xJack cards + --enable-vpb enable voicetronix vpb +@@ -9543,6 +9546,13 @@ + fi + + ++# Check whether --enable-ffmpeg was given. ++if test "${enable_ffmpeg+set}" = set; then ++ enableval=$enable_ffmpeg; HAVE_LIBAVCODEC=$enableval ++fi ++ ++ ++if test "x${HAVE_LIBAVCODEC}" = "xyes" ; then + + pkg_failed=no + { echo "$as_me:$LINENO: checking for LIBAVCODEC" >&5 +@@ -10144,6 +10154,8 @@ + + + fi ++fi ++ + + + +@@ -10350,6 +10362,13 @@ + + + ++# Check whether --enable-theora was given. ++if test "${enable_theora+set}" = set; then ++ enableval=$enable_theora; HAVE_THEORA=$enableval ++fi ++ ++ ++if test "x${HAVE_THEORA}" = "xyes" ; then + + pkg_failed=no + { echo "$as_me:$LINENO: checking for THEORA" >&5 +@@ -10430,8 +10449,17 @@ + HAVE_THEORA=yes + + fi ++fi ++ + + ++# Check whether --enable-celt was given. ++if test "${enable_celt+set}" = set; then ++ enableval=$enable_celt; HAVE_CELT=$enableval ++fi ++ ++ ++if test "x${HAVE_CELT}" = "xyes" ; then + + pkg_failed=no + { echo "$as_me:$LINENO: checking for CELT" >&5 +@@ -10526,6 +10554,8 @@ + fi + + fi ++fi ++ + + + |