summaryrefslogtreecommitdiff
path: root/graphics/unicap/Makefile
blob: fa9ce17acbb7fdd0f2e8c9b15cd9d8b2e648fd9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $NetBSD: Makefile,v 1.25 2013/05/31 12:41:10 wiz Exp $

DISTNAME=	unicap-0.9.3
PKGREVISION=	19
CATEGORIES=	graphics
MASTER_SITES=	http://unicap-imaging.org/downloads/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://unicap-imaging.org/
COMMENT=	Uniform interface to video capture devices

USE_TOOLS+=		perl pkg-config gmake intltool msgfmt
USE_LIBTOOL=		yes
USE_PKGLOCALEDIR=	yes
GNU_CONFIGURE=		yes

CONFIGURE_ARGS+=	--disable-v4l
CONFIGURE_ARGS+=	--disable-vid21394
CONFIGURE_ARGS+=	--enable-ucil-theora
#CONFIGURE_ARGS+=	--enable-ucil-avcodec

.if exists(/usr/include/sys/videoio.h)
CONFIGURE_ARGS+=	--enable-v4l2
.else
CONFIGURE_ARGS+=	--disable-v4l2
.endif

.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
#.include "../../multimedia/ffmpeg/buildlink3.mk"
.include "../../multimedia/libtheora/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libICE/buildlink3.mk"
.include "../../x11/libXv/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"