1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 4a71608c0ef7df2931176989e6d32b445c0bdc1030a2376d929c8ca6e550ec4e
10 PKG_DESCR
:= video4linux utilities
11 PKG_SECTION
:= mm
/video
12 PKG_BUILDDEP
:= libjpeg-turbo
13 PKG_SITES
:= https
://www.linuxtv.org
/downloads
/v4l-utils
/
18 PKG_SUBPKGS
:= V4L_UTILS LIBV4L
19 PKGSC_LIBV4L
:= libs
/video
20 PKGSD_LIBV4L
:= Video4Linux2 libraries
22 include $(ADK_TOPDIR
)/mk
/package.mk
24 $(eval
$(call PKG_template
,V4L_UTILS
,v4l-utils
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 $(eval
$(call PKG_template
,LIBV4L
,libv4l
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBV4L},${PKGSC_LIBV4L},${PKG_OPTS}))
27 TARGET_CPPFLAGS
+= -DLINUX_I2C_DEV_H
28 WRKBUILD
= $(WRKDIR
)/$(PKG_NAME
)-obj
30 MESON_FLAGS
+= -Dgconv
=disabled
37 $(INSTALL_DIR
) $(IDIR_V4L_UTILS
)/usr
/bin
38 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/v4l2-ctl \
39 $(IDIR_V4L_UTILS
)/usr
/bin
42 $(INSTALL_DIR
) $(IDIR_LIBV4L
)/usr
/lib
/libv4l
43 $(CP
) $(WRKINST
)/usr
/lib
/libv4l
*so
* \
44 $(IDIR_LIBV4L
)/usr
/lib
45 $(CP
) $(WRKINST
)/usr
/lib
/libv4l
/v4l
{1compat
,2convert
}.so \
46 $(IDIR_LIBV4L
)/usr
/lib
/libv4l
48 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk