netsurf, webkit: fix dependency on libpng.

This commit is contained in:
Adrien Destugues
2016-12-28 18:04:17 +01:00
parent c69bf0333b
commit 35b97d25e1
3 changed files with 13 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ functionality."
HOMEPAGE="http://www.netsurf-browser.org/projects/libwapcaplet/"
COPYRIGHT="2009-2016 The NetSurf Browser project"
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libwapcaplet-${portVersion}-src.tar.gz"
CHECKSUM_SHA256="7b87a997b2531298af1efd32a622be5faee61349ad4e6c868fcb286ce805d997"
@@ -31,8 +31,8 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
netsurf_buildsystem >= 0
lib:libcheck
devel:libcheck
lib:libcheck$secondaryArchSuffix
devel:libcheck$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
@@ -44,12 +44,17 @@ BUILD_PREREQUIRES="
BUILD()
{
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
COMPONENT_TYPE=lib-shared
}
INSTALL()
{
make install PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
INCLUDEDIR=$relativeIncludeDir LIBDIR=$relativeLibDir
make install PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
INCLUDEDIR=$relativeIncludeDir LIBDIR=$relativeLibDir \
COMPONENT_TYPE=lib-shared
mkdir -p $prefix/develop/lib
prepareInstalledDevelLib libwapcaplet

View File

@@ -12,7 +12,7 @@ LICENSE="
GNU LGPL v2.1
MIT
"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/haiku/webkit/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="5f83dea8e7ecdd1a32f49c9844e6c8e2972d5b7ffcefb5b8cd2ae3705a2926bf"
SOURCE_FILENAME="haikuwebkit-$portVersion.tar.gz"
@@ -31,7 +31,7 @@ REQUIRES="
haiku$secondaryArchSuffix
lib:libicuuc$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libwebp$secondaryArchSuffix
lib:libsqlite3$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
@@ -56,7 +56,7 @@ BUILD_REQUIRES="
haiku_devel
devel:libicuuc$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libwebp$secondaryArchSuffix
devel:libsqlite3$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix

View File

@@ -9,7 +9,7 @@ developed, NetSurf is continually evolving and improving."
HOMEPAGE="http://www.netsurf-browser.org/"
COPYRIGHT="2003-2016 The NetSurf Browser project"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
# Do NOT use the netsurf-all package. It contains a bunch of subprojects which
# we build as separate packages so they can easily be used by other projects.
SOURCE_URI="http://download.netsurf-browser.org/netsurf/releases/source/netsurf-$portVersion-src.tar.gz"
@@ -29,7 +29,7 @@ REQUIRES="
lib:libiconv$secondaryArchSuffix
lib:libnsbmp$secondaryArchSuffix
lib:libnsgif$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libutf8proc$secondaryArchSuffix