package/kvazaar: add cryptopp support
host-pkgconf is only needed to find cryptopp when it is explicitly enabled, but a check for pkg-config is still done either way. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> [yann.morin.1998@free.fr: keep host-pkgconf as unconditional dep] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
91923baf49
commit
0a09bd7088
@ -11,6 +11,12 @@ KVAZAAR_LICENSE = BSD-3-Clause, ISC (greatest, x264asm)
|
||||
KVAZAAR_LICENSE_FILES = LICENSE LICENSE.greatest LICENSE.x264asm
|
||||
KVAZAAR_INSTALL_STAGING = YES
|
||||
KVAZAAR_DEPENDENCIES = host-pkgconf
|
||||
KVAZAAR_CONF_OPTS = --without-cryptopp
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CRYPTOPP),y)
|
||||
KVAZAAR_DEPENDENCIES += cryptopp
|
||||
KVAZAAR_CONF_OPTS += --with-cryptopp
|
||||
else
|
||||
KVAZAAR_CONF_OPTS += --without-cryptopp
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user