From 475eaa4b34e680ca762e612a31ad361d40b41ea1 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Fri, 11 Dec 2020 16:37:49 +0200 Subject: [PATCH] netsurf: symlink: netsurf --> netsurf-gtk3 --- x11-packages/netsurf/build.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/x11-packages/netsurf/build.sh b/x11-packages/netsurf/build.sh index 950f0c2c6..43760ea9b 100644 --- a/x11-packages/netsurf/build.sh +++ b/x11-packages/netsurf/build.sh @@ -3,12 +3,13 @@ TERMUX_PKG_DESCRIPTION="NetSurf is a free, open source web browser" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="Leonid Pliushch " TERMUX_PKG_VERSION=3.9 -TERMUX_PKG_REVISION=20 +TERMUX_PKG_REVISION=21 TERMUX_PKG_SRCURL=http://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=11e384eaf47e65c186da5001f1055a02f2d72ff17b50f403b8392546a2cf65ff TERMUX_PKG_DEPENDS="desktop-file-utils, exo, libjpeg-turbo, libpng, gtk3, openssl, libcurl, libiconv, libwebp" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-gtk3" TERMUX_PKG_BUILD_IN_SRC=true + termux_step_configure () { echo CC=$CC export HOST=`$CC -dumpmachine` @@ -21,10 +22,12 @@ termux_step_configure () { # required the nsgenbind tool so that it can be executed on the *host* (it is used during the build process only) make PREFIX="${TERMUX_PREFIX}" NETSURF_GTK_MAJOR=3 NETSURF_USE_DUKTAPE=NO NETSURF_USE_LIBICONV_PLUG=NO toolchain=clang } + termux_step_make() { - # Nothing to do + # Nothing to do echo CC=$CC } + termux_step_make_install () { echo CC=$CC export HOST=`$CC -dumpmachine` @@ -33,4 +36,5 @@ termux_step_make_install () { export CPPFLAGS+=" -I${TERMUX_PREFIX}/include" export CXXFLAGS+=" -I${TERMUX_PREFIX}/include" make install PREFIX="${TERMUX_PREFIX}" NETSURF_GTK_MAJOR=3 NETSURF_USE_DUKTAPE=NO NETSURF_USE_LIBICONV_PLUG=NO toolchain=clang -} + ln -sfr $TERMUX_PREFIX/bin/netsurf-gtk3 $TERMUX_PREFIX/bin/netsurf +}