diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-10-02 01:11:07 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-10-02 01:11:07 -0500 |
commit | 4237dd25aafc915e0e7cdbd79a98567a3b186b7c (patch) | |
tree | 5b30355bfb58f85f1cd331a76304cc7cfb031423 /libre/netsurf | |
parent | ef7dbdc983c2bd62a5cedd58adfda1806c280774 (diff) | |
download | abslibre-4237dd25aafc915e0e7cdbd79a98567a3b186b7c.tar.gz abslibre-4237dd25aafc915e0e7cdbd79a98567a3b186b7c.tar.bz2 abslibre-4237dd25aafc915e0e7cdbd79a98567a3b186b7c.zip |
netsurf: armv7h port
Diffstat (limited to 'libre/netsurf')
-rw-r--r-- | libre/netsurf/PKGBUILD | 7 | ||||
-rw-r--r-- | libre/netsurf/netsurf-remove_webp.patch | 24 |
2 files changed, 29 insertions, 2 deletions
diff --git a/libre/netsurf/PKGBUILD b/libre/netsurf/PKGBUILD index 50a3270e8..757084ec0 100644 --- a/libre/netsurf/PKGBUILD +++ b/libre/netsurf/PKGBUILD @@ -9,7 +9,7 @@ pkgname=netsurf pkgver=3.3 pkgrel=1.parabola2 pkgdesc='Lightweight and fast web browser, without non-privacy search engines' -arch=('x86_64' 'i686') +arch=('x86_64' 'i686' 'armv7h') url='http://www.netsurf-browser.org/' license=('MIT' 'GPL2') replaces=(${pkgname}-libre) @@ -18,12 +18,15 @@ depends=('libmng' 'librsvg' 'libwebp' 'curl' 'lcms' 'desktop-file-utils' 'libnsb makedepends=('re2c' 'netsurf-buildsystem' 'perl-html-parser' 'nsgenbind' 'inetutils' 'libwebp') install="$pkgname.install" source=("http://download.$pkgname-browser.org/$pkgname/releases/source/$pkgname-$pkgver-src.tar.gz" + 'netsurf-remove_webp.patch' 'netsurf.sh') sha256sums=('23f92a0940f577b9605f2e54786fea3521680d32d6c00f2a3db1eae3f29e3686' + 'f3729afed925f2762b4800c40065d352f70ac5a77c17df031f1943e3ee68c080' '70310682d1612457d7bb3096549110b6ec127f50e97853259fada6be0c52924b') prepare() { cd "$pkgname-$pkgver" + patch -Np1 -i "$srcdir/netsurf-remove_webp.patch" # remove non-privacy search engines sed -i '\|Google|d @@ -100,7 +103,7 @@ build() { make -C "$pkgname-$pkgver" \ PREFIX=/usr \ TARGET=gtk \ - NETSURF_USE_WEBP=YES \ + NETSURF_USE_WEBP=NO \ NETSURF_USE_VIDEO=NO \ NETSURF_USE_JS=NO \ NETSURF_USE_MOZJS=NO # Javascript is disabled, for now. See FS#41582 diff --git a/libre/netsurf/netsurf-remove_webp.patch b/libre/netsurf/netsurf-remove_webp.patch new file mode 100644 index 000000000..d55ca287d --- /dev/null +++ b/libre/netsurf/netsurf-remove_webp.patch @@ -0,0 +1,24 @@ +--- netsurf-3.3.orig/image/image.c 2015-10-02 05:50:57.797404767 +0000 ++++ netsurf-3.3/image/image.c 2015-10-02 05:53:03.592308206 +0000 +@@ -37,8 +37,6 @@ + #include "image/png.h" + #include "image/rsvg.h" + #include "image/svg.h" +-#include "image/webp.h" +- + #include "image/image.h" + + /** +@@ -98,12 +96,6 @@ + return error; + #endif + +-#ifdef WITH_WEBP +- error = webp_init(); +- if (error != NSERROR_OK) +- return error; +-#endif /* WITH_WEBP */ +- + return NSERROR_OK; + } + |