ports/123808: multimedia/motion update to 3.2.10
Angel Carpintero
ack at telefonica.net
Mon May 19 08:00:03 UTC 2008
>Number: 123808
>Category: ports
>Synopsis: multimedia/motion update to 3.2.10
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon May 19 08:00:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Angel Carpintero
>Release: 6.3-RELEASE-p1
>Organization:
N/A
>Environment:
FreeBSD freebsd.local.house 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Wed Feb 13 02:40:56 UTC 2008 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
update multimedia/motion port to latest stable version 3.2.10
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- motion/Makefile 2008-01-24 16:56:04.000000000 +0100
+++ motion-3.2.10/Makefile 2008-05-19 09:47:09.000000000 +0200
@@ -2,17 +2,16 @@
# Date created: 22 Dec 2005
# Whom: Angel Carpintero <ack at telefonica.net>
#
-# $FreeBSD: ports/multimedia/motion/Makefile,v 1.9 2008/01/24 15:56:04 miwi Exp $
+# $FreeBSD:$
#
PORTNAME= motion
-PORTVERSION= 3.2.9
-PORTREVISION= 1
+PORTVERSION= 3.2.10
CATEGORIES= multimedia
-MASTER_SITES= SF
+MASTER_SITES= SF
-PATCH_SITES= http://www.lavrsen.dk/twiki/pub/Motion/FreeBSDPatch/
-PATCHFILES= motion-3.2.9-2.port-freebsd.diff.gz
+PATCH_SITES= http://www.lavrsen.dk/twiki/pub/Motion/FreeBSDPatch/
+PATCHFILES= motion-3.2.10.port-freebsd.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= ack at telefonica.net
@@ -39,22 +38,31 @@
EXAMPLES= motion-dist.conf motion.init-FreeBSD.sh thread1.conf \
thread2.conf thread3.conf thread4.conf
-OPTIONS= BKTR "Support for TV Capture cards" on \
+OPTIONS= PWCBSD "Webcams supported by PWCBSD (this disables BKTR support)" off \
+ BKTR "Support for TV Capture cards" on \
LINUXTHREADS "Use LinuxThreads" off
MAKE_ENV+= CC="${CC}"
.include <bsd.port.pre.mk>
-.if !defined(WITH_BKTR)
+.if !defined(WITH_BKTR) && !defined(WITH_PWCBSD)
CFLAGS+= -DWITHOUT_V4L
.endif
+.if defined(WITH_PWCBSD)
+CONFIGURE_ARGS= --with-pwcbsd
+BUILD_DEPENDS+= v4l_compat>=1.0.20060801:${PORTSDIR}/multimedia/v4l_compat
+RUN_DEPENDS+= /boot/modules/pwc.ko:${PORTSDIR}/multimedia/pwcbsd
+.endif
+
.if defined(WITH_LINUXTHREADS) || ${OSVERSION} < 504000
CONFIGURE_ARGS= --with-linuxthreads
LIB_DEPENDS+= lthread.[35]:${PORTSDIR}/devel/linuxthreads
.endif
+
+
post-install:
.if !exists(${PREFIX}/etc/motion.conf)
${INSTALL_DATA} ${PREFIX}/etc/motion.conf.sample ${PREFIX}/etc/motion.conf
@@ -77,4 +85,10 @@
@${ECHO_MSG} "==============================================================================="
.endif
+.if defined(WITH_PWCBSD)
+ @${ECHO_MSG} "==============================================================================="
+ @${ECHO_MSG} "Please make sure you have pwcbsd compiled with mmap support."
+ @${ECHO_MSG} "==============================================================================="
+.endif
+
.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list