Browse Source

Fixed Megatools build for 1.9.98 version

android-5
David Martinez 8 years ago
committed by Fredrik Fornwall
parent
commit
bf47760f39
  1. 2
      packages/megatools/build.sh
  2. 15
      packages/megatools/configure.ac.patch

2
packages/megatools/build.sh

@ -1,6 +1,6 @@
TERMUX_PKG_HOMEPAGE=https://github.com/megous/megatools
TERMUX_PKG_DESCRIPTION="Open-source command line tools and C library (libmega) for accessing Mega.co.nz cloud storage"
TERMUX_PKG_VERSION=1.9.97
TERMUX_PKG_VERSION=1.9.98
TERMUX_PKG_SRCURL=https://github.com/megous/megatools/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_FOLDERNAME=megatools-$TERMUX_PKG_VERSION
TERMUX_PKG_DEPENDS="glib, libandroid-support, libcurl, libgmp, openssl"

15
packages/megatools/configure.ac.patch

@ -1,15 +0,0 @@
--- ../../build/megatools/cache/megatools-1.9.97/configure.ac 2016-02-02 18:26:06.000000000 +0100
+++ ./configure.ac 2016-10-12 23:00:37.626524369 +0200
@@ -42,11 +42,7 @@
AC_SUBST(GLIB_MAKEFILE)
# check gobject-introspection
-AS_IF([test "x$enable_shared" = "xyes"], [
- GOBJECT_INTROSPECTION_CHECK([$GOBJECT_INTROSPECTION_VERSION])
-], [
- AM_CONDITIONAL([HAVE_INTROSPECTION], [false])
-])
+AM_CONDITIONAL([HAVE_INTROSPECTION], [true])
# check openssl
PKG_CHECK_MODULES(OPENSSL, [$OPENSSL_REQUIRES])
Loading…
Cancel
Save