0a09bd7088
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>
23 lines
715 B
Makefile
23 lines
715 B
Makefile
################################################################################
|
|
#
|
|
# kvazaar
|
|
#
|
|
################################################################################
|
|
|
|
KVAZAAR_VERSION = 2.1.0
|
|
KVAZAAR_SOURCE = kvazaar-$(KVAZAAR_VERSION).tar.xz
|
|
KVAZAAR_SITE = https://github.com/ultravideo/kvazaar/releases/download/v$(KVAZAAR_VERSION)
|
|
KVAZAAR_LICENSE = BSD-3-Clause, ISC (greatest, x264asm)
|
|
KVAZAAR_LICENSE_FILES = LICENSE LICENSE.greatest LICENSE.x264asm
|
|
KVAZAAR_INSTALL_STAGING = YES
|
|
KVAZAAR_DEPENDENCIES = host-pkgconf
|
|
|
|
ifeq ($(BR2_PACKAGE_CRYPTOPP),y)
|
|
KVAZAAR_DEPENDENCIES += cryptopp
|
|
KVAZAAR_CONF_OPTS += --with-cryptopp
|
|
else
|
|
KVAZAAR_CONF_OPTS += --without-cryptopp
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|