Merge pull request #3658 from ebfe/netsurf

netsurf: update to 3.4. + dependencies
This commit is contained in:
Enno Boland 2016-02-20 19:07:50 +01:00
commit 37b2500c54
12 changed files with 48 additions and 49 deletions

View File

@ -1,6 +1,6 @@
# Template build file for 'libcss'.
pkgname=libcss
version=0.5.0
version=0.6.0
revision=1
hostmakedepends="pkg-config perl netsurf-buildsystem"
makedepends="libparserutils-devel libwapcaplet-devel"
@ -9,7 +9,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://www.netsurf-browser.org"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
checksum=ecaa09b07d4ecfd4644163bc0f0332b81aaaffbb9a373465e15e44e06666faf1
checksum=4eb5228e5c480e31ba8ca098cedfec3a7ef90302ede77989caedf11670b8e462
CFLAGS="-Wno-error"
do_build() {
@ -21,7 +21,7 @@ do_install() {
make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install
make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall COPYING 0644 usr/share/licenses/${pkgname}
vlicense COPYING
}
libcss-devel_package() {

View File

@ -1,9 +1,9 @@
# Template build file for 'libdom'.
pkgname=libdom
# Use date version to respect previous pkg... omg.
_datever=20140428
version=${_datever}.0.1.1
revision=2
_datever=20160217
version=${_datever}.0.3.0
revision=1
wrksrc="${pkgname}-${version#${_datever}.}"
hostmakedepends="pkg-config perl netsurf-buildsystem"
makedepends="expat-devel libparserutils-devel libwapcaplet-devel libhubbub-devel"
@ -12,7 +12,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://www.netsurf-browser.org"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version#${_datever}.}-src.tar.gz"
checksum=e86c11e313cdfbbe9674ad14125093240e23a2fa9e6f05b996d6b655e40c2dd4
checksum=8a6c3eb8fcd9beb2e0df660caeb043dfff86632a00b8997cbcbef4a7f0c266ce
post_extract() {
sed -i 's/_BSD_SOURCE/_DEFAULT_SOURCE/g' Makefile
@ -27,7 +27,7 @@ do_install() {
make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install
make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall COPYING 0644 usr/share/licenses/${pkgname}
vlicense COPYING
}
libdom-devel_package() {

View File

@ -1,6 +1,6 @@
# Template build file for 'libhubbub'.
pkgname=libhubbub
version=0.3.1
version=0.3.3
revision=1
hostmakedepends="perl pkg-config netsurf-buildsystem"
makedepends="libxslt-devel json-c-devel libparserutils-devel"
@ -9,7 +9,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.netsurf-browser.org"
license="MIT"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
checksum=1f8b31e86d0d32735f247c071a7ade1a475606b7a3583d2132e567a310b62053
checksum=066dffd127ead12da60050aa13b80891fb996d00197767d038e48ac163402780
CFLAGS="-Wno-error"
@ -22,7 +22,7 @@ do_install() {
make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install
make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall COPYING 0644 usr/share/licenses/${pkgname}
vlicense COPYING
}
libhubbub-devel_package() {

View File

@ -1,6 +1,6 @@
# Template build file for 'libnsbmp'.
pkgname=libnsbmp
version=0.1.2
version=0.1.3
revision=1
hostmakedepends="netsurf-buildsystem"
homepage="http://www.netsurf-browser.org"
@ -8,7 +8,7 @@ short_desc="Decoding library for BMP and ICO images in C"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
checksum=969ba1c4f778b6ecee5fd834a6206c97b49885673389260fef1043dfca2968b1
checksum=deff0a0497fc011356f901b3f75ee612721133c91b256dda28e540c803ffbb3e
CFLAGS="-Wno-error"
do_build() {
@ -20,7 +20,7 @@ do_install() {
make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install
make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall COPYING 0644 usr/share/licenses/${pkgname}
vlicense COPYING
}
libnsbmp-devel_package() {

View File

@ -1,6 +1,6 @@
# Template build file for 'libnsgif'.
pkgname=libnsgif
version=0.1.2
version=0.1.3
revision=1
hostmakedepends="netsurf-buildsystem"
short_desc="Decoding library for the GIF image file format, written in C"
@ -8,7 +8,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.netsurf-browser.org"
license="MIT"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
checksum=dd6948af5c054224489beaa4b4cc13c2c4f695d5bdee7e58ec2370c53cd9faa5
checksum=d3d2c9c008047eab41fc0a4ce7c280456c55c479d191e1968f843b005f219fa8
CFLAGS="-Wno-error"
do_build() {
@ -20,7 +20,7 @@ do_install() {
make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install
make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall COPYING 0644 usr/share/licenses/${pkgname}
vlicense COPYING
}
libnsgif-devel_package() {

View File

@ -1,6 +1,6 @@
# Template build file for 'libnsutils'.
pkgname=libnsutils
version=0.0.1
version=0.0.2
revision=1
hostmakedepends="pkg-config perl netsurf-buildsystem"
short_desc="CSS parser and selection engine, written in C"
@ -8,7 +8,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://www.netsurf-browser.org"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
checksum=9ad6b921bceed2c0d44ca6ff36fa76841cc6533f8ed7ccb0a941fd9a78731afd
checksum=fed321149f8f16ab2fd69f58b2692a1aea5a19934c1de92d38127a045aede40e
do_build() {
make ${makejobs} HOST_CC=cc COMPONENT_TYPE=lib-shared PREFIX=/usr
@ -19,7 +19,7 @@ do_install() {
make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install
make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall COPYING 0644 usr/share/licenses/${pkgname}
vlicense COPYING
}
libnsutils-devel_package() {

View File

@ -1,6 +1,6 @@
# Template build file for 'libnsgif'.
pkgname=libparserutils
version=0.2.1
version=0.2.3
revision=1
hostmakedepends="perl netsurf-buildsystem"
short_desc="Library for building efficient parsers, written in C"
@ -8,7 +8,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.netsurf-browser.org"
license="MIT"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
checksum=30589e6b3adf0c14b5a78de1fba3b9b84cbd74e95e22d45827fa3e09b563f735
checksum=c5d93fb41b9c006ba392b32d724a7239238d656aa81cd45804ddd0b794a6ff05
CFLAGS="-Wno-error"
do_build() {
@ -20,7 +20,7 @@ do_install() {
make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install
make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall COPYING 0644 usr/share/licenses/${pkgname}
vlicense COPYING
}
libparserutils-devel_package() {

View File

@ -1,15 +1,15 @@
# Template build file for 'libutf8proc'.
pkgname=libutf8proc
version=1.1.6
revision=2
version=1.3.1
revision=1
hostmakedepends="pkg-config perl netsurf-buildsystem"
short_desc="C library for processing UTF-8 encoded Unicode strings"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://www.netsurf-browser.org"
distfiles="http://git.netsurf-browser.org/$pkgname.git/snapshot/$pkgname-release/$version.tar.bz2"
checksum=8e21bcf381a389f0f70b0234c4e5c97e9ef7716b4f518c9be06cc2b4f1167065
wrksrc=libutf8proc-release/1.1.6
checksum=4fcfcd0df095267146b22564c0823ddc06503f51379e328b9517ca6873ce1830
wrksrc=libutf8proc-release/${version}
do_build() {
make ${makejobs} HOST_CC=cc COMPONENT_TYPE=lib-shared PREFIX=/usr
@ -20,7 +20,7 @@ do_install() {
make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install
make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall LICENSE 0644 usr/share/licenses/${pkgname}
vlicense LICENSE.md
}
libutf8proc-devel_package() {

View File

@ -1,6 +1,6 @@
# Template build file for 'libwapcaplet'.
pkgname=libwapcaplet
version=0.2.2
version=0.3.0
revision=1
hostmakedepends="netsurf-buildsystem"
homepage="http://www.netsurf-browser.org"
@ -8,7 +8,7 @@ short_desc="String internment library, written in C"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
checksum=38021992e1e6b3ec50d0d3bf7add069bee4c5b179691afa6a76dd58695201485
checksum=4359ee9d9fd08e721ba1976e9c6e5eaa49b32119e4e1571c1fec49a7446b4133
CFLAGS="-Wno-error"
do_build() {
@ -20,7 +20,7 @@ do_install() {
make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install
make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall COPYING 0644 usr/share/licenses/${pkgname}
vlicense COPYING
}
libwapcaplet-devel_package() {

View File

@ -1,6 +1,6 @@
# Template build file for 'netsurf-buildsystem'.
pkgname=netsurf-buildsystem
version=1.3
version=1.5
revision=1
noarch=yes
wrksrc="${pkgname#netsurf-}-${version}"
@ -9,7 +9,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.netsurf-browser.org"
license="MIT"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname#netsurf-}-${version}.tar.gz"
checksum=10bbe95ba07476208da6047bd3c74685b6e61ba9904975b5d5c9a2c79a84ac79
checksum=dbc6afc639f6987b704e6ff4427668787ee7efba77e1bbf76b614699b5daaf71
do_build() {
make COMPONENT_TYPE=lib-shared PREFIX=/usr
@ -20,5 +20,5 @@ do_install() {
make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install
make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall COPYING 0644 usr/share/licenses/${pkgname}
vlicense COPYING
}

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
}

View File

@ -1,6 +1,6 @@
# Template build file for 'nsgenbind'.
pkgname=nsgenbind
version=0.1.2
version=0.3
revision=1
hostmakedepends="pkg-config flex netsurf-buildsystem"
short_desc="Tool to generate javascript to dom bindings from w3c webid files"
@ -8,12 +8,12 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://www.netsurf-browser.org"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
checksum=94a87e9a223791693724e929cc7b13e334d4baaf73f7d0a91fdf938c9a260a9a
checksum=ef21a08461165014c499aa3d38f5909a88b4528f5db8492bf7bcbfe3e957ba9b
do_build() {
make ${makejobs} FLEX=flex BISON=bison PREFIX=/usr
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall COPYING 0644 usr/share/licenses/${pkgname}
vlicense COPYING
}