e6d22215fb
libgstshapewipe has moved from bad to good. survived a bulk and tests from jasper@
69 lines
2.1 KiB
Plaintext
69 lines
2.1 KiB
Plaintext
$OpenBSD: patch-configure_ac,v 1.9 2010/03/21 11:24:46 ajacoutot Exp $
|
|
--- configure.ac.orig Sat Mar 6 01:27:38 2010
|
|
+++ configure.ac Mon Mar 8 12:23:40 2010
|
|
@@ -457,6 +457,8 @@ AG_GST_CHECK_FEATURE(GST_V4L2, [Video 4 Linux 2], v4l2
|
|
#ifdef __sun /* Solaris */
|
|
#include <sys/types.h>
|
|
#include <sys/videodev2.h>
|
|
+#elif defined __OpenBSD__
|
|
+#include <sys/videoio.h>
|
|
#else /* Linux */
|
|
#include <linux/types.h>
|
|
#define _LINUX_TIME_H
|
|
@@ -498,6 +500,8 @@ return 0;
|
|
#ifdef __sun /* Solaris */
|
|
#include <sys/types.h>
|
|
#include <sys/videodev2.h>
|
|
+#elif defined __OpenBSD__
|
|
+#include <sys/videoio.h>
|
|
#else /* Linux */
|
|
#include <linux/types.h>
|
|
#define _LINUX_TIME_H
|
|
@@ -682,6 +686,21 @@ AG_GST_CHECK_FEATURE(ESD, [ESounD sound daemon], esdsi
|
|
fi
|
|
])
|
|
|
|
+dnl *** libsndio ***
|
|
+translit(dnm, m, l) AM_CONDITIONAL(USE_LIBSNDIO, true)
|
|
+AG_GST_CHECK_FEATURE(LIBSNDIO, [libsndio audio], libsndio, [
|
|
+ AC_CHECK_HEADER(sndio.h, HAVE_LIBSNDIO="yes", HAVE_LIBSNDIO="no")
|
|
+ if test $HAVE_LIBSNDIO = yes
|
|
+ then
|
|
+ AC_CHECK_LIB(sndio, sio_open, HAVE_LIBSNDIO="yes", HAVE_LIBSNDIO="no", [])
|
|
+ if test $HAVE_LIBSNDIO = yes
|
|
+ then
|
|
+ LIBSNDIO_LIBS=-lsndio
|
|
+ AC_SUBST(LIBSNDIO_LIBS)
|
|
+ fi
|
|
+ fi
|
|
+])
|
|
+
|
|
dnl *** FLAC ***
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_FLAC, true)
|
|
AG_GST_CHECK_FEATURE(FLAC, [FLAC lossless audio], flac, [
|
|
@@ -750,7 +769,7 @@ AG_GST_CHECK_FEATURE(LIBDV, [libdv DV demuxer/decoder]
|
|
dnl *** libpng ***
|
|
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBPNG, true)
|
|
AG_GST_CHECK_FEATURE(LIBPNG, [Portable Network Graphics library], png, [
|
|
- AG_GST_PKG_CHECK_MODULES(LIBPNG, libpng12)
|
|
+ AG_GST_PKG_CHECK_MODULES(LIBPNG, libpng)
|
|
])
|
|
|
|
dnl *** pulseaudio ***
|
|
@@ -963,6 +982,7 @@ AM_CONDITIONAL(USE_CAIRO, false)
|
|
AM_CONDITIONAL(USE_DIRECTSOUND, false)
|
|
AM_CONDITIONAL(USE_DV1394, false)
|
|
AM_CONDITIONAL(USE_ESD, false)
|
|
+AM_CONDITIONAL(USE_LIBSNDIO, false)
|
|
AM_CONDITIONAL(USE_FLAC, false)
|
|
AM_CONDITIONAL(USE_GCONF, false)
|
|
AM_CONDITIONAL(USE_GCONFTOOL, false)
|
|
@@ -1100,6 +1120,7 @@ ext/annodex/Makefile
|
|
ext/cairo/Makefile
|
|
ext/dv/Makefile
|
|
ext/esd/Makefile
|
|
+ext/libsndio/Makefile
|
|
ext/flac/Makefile
|
|
ext/gconf/Makefile
|
|
ext/gdk_pixbuf/Makefile
|