svn commit: r470020 - head/multimedia/motion
Lars Engels
lme at FreeBSD.org
Tue May 15 14:25:41 UTC 2018
Author: lme
Date: Tue May 15 14:25:39 2018
New Revision: 470020
URL: https://svnweb.freebsd.org/changeset/ports/470020
Log:
multimedia/motion:
- Add WEBCAMD option and enable by default
- Bump PORTREVISION
From the initiating PR:
The multimedia/pwcbsd port contains an kernel module that appears to no longer
work. The multimedia/pwcbsd port distfile has not been updated since 2014 so
it is very unlikely to work. The multimedia/pwcbsd port was long ago replaced
by the multimedia/webcamd port.
The current multimedia/motion port has a PWCBSD option. This sets
--with-pwcbsd in the configure step, create a build depend on v4l_compat and
creates a run depend on multimedia/pwcbsd, which is then built and installed
but not used. The motion application reads from /dev/video* which is now
handled by multimedia/webcamd.
The patch provided adds an option named WEBCAMD to an existing radio option
that contains the PWCBSD option. The WEBCAMD option sets --with-pwcbsd in the
configure step, creates the build depend on v4l_compat but does not create a
run depend on pwcbsd. It could create a run depend on multimedia/webcamd but I
didn't add that.
The only affect of --with-pwcbsd in the configure step of the downstream port
is to suppress disabling video4linux support and link with v4l_compat library.
At some point the downstream should be advised to change the option names in
the configure.ac file to reflect the demise of pwcbsd.
I left the PWCBSD option in place and unchanged. It may serve no useful
purpose so it could be removed.
PR: 228102
Submitted by: Curtis Villamizar <curtis at ipv6.occnc.com>
MFH: yes
Modified:
head/multimedia/motion/Makefile
Modified: head/multimedia/motion/Makefile
==============================================================================
--- head/multimedia/motion/Makefile Tue May 15 14:18:36 2018 (r470019)
+++ head/multimedia/motion/Makefile Tue May 15 14:25:39 2018 (r470020)
@@ -4,7 +4,7 @@
PORTNAME= motion
PORTVERSION= 4.0.1
DISTVERSIONPREFIX= release-
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= multimedia
MAINTAINER= ports at FreeBSD.org
@@ -41,8 +41,8 @@ PORTEXAMPLES= camera1-dist.conf camera2-dist.conf \
OPTIONS_DEFINE= DOCS EXAMPLES FFMPEG MYSQL PGSQL SQLITE3
OPTIONS_RADIO= VIDEO
-OPTIONS_RADIO_VIDEO= BKTR PWCBSD
-OPTIONS_DEFAULT= BKTR FFMPEG
+OPTIONS_RADIO_VIDEO= BKTR PWCBSD WEBCAMD
+OPTIONS_DEFAULT= WEBCAMD FFMPEG
VIDEO_DESC= Video capture driver (Netcam support only if none selected)
BKTR_DESC= BKTR based TV capture cards
@@ -52,6 +52,11 @@ PWCBSD_DESC= PWCBSD based Webcams
PWCBSD_BUILD_DEPENDS= v4l_compat>=1.0.20060801:multimedia/v4l_compat
PWCBSD_RUN_DEPENDS= ${KMODDIR}/pwc.ko:multimedia/pwcbsd
PWCBSD_CONFIGURE_WITH= pwcbsd
+
+WEBCAMD_DESC= Webcams using webcamd
+WEBCAMD_BUILD_DEPENDS= v4l_compat>=1.0.20060801:multimedia/v4l_compat
+# note: all configure --with-pwcbsd does is not shut off v4l support
+WEBCAMD_CONFIGURE_WITH= pwcbsd
FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg
FFMPEG_CONFIGURE_ON= --with-ffmpeg=${LOCALBASE}
More information about the svn-ports-all
mailing list