Initial Commit
- initial default booting image
This commit is contained in:
16
package/libgphoto2/Config.in
Normal file
16
package/libgphoto2/Config.in
Normal file
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_LIBGPHOTO2
|
||||
bool "libgphoto2"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
||||
select BR2_PACKAGE_LIBTOOL
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
help
|
||||
libgphoto2 is the core library designed to allow access to
|
||||
digital camera by external programs.
|
||||
|
||||
http://gphoto.org/proj/libgphoto2/
|
||||
|
||||
comment "libgphoto needs a toolchain w/ threads, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
3
package/libgphoto2/libgphoto2.hash
Normal file
3
package/libgphoto2/libgphoto2.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated hash
|
||||
sha256 51993f5d9bfb6b4e5925cbbe5883085791bff6f81bcacb8ffe1b783ce76d586a libgphoto2-2.5.34.tar.xz
|
||||
sha256 530128f45fc02d92d4dae04d9c1e1f28a078a9b0d32c0ab254c406ba8fba43ec COPYING
|
||||
58
package/libgphoto2/libgphoto2.mk
Normal file
58
package/libgphoto2/libgphoto2.mk
Normal file
@@ -0,0 +1,58 @@
|
||||
################################################################################
|
||||
#
|
||||
# libgphoto2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBGPHOTO2_VERSION = 2.5.34
|
||||
LIBGPHOTO2_SOURCE = libgphoto2-$(LIBGPHOTO2_VERSION).tar.xz
|
||||
LIBGPHOTO2_SITE = https://github.com/gphoto/libgphoto2/releases/download/v$(LIBGPHOTO2_VERSION)
|
||||
LIBGPHOTO2_LICENSE = LGPL-2.1+, GPL-2.0 (adc65), GPL-2.0+ (some camlibs), \
|
||||
LGPL-2.0 (sipix), LGPL-3.0+ (pentax), BSD-3-Clause (ax203/tinyjpeg)
|
||||
# 0001-autoconf-checks-for-the-size-type-of-jpeg_mem_dest.patch
|
||||
LIBGPHOTO2_AUTORECONF = YES
|
||||
# There is a single license file for the LGPL-2.1, no license files
|
||||
# for other licenses
|
||||
LIBGPHOTO2_LICENSE_FILES = COPYING
|
||||
LIBGPHOTO2_INSTALL_STAGING = YES
|
||||
|
||||
LIBGPHOTO2_DEPENDENCIES = libxml2 libusb libtool host-pkgconf
|
||||
|
||||
LIBGPHOTO2_CONF_ENV = udevscriptdir=/lib/udev
|
||||
LIBGPHOTO2_CONF_OPTS += --without-rpmbuild --disable-gp2ddb --disable-internal-docs
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y)
|
||||
# libusb-compat is not actually used, but it is detected, so add it
|
||||
# here to guarantee reproducible builds
|
||||
LIBGPHOTO2_DEPENDENCIES += libusb-compat
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
||||
LIBGPHOTO2_DEPENDENCIES += libcurl
|
||||
LIBGPHOTO2_CONF_OPTS += --with-libcurl=auto
|
||||
else
|
||||
LIBGPHOTO2_CONF_OPTS += --with-libcurl=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBEXIF),y)
|
||||
LIBGPHOTO2_DEPENDENCIES += libexif
|
||||
LIBGPHOTO2_CONF_OPTS += --with-libexif=auto
|
||||
else
|
||||
LIBGPHOTO2_CONF_OPTS += --with-libexif=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_JPEG),y)
|
||||
LIBGPHOTO2_DEPENDENCIES += jpeg
|
||||
LIBGPHOTO2_CONF_OPTS += --with-jpeg
|
||||
else
|
||||
LIBGPHOTO2_CONF_OPTS += --without-jpeg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GD),y)
|
||||
LIBGPHOTO2_DEPENDENCIES += gd
|
||||
LIBGPHOTO2_CONF_OPTS += --with-gdlib=auto
|
||||
else
|
||||
LIBGPHOTO2_CONF_OPTS += --with-gdlib=no
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user