diff options
author | Kiyoshi Aman <kiyoshi.aman@gmail.com> | 2020-06-14 20:43:25 +0000 |
---|---|---|
committer | Kiyoshi Aman <kiyoshi.aman@gmail.com> | 2020-06-14 20:43:25 +0000 |
commit | 635178f5caa29f35e6f330726c5f3948a99b09a5 (patch) | |
tree | f0c7988d833215974d953af9d211eb55daee78c9 | |
parent | a627c2d5b575b97f622728f63140c41dde93828b (diff) | |
download | packages-635178f5caa29f35e6f330726c5f3948a99b09a5.tar.gz packages-635178f5caa29f35e6f330726c5f3948a99b09a5.tar.bz2 packages-635178f5caa29f35e6f330726c5f3948a99b09a5.tar.xz packages-635178f5caa29f35e6f330726c5f3948a99b09a5.zip |
user/netsurf: cleanup, switch to gtk3, add webp support and .desktop
-rw-r--r-- | user/netsurf/APKBUILD | 16 | ||||
-rw-r--r-- | user/netsurf/Makefile.config | 1 | ||||
-rw-r--r-- | user/netsurf/netsurf.desktop | 8 |
3 files changed, 14 insertions, 11 deletions
diff --git a/user/netsurf/APKBUILD b/user/netsurf/APKBUILD index 535e5339b..8b95a338e 100644 --- a/user/netsurf/APKBUILD +++ b/user/netsurf/APKBUILD @@ -10,25 +10,21 @@ options="!check" # No tests license="MIT AND GPL-2.0-only WITH openssl-exception" depends="" makedepends="curl-dev zlib-dev bison flex libjpeg-turbo-dev libpng-dev - openssl-dev expat-dev gperf gtk+2.0-dev librsvg-dev + openssl-dev expat-dev gperf gtk+3.0-dev librsvg-dev libwebp-dev perl-html-parser vim" source="http://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$pkgver.tar.gz - Makefile.config + netsurf.desktop " builddir="$srcdir/netsurf-all-$pkgver" -prepare() { - default_prepare - cp "$srcdir"/Makefile.config "$builddir"/netsurf -} - build() { - make PREFIX=/usr NETSURF_USE_VIDEO=YES + make TARGET=gtk3 PREFIX=/usr NETSURF_USE_VIDEO=NO } package() { - make PREFIX=/usr DESTDIR="$pkgdir" install + make TARGET=gtk3 PREFIX=/usr DESTDIR="$pkgdir" install + install -D -m644 "$srcdir"/netsurf.desktop "$pkgdir"/usr/share/applications/netsurf.desktop } sha512sums="fc4c300eef07c540a7e07f8034db25b7e5fb731b5956029af2220f8638802aa38c055ad54b5683c14501aef9c22fb781b96613c16ae9a6996c3833ceede6f9bf netsurf-all-3.10.tar.gz -cb5f7ca711c4a015a49acc25882b9b95e151d69e68a21d1df068f107b2372dc7493a25c0dfc1ef0cf42ceb16ba47ceb1002f6d37c2424512b183b508ee41357e Makefile.config" +81cce213162cc49ea6a85b81c143c480ed202e2d2d06bb79d2eea803d7e8361b063d29c74904451cc2ba4e31cdad3524098344eb140cd5080f83beaf43aa8dbd netsurf.desktop" diff --git a/user/netsurf/Makefile.config b/user/netsurf/Makefile.config deleted file mode 100644 index 0e58d6e7d..000000000 --- a/user/netsurf/Makefile.config +++ /dev/null @@ -1 +0,0 @@ -override NETSURF_USE_VIDEO := NO diff --git a/user/netsurf/netsurf.desktop b/user/netsurf/netsurf.desktop new file mode 100644 index 000000000..c899cbbaa --- /dev/null +++ b/user/netsurf/netsurf.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Version=3.10 +Name=NetSurf +Comment=A minimalist web browser +Icon=web-browser +Categories=Internet +Exec=netsurf-gtk3 |