package/libgphoto2: bump version to 2.5.26
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 7 Feb 2021 12:43:04 +0000 (13:43 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 8 Feb 2021 07:29:05 +0000 (08:29 +0100)
Removed md5 hash, reformatted remaining hashes.
Added optional support for libcurl available since version 2.5.24.

Release notes: https://github.com/gphoto/libgphoto2/blob/master/NEWS

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libgphoto2/libgphoto2.hash
package/libgphoto2/libgphoto2.mk

index 0d965da0f13044adfd30e52c03c45d2dead0407f..e405735c8b6ad27e19ab4709ba179110d89e178c 100644 (file)
@@ -1,7 +1,6 @@
-# https://sourceforge.net/projects/gphoto/files/libgphoto/2.5.23/
-md5 bf052ce815e607dc781c5b0f3c5ca5c0 libgphoto2-2.5.23.tar.bz2
-sha1 01f91d2b5d2aef7e80ab846fea4d5eb5cc67ed79 libgphoto2-2.5.23.tar.bz2
+# https://sourceforge.net/projects/gphoto/files/libgphoto/2.5.26/
+sha1  38373ef7f76e90492ffca309094487fb1474f3fe  libgphoto2-2.5.26.tar.bz2
 
 # Locally calculated hash
-sha256 d8af23364aa40fd8607f7e073df74e7ace05582f4ba13f1724d12d3c97e8852d libgphoto2-2.5.23.tar.bz2
-sha256 ebc385a0b1d477be5177ed6d9129557aa59a3ad0f26ebe7dd97ee942a0fb68ee COPYING
+sha256  7740fea3cbb78489071cdfec06c07fab528e69e27ac82734eae6a73eaeeabcd4  libgphoto2-2.5.26.tar.bz2
+sha256  ebc385a0b1d477be5177ed6d9129557aa59a3ad0f26ebe7dd97ee942a0fb68ee  COPYING
index 63e6a8775f0c959157c2454cc5d24b0cb34884c5..1d42ba862f58a5120c494c71c807a57525859aea 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBGPHOTO2_VERSION = 2.5.23
+LIBGPHOTO2_VERSION = 2.5.26
 LIBGPHOTO2_SOURCE = libgphoto2-$(LIBGPHOTO2_VERSION).tar.bz2
 # Project is maintained on github but github tarball doesn't have
 # configure, so use tarballs from SourceForge
@@ -27,6 +27,13 @@ ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y)
 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