aboutsummaryrefslogtreecommitdiff
path: root/multimedia/v4l_compat/Makefile
blob: 50cb6ec7196612b59edb8718caa43a6e7fb7aa1c (plain) (blame)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53

PORTNAME=	v4l_compat

COMMENT=	Video4Linux IOCTL header files

NO_BUILD=	yes
NO_ARCH=	yes

MASTERDIR=	${.CURDIR}/../libv4l
DESCR=		${.CURDIR}/pkg-descr
PLIST=		${.CURDIR}/pkg-plist

BASE_HEADERS= \
	linux/cec.h \
	linux/cec-funcs.h \
	linux/dvb/audio.h \
	linux/dvb/ca.h \
	linux/dvb/dmx.h \
	linux/dvb/frontend.h \
	linux/dvb/net.h \
	linux/dvb/osd.h \
	linux/dvb/version.h \
	linux/dvb/video.h \
	linux/ivtv.h \
	linux/lirc.h \
	linux/media.h \
	linux/media-bus-format.h \
	linux/v4l2-common.h \
	linux/v4l2-controls.h \
	linux/v4l2-mediabus.h \
	linux/v4l2-subdev.h \
	linux/videodev2.h

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/linux/dvb

.for F in ${BASE_HEADERS}
	${INSTALL_DATA} \
		${LINUXDIR}/include/uapi/${F} \
		${STAGEDIR}${PREFIX}/include/${F}
.endfor

# V4L1 is dead in upstream Linux, however libv4l still supports it.
	${INSTALL_DATA} \
		${FILESDIR}/videodev.h \
		${STAGEDIR}${PREFIX}/include/linux/

# Install types header file
	${INSTALL_DATA} \
		${FILESDIR}/types.h \
		${STAGEDIR}${PREFIX}/include/linux/

.include "${MASTERDIR}/Makefile"