• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libv4l/libv4l.mk
Baruch SiachBaruch Siach committed 9345b85b47f25 Dec 2017
Raw file
Source viewDiff to previous
 
1
################################################################################
2
#
3
# libv4l
4
#
5
################################################################################
6
​
7
LIBV4L_VERSION = 1.12.6
8
LIBV4L_SOURCE = v4l-utils-$(LIBV4L_VERSION).tar.bz2
9
LIBV4L_SITE = https://linuxtv.org/downloads/v4l-utils
10
LIBV4L_INSTALL_STAGING = YES
11
LIBV4L_DEPENDENCIES = host-pkgconf
12
LIBV4L_CONF_OPTS = --disable-doxygen-doc
13
​
14
# below patches requires autoreconf:
15
# 0004-configure.ac-clarify-configure-summary.patch
16
# 0005-configure.ac-revisit-v4l2-ctl-compliance-using-libv4.patch
17
# 0006-configure.ac-revisit-disable-libv4l-to-disable-dyn-l.patch
18
# 0007-configure.ac-add-disable-libv4l-option.patch
19
# 0008-configure.ac-fix-build-of-v4l-utils-on-uclinux.patch
20
# 0009-configure.ac-add-USE_LIBV4L-to-summary.patch
21
# 0010-Build-libv4lconvert-helper-support-only-when-fork-is.patch
22
# 0011-configure.ac-drop-disable-libv4l-disable-plugin-supp.patch
23
LIBV4L_AUTORECONF = YES
24
# host-gettext needed for autoreconf to work
25
LIBV4L_DEPENDENCIES += host-gettext
26
​
27
# fix uclibc-ng configure/compile
28
LIBV4L_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
29
​
30
# v4l-utils components have different licences, see v4l-utils.spec for details
31
LIBV4L_LICENSE = GPL-2.0+ (utilities), LGPL-2.1+ (libraries)
32
LIBV4L_LICENSE_FILES = COPYING COPYING.libv4l lib/libv4l1/libv4l1-kernelcode-license.txt
33
​
34
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
35
LIBV4L_DEPENDENCIES += alsa-lib
36
endif
37
​
38
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
39
LIBV4L_DEPENDENCIES += argp-standalone
40
LIBV4L_LIBS += -largp
41
endif
42
​
43
LIBV4L_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
44
​
45
ifeq ($(BR2_PACKAGE_JPEG),y)
46
LIBV4L_DEPENDENCIES += jpeg
47
LIBV4L_CONF_OPTS += --with-jpeg
48
else
49
LIBV4L_CONF_OPTS += --without-jpeg
50
endif
51
​
52
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
53
LIBV4L_DEPENDENCIES += libgl
54
endif
55
​
56
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
57
LIBV4L_DEPENDENCIES += udev
58
endif
59
​
60
ifeq ($(BR2_PACKAGE_LIBGLU),y)
61
LIBV4L_DEPENDENCIES += libglu
62
endif
63
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.