libunwind: update to 1.8.1
[openadk.git] / package / v4l-utils / Makefile
bloba18b8574c31da7618777b952c7021931c0025c1b
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
6 PKG_NAME:= v4l-utils
7 PKG_VERSION:= 1.26.1
8 PKG_RELEASE:= 1
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/
14 PKG_NEEDS:= intl
15 PKG_LIBNAME:= libv4l
16 PKG_OPTS:= dev
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
32 CONFIG_STYLE:= meson
33 BUILD_STYLE:= meson
34 INSTALL_STYLE:= meson
36 v4l-utils-install:
37 $(INSTALL_DIR) $(IDIR_V4L_UTILS)/usr/bin
38 $(INSTALL_BIN) $(WRKINST)/usr/bin/v4l2-ctl \
39 $(IDIR_V4L_UTILS)/usr/bin
41 libv4l-install:
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