[arch-commits] Commit in netsurf/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Mon Jul 6 23:09:14 UTC 2020


    Date: Monday, July 6, 2020 @ 23:09:13
  Author: arodseth
Revision: 658089

upgpkg: netsurf 3.10-1

Modified:
  netsurf/trunk/PKGBUILD

----------+
 PKGBUILD |   37 +++++++++++++------------------------
 1 file changed, 13 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-06 23:02:13 UTC (rev 658088)
+++ PKGBUILD	2020-07-06 23:09:13 UTC (rev 658089)
@@ -4,20 +4,20 @@
 # Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=netsurf
-pkgver=3.9
-pkgrel=2
+pkgver=3.10
+pkgrel=1
 pkgdesc='Lightweight and fast web browser'
 arch=(x86_64)
 url='https://www.netsurf-browser.org/'
 license=(MIT GPL2)
-depends=(curl gtk3 'libhubbub=0.3.6' libjpeg-turbo 'libnsutils=0.0.5-4'
-         'libutf8proc>=2.4.0' 'libwapcaplet>=0.4.2' 'libdom>=0.4.0')
+depends=(curl gtk3 'libhubbub=0.3.7' libjpeg-turbo 'libnsutils=0.1.0'
+         'libutf8proc>=2.5.0' 'libwapcaplet>=0.4.3' 'libdom>=0.4.1' libwebp)
 # vim is needed only for xxd when building
-makedepends=(check inetutils 'libcss>=0.9.0' 'libnsbmp>=0.1.5'
-             'libnsgif>=0.2.1' 'nsgenbind>=0.7' perl-html-parser setconf vim)
+makedepends=(check inetutils 'libcss>=0.9.1' 'libnsbmp>=0.1.6'
+             'libnsgif>=0.2.1' 'nsgenbind>=0.8' perl-html-parser setconf vim)
 source=("https://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$pkgver.tar.gz"
         netsurf.sh)
-sha256sums=('11e384eaf47e65c186da5001f1055a02f2d72ff17b50f403b8392546a2cf65ff'
+sha256sums=('495adf6b6614ce36fca6c605f7c321f9cb4a3df838043158122678ce2b3325b7'
             '34c1f41c02ff3791a1b734197d99ec7f58c403dee05f0f9b7b9b3509d32b51ac')
 
 prepare() {
@@ -24,26 +24,16 @@
   cd "$pkgname-all-$pkgver/$pkgname"
 
   # Fix compilation issues
-  sed -i 's:libutf8proc/::;s:UTF8PROC_CCC_VIRAMA:UTF8PROC_BIDI_CLASS_EN:' \
-    utils/idna.c
-
+  sed -i 's:libutf8proc/::;s:UTF8PROC_CCC_VIRAMA:UTF8PROC_BIDI_CLASS_EN:' utils/idna.c
   # Use "netsurf" as the name of the executable in /usr/bin
   setconf frontends/gtk/res/netsurf-gtk.desktop 'Exec=netsurf %u'
-
-  # Set build configuration in Makefile.defaults
-  for opt in \
-    NETSURF_UA_FORMAT_STRING='"NetSurf/%d.%d (%s; Arch Linux)"' \
-    NETSURF_USE_DUKTAPE=YES
-  do
-    setconf Makefile.defaults "$opt"
-  done
 }
 
 build() {
-  CFLAGS="$CFLAGS -w -Os -funroll-loops" make \
-    -C "$pkgname-all-$pkgver/$pkgname" \
-    NETSURF_GTK_MAJOR=3 \
-    TARGET=gtk \
+  CFLAGS="$CFLAGS -w -Os -funroll-loops" \
+    make -C "$pkgname-all-$pkgver/$pkgname" \
+    NETSURF_UA_FORMAT_STRING='"NetSurf/%d.%d (%s; Arch Linux)"' \
+    TARGET=gtk3 \
     LIBDIR=lib \
     INCLUDEDIR=include \
     PREFIX=/usr
@@ -51,8 +41,7 @@
 
 package() {
   make -C "$pkgname-all-$pkgver/$pkgname" \
-    TARGET=gtk \
-    NETSURF_GTK_MAJOR=3 \
+    TARGET=gtk3 \
     LIBDIR=lib \
     INCLUDEDIR=include \
     DESTDIR="$pkgdir" \



More information about the arch-commits mailing list