mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
The Video4Linux library is a wrapper library for accessing Video4Linux
compliant video devices. It allows for transcoding of capture streams in user space instead of kernel space and creates a standard interface mechanism for video devices. Submitted by: Andrew Thompson <thompsa AT FreeBSD.org> Hans Petter Selasky <hselasky AT FreeBSD.org>
This commit is contained in:
parent
a6b94c6a98
commit
e0367f88a9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247991
31
multimedia/libv4l/Makefile
Normal file
31
multimedia/libv4l/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# Ports collection makefile for: libv4l
|
||||
# Date created: 13 January 2010
|
||||
# Whom: Andrew Thompson <thompsa@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= libv4l
|
||||
PORTVERSION= 0.6.3
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= http://people.fedoraproject.org/~jwrdegoede/
|
||||
|
||||
MAINTAINER= hselasky@FreeBSD.org
|
||||
COMMENT= Video4Linux library
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat
|
||||
|
||||
MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" LIBDIR="${PREFIX}/lib"
|
||||
USE_GZIP= yes
|
||||
USE_GMAKE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
|
||||
${WRKSRC}/libv4l1/Makefile \
|
||||
${WRKSRC}/libv4l2/Makefile \
|
||||
${WRKSRC}/libv4lconvert/Makefile
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
multimedia/libv4l/distinfo
Normal file
3
multimedia/libv4l/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (libv4l-0.6.3.tar.gz) = f480bcbeaaf47257a278a10391ad2650
|
||||
SHA256 (libv4l-0.6.3.tar.gz) = b46c1e77ed2b4b2e4feb26a3b3f915dd290ebded073f3df7daf0a001f51a7965
|
||||
SIZE (libv4l-0.6.3.tar.gz) = 131089
|
11
multimedia/libv4l/files/patch-libv4lsyscall-priv.h
Normal file
11
multimedia/libv4l/files/patch-libv4lsyscall-priv.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- libv4lconvert/libv4lsyscall-priv.h 2010-01-09 23:33:01.000000000 +0100
|
||||
+++ libv4lconvert/libv4lsyscall-priv.h 2010-01-09 23:33:24.000000000 +0100
|
||||
@@ -84,7 +84,7 @@
|
||||
#define SYS_WRITE(fd, buf, len) \
|
||||
syscall(SYS_write, (int)(fd), (void *)(buf), (size_t)(len));
|
||||
#define SYS_MMAP(addr, len, prot, flags, fd, off) \
|
||||
- syscall(SYS_mmap2, (void *)(addr), (size_t)(len), \
|
||||
+ __syscall(SYS_mmap2, (void *)(addr), (size_t)(len), \
|
||||
(int)(prot), (int)(flags), (int)(fd), (__off_t)((off) >> MMAP2_PAGE_SHIFT))
|
||||
#define SYS_MUNMAP(addr, len) \
|
||||
syscall(SYS_munmap, (void *)(addr), (size_t)(len))
|
6
multimedia/libv4l/pkg-descr
Normal file
6
multimedia/libv4l/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
The Video4Linux library is a wrapper library for accessing Video4Linux
|
||||
compliant video devices. It allows for transcoding of capture streams
|
||||
in user space instead of kernel space and creates a standard interface
|
||||
mechanism for video devices.
|
||||
|
||||
WWW: http://freshmeat.net/projects/libv4l
|
17
multimedia/libv4l/pkg-plist
Normal file
17
multimedia/libv4l/pkg-plist
Normal file
@ -0,0 +1,17 @@
|
||||
include/libv4lconvert.h
|
||||
include/libv4l2.h
|
||||
include/libv4l1.h
|
||||
lib/libv4l/ov511-decomp
|
||||
lib/libv4l/ov518-decomp
|
||||
lib/libv4l/v4l2convert.so
|
||||
lib/libv4l/v4l1compat.so
|
||||
lib/libv4lconvert.so.0
|
||||
lib/libv4lconvert.so
|
||||
libdata/pkgconfig/libv4lconvert.pc
|
||||
libdata/pkgconfig/libv4l2.pc
|
||||
libdata/pkgconfig/libv4l1.pc
|
||||
lib/libv4l2.so.0
|
||||
lib/libv4l2.so
|
||||
lib/libv4l1.so.0
|
||||
lib/libv4l1.so
|
||||
@dirrm lib/libv4l
|
Loading…
Reference in New Issue
Block a user