Update webcamd to 5.7.1.2

List of changes:
- Try probing more drivers, when probe fails (PR 248926)
- While at it, use GitHub to provide the required tarball archives

PR:		248926
Submitted by:	martymac@FreeBSD.org
Approved by:	pi (implicit)
This commit is contained in:
Hans Petter Selasky 2020-12-02 11:29:09 +00:00
parent ff2a1912bc
commit ba75af86b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=556814
3 changed files with 20 additions and 11 deletions

View File

@ -2,11 +2,8 @@
# $FreeBSD$
PORTNAME= webcamd
PORTVERSION= 5.7.1.1
PORTREVISION= 1
DISTVERSION= 5.7.1.2
CATEGORIES= multimedia
MASTER_SITES= http://www.selasky.org/hans_petter/distfiles/ \
http://home.selasky.org/distfiles/
MAINTAINER= hselasky@FreeBSD.org
COMMENT= Port of Linux USB webcam and DVB drivers into userspace
@ -20,6 +17,12 @@ MAKE_ARGS= LIBDIR="${LOCALBASE}/lib" HAVE_CUSE="YES"
USE_RC_SUBR= webcamd
SUB_FILES= webcamd.conf
USE_GITHUB= yes
GH_ACCOUNT= hselasky
GH_PROJECT= ${PORTNAME}
GH_TAGNAME= v${DISTVERSION}
GH_TUPLE= torvalds:linux:v5.7-rc1:linux
OPTIONS_DEFINE= DEBUG HAL VT_CLIENT VT_SERVER DVB INPUT KEYBOARD MOUSE RADIO WEBCAM
OPTIONS_DEFAULT=DVB HAL INPUT RADIO WEBCAM
@ -72,12 +75,16 @@ GROUPS= webcamd
MAKE_ARGS+= HAVE_MAN="YES"
MAKE_ARGS+= PTHREAD_LIBS="-lpthread"
WEBCAMDDIR= ${WRKDIR}/webcamd-${DISTVERSION}
LINUXDIR= ${WRKDIR}/linux-*
do-configure:
${MAKE} -C${WRKSRC}/tools/linux_make
${MAKE} ${MAKE_ARGS} configure -C${WRKSRC}
${MAKE} -C${WEBCAMDDIR}/tools/linux_make
${MAKE} ${MAKE_ARGS} configure -C${WEBCAMDDIR}
post-patch:
@(cd ${WRKSRC}/patches && ${SH} ./do_patch.sh)
@(${RM} -r ${WEBCAMDDIR}/media_tree && ${LN} -s ${LINUXDIR} ${WEBCAMDDIR}/media_tree)
@(cd ${WEBCAMDDIR}/patches && ${SH} ./do_patch.sh)
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/devd

View File

@ -1,3 +1,5 @@
TIMESTAMP = 1587020345
SHA256 (webcamd-5.7.1.1.tar.bz2) = e803b245d0e1ecaf5ff07c5a9700f0951d065827d4907c4615369afab3c102c2
SIZE (webcamd-5.7.1.1.tar.bz2) = 14370502
TIMESTAMP = 1606907858
SHA256 (hselasky-webcamd-5.7.1.2-v5.7.1.2_GH0.tar.gz) = 61193b688b2fdbab8463f4acc3565429f86e0f95ae64eeec6998f9baa0c96fa4
SIZE (hselasky-webcamd-5.7.1.2-v5.7.1.2_GH0.tar.gz) = 240391
SHA256 (torvalds-linux-v5.7-rc1_GH0.tar.gz) = b2367bfb8247f821620d76305580caa1cc4f25ab31cabe3ad61c385d4ddf6df6
SIZE (torvalds-linux-v5.7-rc1_GH0.tar.gz) = 177790226

View File

@ -5,4 +5,4 @@ of Linux USB device drivers into userspace on FreeBSD. The daemon
currently depends on libc, pthreads, libusb and the CUSE kernel
module.
WWW: http://www.selasky.org/hans_petter/video4bsd/
WWW: https://github.com/hselasky/webcamd