summaryrefslogtreecommitdiff
path: root/network/netsurf
diff options
context:
space:
mode:
authorRuben Schuller <ruben@orgizm.net>2018-12-21 22:50:34 -0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-21 22:50:34 -0900
commit8068b0efbc4de5d60f34e94d78cba21e8e4fc841 (patch)
tree95ef19f3a96ee2006f79882232184eb0df8c745d /network/netsurf
parent2f04afeb015b0b8744e987c188489b7030bdac8a (diff)
downloadslackbuilds-8068b0efbc4de5d60f34e94d78cba21e8e4fc841.tar.gz
network/netsurf: Updated for version 3.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/netsurf')
-rw-r--r--network/netsurf/README4
-rw-r--r--network/netsurf/netsurf.SlackBuild21
-rw-r--r--network/netsurf/netsurf.desktop2
-rw-r--r--network/netsurf/netsurf.info8
4 files changed, 9 insertions, 26 deletions
diff --git a/network/netsurf/README b/network/netsurf/README
index 9bd46bd4e0..c99baf10ac 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 fe748e5d17..649dd16b9a 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 2621854994..256cd87298 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 292b000dcd..a63840e0a4 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"