gphoto2: fix compilation with full NLS 13521/head
authorRosen Penev <rosenp@gmail.com>
Tue, 29 Sep 2020 00:15:07 +0000 (17:15 -0700)
committerRosen Penev <rosenp@gmail.com>
Tue, 29 Sep 2020 06:14:58 +0000 (23:14 -0700)
Reorganized Makefile a little bit for consistency.

Added PKG_BUILD_PARALLEL for faster compilation.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
multimedia/gphoto2/Makefile
multimedia/gphoto2/patches/001-automake-compat.patch
multimedia/gphoto2/patches/002-no-docs-test.patch

index a5c9e11474161c47ba9e6814a808ea78e6abda1e..b92d42ff8ff65aa6aa742d13b373f9976092451e 100644 (file)
@@ -10,19 +10,22 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gphoto2
 PKG_VERSION:=2.5.23
-PKG_RELEASE:=1
-PKG_MAINTAINER:=Leonardo Medici <leonardo_medici@me.com>
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=@SF/gphoto
 PKG_HASH:=df87092100e7766c9d0a4323217c91908a9c891c0d3670ebf40b76903be458d1
+
+PKG_MAINTAINER:=Leonardo Medici <leonardo_medici@me.com>
 PKG_LICENSE:=GPL-2.0
 PKG_LICENSE_FILES:=COPYING
 
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
+PKG_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
 
 define Package/gphoto2
   SECTION:=multimedia
@@ -37,9 +40,7 @@ define Package/gphoto2/description
 endef
 
 CONFIGURE_ARGS += \
-       --without-aalib \
-       --without-libiconv-prefix \
-       --without-libintl-prefix \
+       --without-aalib
 
 CONFIGURE_VARS += \
        LIBGPHOTO2_CFLAGS="$$$$CFLAGS -I$(STAGING_DIR)/usr/include/gphoto2 $$$$CPPFLAGS" \
index 3462749ce5100b1ffe1d3d31d062ff8be9f804d3..03adc5424250c164e9d1bc572de43d930444adbf 100644 (file)
@@ -30,7 +30,7 @@
  
  dnl We cannot use AC_DEFINE_UNQUOTED() for these definitions, as
  dnl we require make to do insert the proper $(datadir) value
-@@ -407,7 +404,6 @@ AC_SUBST([AM_LDFLAGS])
+@@ -406,7 +403,6 @@ AC_SUBST([AM_LDFLAGS])
  # Create output files
  # ---------------------------------------------------------------------------
  AC_CONFIG_FILES([
index 7ede8c928c42b718f8daaf1af39f7a28a474dce7..92d13af28f27b7cddcaba9e9e02c9b6958795efd 100644 (file)
@@ -19,7 +19,7 @@
  all: config.h
 --- a/configure.ac
 +++ b/configure.ac
-@@ -407,16 +407,10 @@ AC_CONFIG_FILES([
+@@ -406,16 +406,10 @@ AC_CONFIG_FILES([
  Makefile
  gphoto2/Makefile
  gphoto-m4/Makefile