X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=blobdiff_plain;f=cross-compile%2Fandroid%2Fsigrok-cross-android;h=8dd674a67cb07aa843264efff75c1e59b8d05632;hp=d024c7f6751b4eb3d26aeb6f918dd730e09c10e1;hb=a72fa42654f8bddae1b1f982e8cb4fc9f4e40435;hpb=a4c5908972c114c7c9608e599fe2ea05ec5db501 diff --git a/cross-compile/android/sigrok-cross-android b/cross-compile/android/sigrok-cross-android index d024c7f..8dd674a 100755 --- a/cross-compile/android/sigrok-cross-android +++ b/cross-compile/android/sigrok-cross-android @@ -16,8 +16,7 @@ ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## along with this program; if not, see . ## set -e @@ -63,7 +62,7 @@ PARALLEL="-j 2" VER_LIBICONV=1.14 VER_GETTEXT=0.19.7 -VER_ZLIB=1.2.8 +VER_ZLIB=1.2.11 VER_PCRE=8.38 VER_LIBFFI=3.2.1 VER_GLIB=2.48.1 @@ -271,7 +270,7 @@ make install $V cd .. # pcre (needed for glib) -$WGET ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$VER_PCRE.tar.gz +$WGET https://ftp.pcre.org/pub/pcre/pcre-$VER_PCRE.tar.gz tar xfz pcre-$VER_PCRE.tar.gz cd pcre-$VER_PCRE ./configure $C --disable-cpp --enable-utf --enable-unicode-properties @@ -497,6 +496,7 @@ find $PREFIX -iname "*.so" -exec ${TOOLCHAIN_TRIPLET}-strip -S {} \; $GIT_CLONE git://sigrok.org/pulseview cd pulseview patch -p1 < ../../pv_cmake_pkgconfig_fix.patch +sed -i -e "s,\t\tandroid:versionName=.*$,\t\tandroid:versionName=\"`date -Iseconds`\"," android/AndroidManifest.xml cmake $CM -DENABLE_TESTS=y . make $PARALLEL $V ${TOOLCHAIN_TRIPLET}-strip -S libs/$TARGET_ARCH/libpulseview.so