2012-02-23 21:30:08 +00:00
|
|
|
# Template build file for 'netsurf'.
|
|
|
|
pkgname=netsurf
|
2012-05-19 20:49:23 +00:00
|
|
|
version=2.9
|
2013-04-30 09:56:23 +00:00
|
|
|
revision=4
|
2013-01-08 09:10:40 +00:00
|
|
|
makedepends="pkg-config perl libjpeg-turbo-devel libmng-devel
|
2013-04-30 09:56:23 +00:00
|
|
|
libpng-devel>=1.6 librsvg-devel libxml2-devel libcurl-devel
|
2013-01-08 09:10:40 +00:00
|
|
|
lcms-devel libwebp-devel libparserutils-devel libwapcaplet-devel
|
|
|
|
libhubbub-devel libcss-devel libnsbmp-devel libnsgif-devel gtk+-devel
|
2013-04-30 12:28:03 +00:00
|
|
|
libglade-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="desktop-file-utils shared-mime-info"
|
2012-02-23 21:30:08 +00:00
|
|
|
short_desc="Free, open source web browser written in C."
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
2012-02-23 23:50:53 +00:00
|
|
|
license="GPL-2, MIT"
|
2012-06-06 11:02:05 +00:00
|
|
|
homepage="http://www.netsurf-browser.org"
|
2013-01-08 15:10:38 +00:00
|
|
|
distfiles="http://download.netsurf-browser.org/netsurf/releases/source-full/${pkgname}-${version}-full-src.tar.gz"
|
2012-05-19 20:49:23 +00:00
|
|
|
checksum=ade6ade7f66ce2f0a80df724bafefd18c17165166111c490837737aa2e09ae9d
|
2012-02-23 21:30:08 +00:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make ${makejobs} --directory=${pkgname}-${version} \
|
2012-05-19 20:49:23 +00:00
|
|
|
PREFIX=/usr TARGET=gtk NETSURF_USE_WEBP=YES \
|
2013-04-30 12:28:03 +00:00
|
|
|
NETSURF_USE_VIDEO=NO
|
2012-02-23 21:30:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make ${makejobs} --directory=${pkgname}-${version} \
|
|
|
|
PREFIX=/usr DESTDIR=${DESTDIR} TARGET=gtk \
|
2013-04-30 12:28:03 +00:00
|
|
|
NETSURF_USE_WEBP=YES NETSURF_USE_VIDEO=NO install
|
2012-02-23 21:30:08 +00:00
|
|
|
|
2012-02-23 23:25:30 +00:00
|
|
|
# Install app icon (from Ubuntu)
|
|
|
|
vinstall "${FILESDIR}/${pkgname}.png" \
|
2012-02-23 21:30:08 +00:00
|
|
|
0644 usr/share/pixmaps
|
|
|
|
|
|
|
|
# Install .desktop file (from Arch)
|
|
|
|
vinstall "${FILESDIR}/${pkgname}.desktop" \
|
|
|
|
0644 usr/share/applications
|
|
|
|
|
|
|
|
# Install license
|
|
|
|
vinstall "${wrksrc}/${pkgname}-${version}/COPYING" \
|
|
|
|
0644 "/usr/share/licenses/${pkgname}"
|
|
|
|
}
|