Add buildroot 2018-02
This commit is contained in:
6
buildroot/package/jasper/Config.in
Normal file
6
buildroot/package/jasper/Config.in
Normal file
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_JASPER
|
||||
bool "jasper"
|
||||
help
|
||||
JPEG-2000 decoder
|
||||
|
||||
http://www.ece.uvic.ca/~mdadams/jasper/
|
||||
2
buildroot/package/jasper/jasper.hash
Normal file
2
buildroot/package/jasper/jasper.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b50413b41bfc82ae419298b41eadcde1aa31f362fb9dc2ac089e5cbc19f60c24 jasper-version-2.0.13.tar.gz
|
||||
28
buildroot/package/jasper/jasper.mk
Normal file
28
buildroot/package/jasper/jasper.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# jasper
|
||||
#
|
||||
################################################################################
|
||||
|
||||
JASPER_VERSION = version-2.0.13
|
||||
JASPER_SITE = $(call github,mdadams,jasper,$(JASPER_VERSION))
|
||||
JASPER_INSTALL_STAGING = YES
|
||||
JASPER_LICENSE = JasPer License Version 2.0
|
||||
JASPER_LICENSE_FILES = LICENSE
|
||||
JASPER_SUPPORTS_IN_SOURCE_BUILD = NO
|
||||
JASPER_CONF_OPTS = \
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_DOXYGEN=TRUE \
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_LATEX=TRUE
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
JASPER_CONF_OPTS += -DJAS_ENABLE_SHARED=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_JPEG),y)
|
||||
JASPER_CONF_OPTS += -DJAS_ENABLE_LIBJPEG=ON
|
||||
JASPER_DEPENDENCIES += jpeg
|
||||
else
|
||||
JASPER_CONF_OPTS += -DJAS_ENABLE_LIBJPEG=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user