v4l.cmake 1.57 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
############################################################################
# v4l.cmake
# Copyright (C) 2014  Belledonne Communications, Grenoble France
#
############################################################################
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
19
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20 21 22
#
############################################################################

23 24 25 26 27 28
lcb_git_repository("git://linuxtv.org/v4l-utils.git")
lcb_git_tag_latest("master")
lcb_git_tag("v4l-utils-1.0.0")
lcb_external_source_paths("externals/v4l-utils")
lcb_may_be_found_on_system(YES)
lcb_ignore_warnings(YES)
Ghislain MARY's avatar
Ghislain MARY committed
29

30 31 32
lcb_build_method("autotools")
lcb_use_autoreconf(YES)
lcb_cross_compilation_options(
33
	"--prefix=${CMAKE_INSTALL_PREFIX}"
34
	"--host=${LINPHONE_BUILDER_HOST}"
35
)
36
lcb_configure_options(
37
	"--disable-v4l-utils"
38
	"--disable-qv4l2"
39 40 41 42
	"--disable-libdvbv5"
	"--with-udevdir=${CMAKE_INSTALL_PREFIX}/etc"
	"--without-jpeg"
)
43
lcb_linking_type("--disable-static" "--enable-shared")