Initial Commit
- initial default booting image
This commit is contained in:
12
package/libraw/Config.in
Normal file
12
package/libraw/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_LIBRAW
|
||||
bool "libraw"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
libraw is a raw image manipulation library
|
||||
|
||||
http://www.libraw.org/
|
||||
|
||||
comment "libraw needs a toolchain w/ C++"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
5
package/libraw/libraw.hash
Normal file
5
package/libraw/libraw.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Locally calculated
|
||||
sha256 6be43f19397e43214ff56aab056bf3ff4925ca14012ce5a1538a172406a09e63 LibRaw-0.21.4.tar.gz
|
||||
sha256 eea173a556abac0370461e57e12aab266894ea6be3874c2be05fd87871f75449 LICENSE.LGPL
|
||||
sha256 0e3098d2d54a12434715f6679ea408d57da5e8d613c385c58ecc6fe5d30cc81f LICENSE.CDDL
|
||||
sha256 7d6650cef6cf892abe95e55a6bda1e1c42f221fd411b807deb2fc0b805b868d4 README.md
|
||||
52
package/libraw/libraw.mk
Normal file
52
package/libraw/libraw.mk
Normal file
@@ -0,0 +1,52 @@
|
||||
################################################################################
|
||||
#
|
||||
# libraw
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBRAW_VERSION = 0.21.4
|
||||
LIBRAW_SOURCE = LibRaw-$(LIBRAW_VERSION).tar.gz
|
||||
LIBRAW_SITE = http://www.libraw.org/data
|
||||
LIBRAW_INSTALL_STAGING = YES
|
||||
LIBRAW_CONF_OPTS += \
|
||||
--disable-examples \
|
||||
--disable-openmp
|
||||
LIBRAW_LICENSE = LGPL-2.1 or CDDL-1.0
|
||||
LIBRAW_LICENSE_FILES = LICENSE.LGPL LICENSE.CDDL README.md
|
||||
LIBRAW_CPE_ID_VENDOR = libraw
|
||||
LIBRAW_DEPENDENCIES = host-pkgconf
|
||||
LIBRAW_CXXFLAGS = $(TARGET_CXXFLAGS)
|
||||
LIBRAW_CONF_ENV = CXXFLAGS="$(LIBRAW_CXXFLAGS)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_JASPER),y)
|
||||
LIBRAW_CONF_OPTS += --enable-jasper
|
||||
LIBRAW_DEPENDENCIES += jasper
|
||||
# glibc prior to 2.18 only defines constants such as SIZE_MAX or
|
||||
# INT_FAST32_MAX for C++ code if __STDC_LIMIT_MACROS is defined
|
||||
LIBRAW_CXXFLAGS += -D__STDC_LIMIT_MACROS
|
||||
else
|
||||
LIBRAW_CONF_OPTS += --disable-jasper
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_JPEG),y)
|
||||
LIBRAW_CONF_OPTS += --enable-jpeg
|
||||
LIBRAW_DEPENDENCIES += jpeg
|
||||
else
|
||||
LIBRAW_CONF_OPTS += --disable-jpeg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LCMS2),y)
|
||||
LIBRAW_CONF_OPTS += --enable-lcms
|
||||
LIBRAW_DEPENDENCIES += lcms2 host-pkgconf
|
||||
else
|
||||
LIBRAW_CONF_OPTS += --disable-lcms
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
LIBRAW_CONF_OPTS += --enable-zlib
|
||||
LIBRAW_DEPENDENCIES += zlib
|
||||
else
|
||||
LIBRAW_CONF_OPTS += --disable-zlib
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user