netsurf: update to 3.4.

This commit is contained in:
Michael Gehring 2016-02-20 12:23:25 +01:00
parent 4e14f5cedd
commit 8afc29cd24

View File

@ -1,20 +1,21 @@
# Template build file for 'netsurf'.
pkgname=netsurf
version=3.3
revision=4
hostmakedepends="pkg-config gperf flex nsgenbind gdk-pixbuf-devel perl-HTML-Parser"
version=3.4
revision=1
hostmakedepends="pkg-config gperf flex nsgenbind gdk-pixbuf-devel perl-HTML-Parser glib-devel"
makedepends="
libressl-devel libjpeg-turbo-devel libmng-devel libpng-devel libxml2-devel libcurl-devel
lcms-devel libwebp-devel libparserutils-devel libwapcaplet-devel
libhubbub-devel libcss-devel libnsbmp-devel libnsgif-devel libutf8proc-devel
libnsutils-devel libdom-devel gtk+-devel js-devel"
libmng-devel libxml2-devel libcurl-devel lcms-devel libwebp-devel
libcss-devel libnsbmp-devel libnsgif-devel libutf8proc-devel
libnsutils-devel libdom-devel gtk+-devel"
depends="desktop-file-utils shared-mime-info"
short_desc="Free, open source web browser written in C"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2, MIT"
homepage="http://www.netsurf-browser.org"
distfiles="http://download.netsurf-browser.org/netsurf/releases/source/${pkgname}-${version}-src.tar.gz"
checksum=23f92a0940f577b9605f2e54786fea3521680d32d6c00f2a3db1eae3f29e3686
checksum=1648f437994fc18090237430f30d645ff06bab0768ae973575f9391d07613bf6
do_build() {
make ${makejobs} \
@ -22,7 +23,6 @@ do_build() {
NETSURF_USE_BMP=YES \
NETSURF_USE_WEBP=YES \
NETSURF_USE_VIDEO=NO \
NETSURF_USE_MOZJS=YES \
NETSURF_USE_HARU_PDF=NO
}
@ -32,7 +32,6 @@ do_install() {
NETSURF_USE_BMP=YES \
NETSURF_USE_WEBP=YES \
NETSURF_USE_VIDEO=NO \
NETSURF_USE_MOZJS=YES \
NETSURF_USE_HARU_PDF=NO \
DESTDIR=${DESTDIR} install
@ -43,9 +42,9 @@ do_install() {
vinstall ${FILESDIR}/${pkgname}.desktop 0644 usr/share/applications
# Install license
vinstall COPYING 0644 usr/share/licenses/${pkgname}
vlicense COPYING
# Install wrapper for proper localization.
mv ${DESTDIR}/usr/bin/netsurf ${DESTDIR}/usr/bin/netsurf.elf
vinstall ${FILESDIR}/netsurf.sh 755 usr/bin netsurf
vbin ${FILESDIR}/netsurf.sh netsurf
}