summaryrefslogtreecommitdiffstats
path: root/multimedia/kino/files/patch-configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/kino/files/patch-configure.in')
-rw-r--r--multimedia/kino/files/patch-configure.in72
1 files changed, 72 insertions, 0 deletions
diff --git a/multimedia/kino/files/patch-configure.in b/multimedia/kino/files/patch-configure.in
new file mode 100644
index 000000000..04726c22e
--- /dev/null
+++ b/multimedia/kino/files/patch-configure.in
@@ -0,0 +1,72 @@
+--- configure.in.orig Thu Mar 8 04:52:54 2007
++++ configure.in Sun Mar 18 00:00:50 2007
+@@ -40,32 +40,32 @@
+ AC_SUBST(LIBDV_CFLAGS)
+ AC_SUBST(LIBDV_LIBS)
+
+-PKG_CHECK_MODULES(LIBRAW1394, libraw1394 >= 1.0.0, AC_DEFINE(HAVE_LIBRAW1394, 1, [libraw1394 present]))
+-AC_SUBST(LIBRAW1394_CFLAGS)
+-AC_SUBST(LIBRAW1394_LIBS)
++#PKG_CHECK_MODULES(LIBRAW1394, libraw1394 >= 1.0.0, AC_DEFINE(HAVE_LIBRAW1394, 1, [libraw1394 present]))
++#AC_SUBST(LIBRAW1394_CFLAGS)
++#AC_SUBST(LIBRAW1394_LIBS)
+ LIBS="$LIBS $LIBRAW1394_LIBS -lm"
+ CFLAGS="$CFLAGS $LIBRAW1394_CFLAGS"
+
+ # LIBAVC1394 and LIBROM1394
+-AC_CHECK_HEADER([libavc1394/avc1394.h], ,
+- [AC_MSG_ERROR([avc1394.h not found, install libavc1394-devel])
+-])
+-AC_CHECK_LIB(avc1394, avc1394_vcr_record, ,
+- [AC_MSG_ERROR([Unable to link with libavc1394. Check that you have libavc1394 installed and that the version is 0.4.1 or newer])]
+-)
+-AC_CHECK_HEADER([libavc1394/rom1394.h], ,
+- [AC_MSG_ERROR([rom1394.h not found, install libavc1394-devel])
+-])
+-AC_CHECK_LIB(rom1394, rom1394_get_node_type, ,
+- [AC_MSG_ERROR([Unable to link with librom1394. Check that your have librom1394 installed (usually part of libavc1394) and that the version is 0.4.1 or newer])]
+-)
+-
+-AC_CHECK_LIB(pthread, pthread_create, ,
+- [AC_MSG_ERROR([You need the pthread library to compile kino])]
+-)
+-AC_CHECK_LIB(dl, dlopen, ,
+- [AC_MSG_ERROR([You need libdl to compile kino])]
+-)
++#AC_CHECK_HEADER([libavc1394/avc1394.h], ,
++# [AC_MSG_ERROR([avc1394.h not found, install libavc1394-devel])
++#])
++#AC_CHECK_LIB(avc1394, avc1394_vcr_record, ,
++# [AC_MSG_ERROR([Unable to link with libavc1394. Check that you have libavc1394 installed and that the version is 0.4.1 or newer])]
++#)
++#AC_CHECK_HEADER([libavc1394/rom1394.h], ,
++# [AC_MSG_ERROR([rom1394.h not found, install libavc1394-devel])
++#])
++#AC_CHECK_LIB(rom1394, rom1394_get_node_type, ,
++# [AC_MSG_ERROR([Unable to link with librom1394. Check that your have librom1394 installed (usually part of libavc1394) and that the version is 0.4.1 or newer])]
++#)
++
++#AC_CHECK_LIB(pthread, pthread_create, ,
++# [AC_MSG_ERROR([You need the pthread library to compile kino])]
++#)
++#AC_CHECK_LIB(dl, dlopen, ,
++# [AC_MSG_ERROR([You need libdl to compile kino])]
++#)
+
+ # LIBIEC61883
+ AC_ARG_WITH(dv1394, AC_HELP_STRING([--with-dv1394],[Use dv1394 instead of libiec61883 for DV I/O (only if you must).]))
+@@ -187,12 +187,12 @@
+ tar -xzf ffmpeg-svn-r8218.tar.gz
+ fi
+ if ! (test -f ffmpeg/config.mak) ; then
+- pushd ffmpeg
++ (cd ffmpeg
+ ./configure --disable-ffserver --disable-ffplay --disable-v4l \
+ --disable-v4l2 --disable-dv1394 --disable-network --disable-zlib \
+ --disable-vhook --build-suffix=-kino --enable-gpl --enable-swscaler \
+ --prefix="$prefix"
+- popd
++ )
+ fi
+ fi
+ ])