network/netsurf: Updated for version 3.8.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Ruben Schuller 2018-12-21 22:50:34 -09:00 committed by Willy Sudiarto Raharjo
parent 2f04afeb01
commit 8068b0efbc
4 changed files with 9 additions and 26 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"