diff options
Diffstat (limited to 'multimedia/spook')
-rw-r--r-- | multimedia/spook/Makefile | 16 | ||||
-rw-r--r-- | multimedia/spook/files/patch-bswap.h | 4 | ||||
-rw-r--r-- | multimedia/spook/files/patch-configure.ac | 14 | ||||
-rw-r--r-- | multimedia/spook/files/patch-input-oss.c | 4 | ||||
-rw-r--r-- | multimedia/spook/files/patch-md5.c | 4 | ||||
-rw-r--r-- | multimedia/spook/files/patch-tcp.c | 6 |
6 files changed, 29 insertions, 19 deletions
diff --git a/multimedia/spook/Makefile b/multimedia/spook/Makefile index b798d6544e68..929df6f04ae2 100644 --- a/multimedia/spook/Makefile +++ b/multimedia/spook/Makefile @@ -3,18 +3,19 @@ PORTNAME= spook PORTVERSION= 20050207 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= multimedia MASTER_SITES= http://www.litech.org/spook/dist/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= mizhka@gmail.com COMMENT= Embedded RTP/RTSP/HTTP video streamer +LICENSE= GPLv2 + # TODO: FireWire IIDC support (needs libraw1394, libdc1394). # TODO: Test with Luigi-ified V4L input drivers e.g. pwc, etc. - OPTIONS_DEFINE= JPEG MPEG4 V4L DOCS -OPTIONS_DEFAULT= JPEG V4L +OPTIONS_DEFAULT= MPEG4 V4L MPEG4_DESC= MPEG4 encoding support V4L_DESC= V4L input support @@ -34,7 +35,7 @@ PORTDOCS= * .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MJPEG} -USES+= jpeg +USES+= jpeg CONFIGURE_ARGS+= --enable-encoder-jpeg .endif @@ -44,8 +45,9 @@ CONFIGURE_ARGS+= --enable-encoder-mpeg4 .endif .if ${PORT_OPTIONS:MV4L} -BUILD_DEPENDS+= ${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat -CONFIGURE_ARGS+= --enable-input-v4l +LIB_DEPENDS+= libv4l1.so:${PORTSDIR}/multimedia/libv4l +BUILD_DEPENDS+= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat +CONFIGURE_ARGS+= --enable-input-v4l2 --enable-input-v4l .endif do-install: diff --git a/multimedia/spook/files/patch-bswap.h b/multimedia/spook/files/patch-bswap.h index c1f566fe1e51..66f8cea94cb1 100644 --- a/multimedia/spook/files/patch-bswap.h +++ b/multimedia/spook/files/patch-bswap.h @@ -1,5 +1,5 @@ ---- bswap.h.orig 2008-09-02 14:40:15.000000000 +0100 -+++ bswap.h 2008-09-02 14:41:51.000000000 +0100 +--- bswap.h.orig 2005-02-08 02:20:14 UTC ++++ bswap.h @@ -6,7 +6,11 @@ #ifndef __BSWAP_H__ #define __BSWAP_H__ diff --git a/multimedia/spook/files/patch-configure.ac b/multimedia/spook/files/patch-configure.ac index f93668ce8d08..205d66bcf531 100644 --- a/multimedia/spook/files/patch-configure.ac +++ b/multimedia/spook/files/patch-configure.ac @@ -1,6 +1,6 @@ ---- configure.ac.orig 2008-09-02 14:40:15.000000000 +0100 -+++ configure.ac 2008-09-02 14:41:51.000000000 +0100 -@@ -55,7 +55,7 @@ +--- configure.ac.orig 2005-02-08 02:23:54 UTC ++++ configure.ac +@@ -55,7 +55,7 @@ AC_ARG_ENABLE(encoder-jpeg, [enable_encoder_jpeg=auto]) case $host in @@ -9,3 +9,11 @@ if test x$enable_input_vdig = xyes; then AC_MSG_ERROR([QuickTime digitizer support is only available on Mac OS X]) fi +@@ -116,6 +116,7 @@ if test x$enable_input_v4l != xno; then + ]]), + [ + AC_MSG_RESULT(yes) ++ LIBS="-lv4l1 $LIBS" + build_input_v4l=true + AC_MSG_CHECKING([for pwc-ioctl.h in the kernel source tree]) + if test -d $linux_source/drivers/usb/media; then diff --git a/multimedia/spook/files/patch-input-oss.c b/multimedia/spook/files/patch-input-oss.c index 090bb1a6dabf..10910b9ce97a 100644 --- a/multimedia/spook/files/patch-input-oss.c +++ b/multimedia/spook/files/patch-input-oss.c @@ -1,5 +1,5 @@ ---- input-oss.c.orig 2008-09-02 14:40:15.000000000 +0100 -+++ input-oss.c 2008-09-02 14:41:52.000000000 +0100 +--- input-oss.c.orig 2004-12-06 05:58:04 UTC ++++ input-oss.c @@ -28,7 +28,11 @@ #include <errno.h> #include <pthread.h> diff --git a/multimedia/spook/files/patch-md5.c b/multimedia/spook/files/patch-md5.c index 508f09c0773f..513bbe4fe5d1 100644 --- a/multimedia/spook/files/patch-md5.c +++ b/multimedia/spook/files/patch-md5.c @@ -1,5 +1,5 @@ ---- md5.c.orig 2008-09-02 14:40:15.000000000 +0100 -+++ md5.c 2008-09-02 14:41:52.000000000 +0100 +--- md5.c.orig 2004-12-09 18:09:09 UTC ++++ md5.c @@ -21,7 +21,11 @@ #include <string.h> #include <sys/types.h> diff --git a/multimedia/spook/files/patch-tcp.c b/multimedia/spook/files/patch-tcp.c index ccff178d71f9..939f7f288c96 100644 --- a/multimedia/spook/files/patch-tcp.c +++ b/multimedia/spook/files/patch-tcp.c @@ -1,6 +1,6 @@ ---- tcp.c.orig 2008-09-02 14:40:15.000000000 +0100 -+++ tcp.c 2008-09-02 14:41:53.000000000 +0100 -@@ -454,7 +454,7 @@ +--- tcp.c.orig 2004-12-29 02:33:21 UTC ++++ tcp.c +@@ -454,7 +454,7 @@ static void do_accept( struct event_info strerror( errno ) ); i = 1; |