package/libdmtx: bump version to 0.7.5
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 31 Aug 2019 10:49:30 +0000 (12:49 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 6 Sep 2019 07:05:24 +0000 (09:05 +0200)
According to https://sourceforge.net/projects/libdmtx the project was
moved to https://github.com/dmtx so update project URL in Config.in.

Updated license hash due to upstream commit
https://github.com/dmtx/libdmtx/commit/b65ff367ad90ab29568a5719b2ec07a2c2a6d8e8

Added AUTORECONF because the github tarball does not include a
configure script.

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

index b81b99c4232cd223ffad9a575c9574531c07085c..20f469148c74550eed362a5f9346721f985d6bc3 100644 (file)
@@ -4,4 +4,4 @@ config BR2_PACKAGE_LIBDMTX
          libdmtx is a software library that enables programs to read
          and write Data Matrix barcodes of the modern ECC200 variety.
 
-         http://www.libdmtx.org/
+         https://github.com/dmtx/libdmtx
index 01e4ba491007d60a716e0b68c75f9786cc44fb22..98eef9aeeb74375e8b490120eee4df41c524618c 100644 (file)
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256  686bcfb44e50b96345aa53f41e285f2118a2cf87a333b69b74165a2e7ddca492  libdmtx-0.7.4.tar.gz
-sha256  fe6959a664a7abb7d19bf125fa58a045d8757fe3cb3dc41975a54da0e627313d  LICENSE
+sha256  be0c5275695a732a5f434ded1fcc232aa63b1a6015c00044fe87f3a689b75f2e  libdmtx-0.7.5.tar.gz
+sha256  fcc277b7302645322c63de22b9b0bdae2df3dfa7d6cbc0d5bed7a4d3f1a9af79  LICENSE
index f718b137b554dd3eef7e93d20927d6e8f318a414..39fb8d1a4d4342fc0fe83f11d541c4f7cd6c7f0a 100644 (file)
@@ -4,10 +4,19 @@
 #
 ################################################################################
 
-LIBDMTX_VERSION = 0.7.4
-LIBDMTX_SITE = http://downloads.sourceforge.net/project/libdmtx/libdmtx/$(LIBDMTX_VERSION)
+LIBDMTX_VERSION = 0.7.5
+LIBDMTX_SITE = $(call github,dmtx,libdmtx,v$(LIBDMTX_VERSION))
 LIBDMTX_LICENSE = BSD-2-Clause or Special Permission
 LIBDMTX_LICENSE_FILES = LICENSE
 LIBDMTX_INSTALL_STAGING = YES
+# github tarball does not include configure
+LIBDMTX_AUTORECONF = YES
+
+# Create the m4 directory (missing from the archive).
+# This is required for autoconf.
+define LIBDMTX_CREATE_M4
+       mkdir -p $(@D)/m4
+endef
+LIBDMTX_PRE_CONFIGURE_HOOKS += LIBDMTX_CREATE_M4
 
 $(eval $(autotools-package))