summaryrefslogtreecommitdiff
path: root/libre/netsurf/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-02-21 13:40:13 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-02-21 13:40:13 -0500
commit36faca222c814975d03eb7d7ec2056f8b1f0dad3 (patch)
tree6b854b3a924105e96a528521e8c9921ed518f907 /libre/netsurf/PKGBUILD
parent3a9fc4e42ee2c1aab04397ef08d2cf3e73838bee (diff)
downloadabslibre-36faca222c814975d03eb7d7ec2056f8b1f0dad3.tar.gz
abslibre-36faca222c814975d03eb7d7ec2056f8b1f0dad3.tar.bz2
abslibre-36faca222c814975d03eb7d7ec2056f8b1f0dad3.zip
netsurf-3.4-1.parabola1: updating version
Diffstat (limited to 'libre/netsurf/PKGBUILD')
-rw-r--r--libre/netsurf/PKGBUILD25
1 files changed, 11 insertions, 14 deletions
diff --git a/libre/netsurf/PKGBUILD b/libre/netsurf/PKGBUILD
index 9b9a7d3b2..3c659b5f5 100644
--- a/libre/netsurf/PKGBUILD
+++ b/libre/netsurf/PKGBUILD
@@ -6,18 +6,18 @@
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=netsurf
-pkgver=3.3
-pkgrel=3.parabola1
+pkgver=3.4
+pkgrel=1.parabola1
pkgdesc='Lightweight and fast web browser, without non-privacy search engines'
arch=('x86_64' 'i686' 'armv7h')
url='http://www.netsurf-browser.org/'
license=('MIT' 'GPL2')
replaces=(${pkgname}-libre)
conflicts=(${pkgname}-libre)
-depends=('libmng' 'librsvg' 'curl' 'lcms' 'desktop-file-utils' 'libnsbmp>=0.1.1' 'libnsgif>=0.1.1' 'libcss>=0.5.0' 'libdom>=0.1.2' 'gtk2' 'libnsutils' 'libutf8proc>1.3.1-2') # 'libwebp' 'gtk3'
-makedepends=('re2c' 'netsurf-buildsystem' 'perl-html-parser' 'nsgenbind' 'inetutils' 'libutf8proc>1.3.1-2' 'git') # 'libwebp'
+depends=('libmng' 'librsvg' 'curl' 'lcms' 'desktop-file-utils' 'libnsbmp>=0.1.3' 'libnsgif>=0.1.3' 'libcss>=0.6.0-2' 'libdom>=0.3.0' 'libnsutils>=0.0.2' 'libutf8proc>=1.3.1-3' 'gtk3') # 'duktape'
+makedepends=('re2c' 'netsurf-buildsystem' 'perl-html-parser' 'nsgenbind' 'inetutils' 'libutf8proc>1.3.1-2' 'git' 'setconf' 'check' 'gtk3') # 'duktape'
install="$pkgname.install"
-#source=("git://git.netsurf-browser.org/netsurf.git#commit=3cc80"
+#source=("git://git.netsurf-browser.org/netsurf.git#commit=592ff0ef76199e4cc5089e7e76036ae259bcdcd2"
source=("git://git.netsurf-browser.org/netsurf.git#tag=release/$pkgver"
'netsurf.sh')
sha256sums=('SKIP'
@@ -31,7 +31,8 @@ prepare() {
sed 's:libutf8proc/::' -i utils/idna.c
sed 's:UTF8PROC_CCC_VIRAMA:UTF8PROC_BIDI_CLASS_EN:' -i utils/idna.c
sed 's:utf8proc_normalise:utf8proc_reencode:' -i utils/idna.c
- # There are several errors. Asking netsurf upstream to look at it.
+ setconf Makefile.defaults NETSURF_UA_FORMAT_STRING '"NetSurf/%d.%d (%s; Parabola GNU/Linux-libre)"'
+ setconf Makefile.defaults NETSURF_USE_DUKTAPE NO
# remove non-privacy search engines
sed -i '\|Google|d
@@ -100,19 +101,15 @@ prepare() {
}
build() {
- make -C "$pkgname" \
- PREFIX=/usr \
- TARGET=gtk \
- NETSURF_USE_WEBP=NO \
- NETSURF_USE_VIDEO=NO \
- NETSURF_USE_JS=NO \
- NETSURF_USE_MOZJS=NO # Javascript is disabled, for now. See FS#41582
+ make -C "$pkgname" LIBDIR=lib INCLUDEDIR=include PREFIX=/usr TARGET=gtk \
+ NETSURF_GTK_MAJOR=3
}
package() {
cd "$pkgname"
- make install PREFIX=/usr DESTDIR="$pkgdir"
+ make install LIBDIR=lib INCLUDEDIR=include PREFIX=/usr TARGET=gtk \
+ NETSURF_GTK_MAJOR=3 DESTDIR="$pkgdir"
# Script and executable
mv "$pkgdir/usr/bin/$pkgname" "$pkgdir/usr/bin/$pkgname.elf"