mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 22:56:33 +00:00
gflags: new package
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Reviewed-by: Abhimanyu Vishwakarma <abhimanyu.v@imgtec.com> Reviewed-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
187997ebb9
commit
97b7fd055d
@ -1015,6 +1015,7 @@ menu "Other"
|
|||||||
source "package/elfutils/Config.in"
|
source "package/elfutils/Config.in"
|
||||||
source "package/fftw/Config.in"
|
source "package/fftw/Config.in"
|
||||||
source "package/flann/Config.in"
|
source "package/flann/Config.in"
|
||||||
|
source "package/gflags/Config.in"
|
||||||
source "package/glibmm/Config.in"
|
source "package/glibmm/Config.in"
|
||||||
source "package/glm/Config.in"
|
source "package/glm/Config.in"
|
||||||
source "package/gmp/Config.in"
|
source "package/gmp/Config.in"
|
||||||
|
13
package/gflags/Config.in
Normal file
13
package/gflags/Config.in
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
config BR2_PACKAGE_GFLAGS
|
||||||
|
bool "gflags"
|
||||||
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
|
help
|
||||||
|
The gflags package contains a C++ library that implements
|
||||||
|
commandline flags processing. It includes built-in support for
|
||||||
|
standard types such as string and the ability to define flags
|
||||||
|
in the source file in which they are used.
|
||||||
|
|
||||||
|
https://github.com/gflags/gflags
|
||||||
|
|
||||||
|
comment "gflags needs a toolchain w/ C++"
|
||||||
|
depends on !BR2_INSTALL_LIBSTDCPP
|
2
package/gflags/gflags.hash
Normal file
2
package/gflags/gflags.hash
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# No hash for v2.1.2, comes from the github-helper:
|
||||||
|
none xxx gflags-v2.1.2.tar.gz
|
17
package/gflags/gflags.mk
Normal file
17
package/gflags/gflags.mk
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# gflags
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
GFLAGS_VERSION = v2.1.2
|
||||||
|
GFLAGS_SITE = $(call github,gflags,gflags,$(GFLAGS_VERSION))
|
||||||
|
GFLAGS_INSTALL_STAGING = YES
|
||||||
|
GFLAGS_LICENSE = BSD-3c
|
||||||
|
GFLAGS_LICENSE_FILES = COPYING.txt
|
||||||
|
|
||||||
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
|
||||||
|
GFLAGS_CONF_OPTS = -DBUILD_gflags_LIB=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(eval $(cmake-package))
|
Loading…
x
Reference in New Issue
Block a user