Recipes for NetSurf 3.2.

Unfortunately it's broken. The start page will not draw anything, and
trying to access any other URL triggers an assert. I don't even
understand why NetSurf is building in DEBUG mode, the assert shouldn't
be active...
This commit is contained in:
Adrien Destugues
2014-09-01 14:57:52 +02:00
parent 7911743b56
commit 6999710fee
7 changed files with 5779 additions and 0 deletions

View File

@@ -0,0 +1,70 @@
SUMMARY="A CSS parser and selection engine"
DESCRIPTION="
LibCSS is a CSS (Cascading Style Sheet) parser and selection engine.
"
HOMEPAGE="http://www.netsurf-browser.org/projects/libcss/"
SRC_URI="http://download.netsurf-browser.org/libs/releases/libcss-$portVersion-src.tar.gz"
CHECKSUM_SHA256="0be9509d9d352abdeec87764c1f8ba13950d9dc4f63acade0477209b7fd21748"
REVISION="2"
LICENSE="MIT"
COPYRIGHT="2007-2014 J-M Bell"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libcss$secondaryArchSuffix = $portVersion
lib:libcss$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libparserutils${secondaryArchSuffix}
lib:libwapcaplet${secondaryArchSuffix}
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libparserutils${secondaryArchSuffix} >= 0.2.0
devel:libwapcaplet${secondaryArchSuffix} >= 0.2.1
netsurf_buildsystem >= 1.2
devel:libiconv
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:perl
cmd:pkg_config$secondaryArchSuffix
"
PATCHES="libcss-0.3.0.patchset"
BUILD()
{
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
INCLUDEDIR=$relativeIncludeDir
}
INSTALL()
{
make install PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
INCLUDEDIR=$relativeIncludeDir
mkdir -p $developLibDir
prepareInstalledDevelLib libcss
fixPkgconfig libcss
packageEntries devel $developDir
}
TEST()
{
make test PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
LDFLAGS="-liconv -lwapcaplet -lparserutils"
}
PROVIDES_devel="
libcss${secondaryArchSuffix}_devel = $portVersion
devel:libcss$secondaryArchSuffix = $portVersion
"