summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/netsurf/PKGBUILD43
1 files changed, 22 insertions, 21 deletions
diff --git a/libre/netsurf/PKGBUILD b/libre/netsurf/PKGBUILD
index 3b6ab6e57..3097b1ee5 100644
--- a/libre/netsurf/PKGBUILD
+++ b/libre/netsurf/PKGBUILD
@@ -1,5 +1,4 @@
-# $Id: PKGBUILD 196979 2016-11-26 23:12:42Z arodseth $
-# Maintainer (Arch): Alexander F Rødseth <xyproto@archlinux.org>
+# Maintainer (Arch): Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor (Arch): Paulo Matias <matiasΘarchlinux-br·org>
# Contributor (Arch): Georgij Kondratjev <smpuj@bk.ru>
# Contributor (Arch): Daniel J Griffiths <ghost1227@archlinux.us>
@@ -7,24 +6,25 @@
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=netsurf
-pkgver=3.7
-pkgrel=2.parabola2
-pkgdesc='Lightweight and fast web browser, without non-privacy search engines'
-arch=('x86_64' 'i686' 'armv7h')
-url='http://www.netsurf-browser.org/'
+pkgver=3.8
+pkgrel=2
+pkgrel+=.par1
+pkgdesc='Lightweight and fast web browser'
+pkgdesc+=', without non-privacy search engines'
+arch=('x86_64')
+arch+=('i686' 'armv7h')
+url='https://www.netsurf-browser.org/'
license=('MIT' 'GPL2')
replaces=(${pkgname}-libre)
conflicts=(${pkgname}-libre)
-depends=('curl' 'desktop-file-utils' 'duktape>=2.2.0' 'gtk3' 'lcms2'
- 'libcss>=0.7.0' 'libdom>=0.3.2' 'libmng' 'libnsbmp>=0.1.4'
- 'libnsgif>=0.1.4' 'libnsutils>=0.0.3' 'librsvg' 'libutf8proc>=1.3.1')
-makedepends=('check' 'git' 'inetutils' 'netsurf-buildsystem' 'nsgenbind>=0.5'
- 'perl-html-parser' 're2c' 'setconf')
-# invalid HTTPS cert
-source=("http://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$pkgver.tar.gz"
+depends=('curl' 'gtk3' 'libhubbub' 'libjpeg-turbo' 'libnsutils>=0.0.5' 'libutf8proc>=2.1.1'
+ 'libwapcaplet')
+makedepends=('check' 'inetutils' 'libcss>=0.8.0' 'libdom>=0.3.3' 'libnsbmp>=0.1.5'
+ 'libnsgif>=0.2.1' 'nsgenbind' 'perl-html-parser' 'setconf')
+source=("https://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$pkgver.tar.gz"
'netsurf.sh'
'remove_nonprivacy_options.patch')
-sha256sums=('0b3e78f04728238e4867f2d6505522e777ebafcd0ed02e1e50860885e00a5879'
+sha256sums=('eb4864d4459d6f9958dd10a3301c272ea7f5df72667a7db0aad5bc5ae06c0e10'
'1f1b495af685e611fe4d121c6d48ed63d6dfe0c69bd5637c41cd71b42429fa85'
'61bec340c47a089b1b5c33d3ae330a340999a1e40be7fc8768fa572c6ca3b617')
@@ -68,7 +68,7 @@ prepare() {
s|duckduckgo[.]com|duckduckgo.com/html|
s|duckduckgo[.]com/html/favicon.ico|duckduckgo.com/favicon.ico|
s|seeks-project.info|seeks.fr|g
- ' \!NetSurf/Resources/SearchEngines \
+ ' frontends/riscos/appdir/Resources/SearchEngines \
resources/SearchEngines
sed -i '\|readable name such as| s|google|duckduckgo|
\|readable name such as| s|yahoo|seeks|
@@ -101,10 +101,11 @@ prepare() {
s|ROOL|Dictionary.com|
s|www[.]riscosopen[.]org|dictionary.reference.com|
\|riscos.info|d
- ' \!NetSurf/Resources/de/welcome.html\,faf \
- \!NetSurf/Resources/en/welcome.html\,faf \
- \!NetSurf/Resources/it/welcome.html\,faf \
- \!NetSurf/Resources/ja/welcome.html\,faf
+ ' frontends/riscos/appdir/Resources/de/welcome.html\,faf \
+ frontends/riscos/appdir/Resources/en/welcome.html\,faf \
+ frontends/riscos/appdir/Resources/it/welcome.html\,faf \
+ frontends/riscos/appdir/Resources/ja/welcome.html\,faf \
+ frontends/riscos/appdir/Resources/nl/welcome.html\,faf
sed -i 's|Google|DuckDuckGo HTML|
' frontends/amiga/dist/NetSurf.guide
# patch and remove anything that's left
@@ -112,7 +113,7 @@ prepare() {
}
build() {
- CFLAGS="$CFLAGS -w" make -C "$pkgname-all-$pkgver/$pkgname" \
+ CFLAGS="$CFLAGS -w -Os -funroll-loops" make -C "$pkgname-all-$pkgver/$pkgname" \
NETSURF_GTK_MAJOR=3 \
TARGET=gtk \
LIBDIR=lib \