diff options
-rw-r--r-- | network/netsurf/README | 4 | ||||
-rw-r--r-- | network/netsurf/netsurf.SlackBuild | 21 | ||||
-rw-r--r-- | network/netsurf/netsurf.desktop | 2 | ||||
-rw-r--r-- | network/netsurf/netsurf.info | 8 |
4 files changed, 9 insertions, 26 deletions
diff --git a/network/netsurf/README b/network/netsurf/README index 9bd46bd4e0a0..c99baf10ac08 100644 --- a/network/netsurf/README +++ b/network/netsurf/README @@ -3,8 +3,4 @@ under the GNU Public Licence version 2. NetSurf has its own layout and rendering engine entirely written from scratch. It is small and capable of handling many of the web standards in use today. -NETSURF_USE_MOZJS=NO to build without Mozilla js -NETSURF_USE_VIDEO=YES to build with gstreamer-0.10 -NETSURF_USE_WEBP=YES to build with libwebp - Build-time requires: perl-html-parser diff --git a/network/netsurf/netsurf.SlackBuild b/network/netsurf/netsurf.SlackBuild index fe748e5d17d9..649dd16b9ad8 100644 --- a/network/netsurf/netsurf.SlackBuild +++ b/network/netsurf/netsurf.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for netsurf -# Copyright 2012 - 2015 Ruben Schuller +# Copyright 2012 - 2018 Ruben Schuller # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=netsurf -VERSION=${VERSION:-3.3} +VERSION=${VERSION:-3.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,23 +69,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -if [ "${NETSURF_USE_VIDEO:-NO}"=="YES" ]; then - patch --verbose -p1 < $CWD/enable-deprecated.diff -fi - -sed \ - -e 's:_BSD_SOURCE:_DEFAULT_SOURCE:' \ - -e 's:(WARNFLAGS) -Werror:(WARNFLAGS):' \ - -i */Makefile */*/Makefile.target - -make install DESTDIR=$PKG PREFIX=/usr \ - NETSURF_USE_MOZJS=${NETSURF_USE_MOZJS:-YES} \ - NETSURF_USE_WEBP=${NETSURF_USE_WEBP:-NO} \ - NETSURF_USE_VIDEO=${NETSURF_USE_VIDEO:-NO} +make install DESTDIR=$PKG PREFIX=/usr mkdir -p $PKG/usr/share/pixmaps -cp netsurf/gtk/res/netsurf.png $PKG/usr/share/pixmaps -cp netsurf/gtk/res/netsurf.xpm $PKG/usr/share/pixmaps +cp netsurf/resources/netsurf.png $PKG/usr/share/pixmaps mkdir -p $PKG/usr/share/applications cp $CWD/netsurf.desktop $PKG/usr/share/applications diff --git a/network/netsurf/netsurf.desktop b/network/netsurf/netsurf.desktop index 262185499485..256cd87298e8 100644 --- a/network/netsurf/netsurf.desktop +++ b/network/netsurf/netsurf.desktop @@ -3,7 +3,7 @@ Type=Application Name=Netsurf GenericName=Web Browser Comment=Lightweight web browser -Exec=netsurf %U +Exec=netsurf-gtk %U Icon=netsurf Terminal=false StartupNotify=false diff --git a/network/netsurf/netsurf.info b/network/netsurf/netsurf.info index 292b000dcd89..a63840e0a499 100644 --- a/network/netsurf/netsurf.info +++ b/network/netsurf/netsurf.info @@ -1,10 +1,10 @@ PRGNAM="netsurf" -VERSION="3.3" +VERSION="3.8" HOMEPAGE="http://www.netsurf-browser.org" -DOWNLOAD="http://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-3.3.tar.gz" -MD5SUM="699b3653056c02fd989189853d07da55" +DOWNLOAD="https://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-3.8.tar.gz" +MD5SUM="cf3e00b98b630d552ae694be52e23c8a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-html-parser" MAINTAINER="Ruben Schuller" EMAIL="ruben@orgizm.net" |