mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
NetSurf 3.4 and dependencies.
This commit is contained in:
66
dev-libs/libcss/libcss-0.6.0.recipe
Normal file
66
dev-libs/libcss/libcss-0.6.0.recipe
Normal file
@@ -0,0 +1,66 @@
|
||||
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/"
|
||||
COPYRIGHT="2007-2016 J-M Bell"
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libcss-$portVersion-src.tar.gz"
|
||||
|
||||
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}
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libcss${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libcss$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libparserutils${secondaryArchSuffix} >= 0.2.3
|
||||
devel:libwapcaplet${secondaryArchSuffix} >= 0.3.0
|
||||
devel:libiconv
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
netsurf_buildsystem >= 1.5
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir LIBDIR=$relativeLibDir
|
||||
|
||||
prepareInstalledDevelLib libcss
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
LDFLAGS="-liconv -lwapcaplet -lparserutils"
|
||||
}
|
||||
58
dev-libs/libnsutils/libnsutils-0.0.2.recipe
Normal file
58
dev-libs/libnsutils/libnsutils-0.0.2.recipe
Normal file
@@ -0,0 +1,58 @@
|
||||
SUMMARY="NetSurf generalised utility library"
|
||||
DESCRIPTION="Various things useful to the NetSurf browser, and possibly to \
|
||||
other applications."
|
||||
HOMEPAGE="http://git.netsurf-browser.org/libnsutils.git/"
|
||||
COPYRIGHT="2014-2016 Vincent Sanders"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libnsutils-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="fed321149f8f16ab2fd69f58b2692a1aea5a19934c1de92d38127a045aede40e"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libnsutils$secondaryArchSuffix = $portVersion
|
||||
lib:libnsutils$secondaryArchSuffix = 0.0.1 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libnsutils${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libnsutils$secondaryArchSuffix = 0.0.1 compat >= 0
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
netsurf_buildsystem >= 1.1
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
# Build the static lib
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
|
||||
# Build the shared lib
|
||||
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 libnsutils
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
71
dev-libs/libparserutils/libparserutils-0.2.3.recipe
Normal file
71
dev-libs/libparserutils/libparserutils-0.2.3.recipe
Normal file
@@ -0,0 +1,71 @@
|
||||
SUMMARY="A library for building efficient parsers"
|
||||
DESCRIPTION="LibParserUtils is a library for building efficient parsers."
|
||||
HOMEPAGE="http://www.netsurf-browser.org/projects/libparserutils/"
|
||||
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libparserutils-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="c5d93fb41b9c006ba392b32d724a7239238d656aa81cd45804ddd0b794a6ff05"
|
||||
REVISION="1"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2007-2016 J-M Bell"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libparserutils$secondaryArchSuffix = $portVersion
|
||||
lib:libparserutils$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libiconv${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libiconv${secondaryArchSuffix}
|
||||
|
||||
lib:libiconv${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
netsurf_buildsystem >= 1.1
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
# Build the static lib
|
||||
CFLAGS=-Wno-error make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
|
||||
# Build the shared lib
|
||||
CFLAGS=-Wno-error 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 libparserutils
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
LDFLAGS=-liconv test
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
libparserutils${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libparserutils$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
60
dev-libs/libutf8proc/libutf8proc-1.3.1.recipe
Normal file
60
dev-libs/libutf8proc/libutf8proc-1.3.1.recipe
Normal file
@@ -0,0 +1,60 @@
|
||||
SUMMARY="A library for processing UTF-8 encoded Unicode strings"
|
||||
DESCRIPTION="utf8proc is a small, clean C library that provides Unicode \
|
||||
normalization, case-folding, and other operations for data in the UTF-8 \
|
||||
encoding, supporting Unicode version 7.0."
|
||||
HOMEPAGE="http://julialang.org/utf8proc/"
|
||||
COPYRIGHT="2006-2016 Public Software Group"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libutf8proc-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="78e950bfc691182d3b61109b1b4e234399743607231f72a395331a367c2ac675"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libutf8proc$secondaryArchSuffix = $portVersion
|
||||
lib:libutf8proc$secondaryArchSuffix = 1.1.6 compat >= 1
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
libutf8proc$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
PROVIDES_devel="
|
||||
libutf8proc${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libutf8proc$secondaryArchSuffix = 1.1.6 compat >= 1
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
netsurf_buildsystem
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
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 libutf8proc
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
63
dev-libs/libwapcaplet/libwapcaplet-0.3.0.recipe
Normal file
63
dev-libs/libwapcaplet/libwapcaplet-0.3.0.recipe
Normal file
@@ -0,0 +1,63 @@
|
||||
SUMMARY="A string internment library"
|
||||
DESCRIPTION="LibWapcaplet is a string internment library.
|
||||
It provides reference counted string interment and rapid string comparison \
|
||||
functionality."
|
||||
HOMEPAGE="http://www.netsurf-browser.org/projects/libwapcaplet/"
|
||||
COPYRIGHT="2009-2016 The NetSurf Browser project"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libwapcaplet-${portVersion}-src.tar.gz"
|
||||
CHECKSUM_SHA256="4359ee9d9fd08e721ba1976e9c6e5eaa49b32119e4e1571c1fec49a7446b4133"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libwapcaplet$secondaryArchSuffix = $portVersion
|
||||
lib:libwapcaplet$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
libwapcaplet$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
PROVIDES_devel="
|
||||
libwapcaplet${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libwapcaplet$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
netsurf_buildsystem >= 0
|
||||
lib:libcheck
|
||||
devel:libcheck
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir LIBDIR=$relativeLibDir
|
||||
mkdir -p $prefix/develop/lib
|
||||
|
||||
prepareInstalledDevelLib libwapcaplet
|
||||
fixPkgconfig
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem test
|
||||
}
|
||||
41
dev-libs/nsgenbind/nsgenbind-0.3.recipe
Normal file
41
dev-libs/nsgenbind/nsgenbind-0.3.recipe
Normal file
@@ -0,0 +1,41 @@
|
||||
SUMMARY="NetSurf generator for javascript bindings"
|
||||
DESCRIPTION="This is a tool to generate JavaScript to DOM bindings from w3c \
|
||||
webidl files and a binding configuration file."
|
||||
HOMEPAGE="http://git.netsurf-browser.org/nsgenbind.git/"
|
||||
COPYRIGHT="2012-2016 Vincent Sanders"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/nsgenbind-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="ef21a08461165014c499aa3d38f5909a88b4528f5db8492bf7bcbfe3e957ba9b"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
nsgenbind$secondaryArchSuffix = $portVersion
|
||||
cmd:nsgenbind
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
netsurf_buildsystem
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:bison
|
||||
cmd:flex
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
|
||||
}
|
||||
40
dev-util/netsurf_buildsystem/netsurf_buildsystem-1.5.recipe
Normal file
40
dev-util/netsurf_buildsystem/netsurf_buildsystem-1.5.recipe
Normal file
@@ -0,0 +1,40 @@
|
||||
SUMMARY="NetSurf build framework"
|
||||
DESCRIPTION="
|
||||
NetSurf build framework for compiling some of their libraries.
|
||||
"
|
||||
HOMEPAGE="http://git.netsurf-browser.org/buildsystem.git/"
|
||||
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/buildsystem-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="dbc6afc639f6987b704e6ff4427668787ee7efba77e1bbf76b614699b5daaf71"
|
||||
REVISION="1"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2009-2016 The NetSurf Browser project"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
netsurf_buildsystem = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
"
|
||||
|
||||
SOURCE_DIR="buildsystem-$portVersion"
|
||||
BUILD()
|
||||
{
|
||||
# no-op
|
||||
true
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install PREFIX=$prefix BASE=$prefix/data/netsurf-buildsystem
|
||||
}
|
||||
53
media-libs/libnsbmp/libnsbmp-0.1.3.recipe
Normal file
53
media-libs/libnsbmp/libnsbmp-0.1.3.recipe
Normal file
@@ -0,0 +1,53 @@
|
||||
SUMMARY="A decoding library for BMP and ICO images"
|
||||
DESCRIPTION="Libnsbmp is a decoding library for BMP and ICO image file formats"
|
||||
HOMEPAGE="http://www.netsurf-browser.org/projects/libnsbmp/"
|
||||
COPYRIGHT="2006 Richard Wilson, 2008 - 2016 Sean Fox"
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libnsbmp-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="deff0a0497fc011356f901b3f75ee612721133c91b256dda28e540c803ffbb3e"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libnsbmp$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libnsbmp${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libnsbmp$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libnsbmp$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
netsurf_buildsystem
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir install LIBDIR=$relativeLibDir
|
||||
|
||||
prepareInstalledDevelLib libnsbmp
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
53
media-libs/libnsgif/libnsgif-0.1.3.recipe
Normal file
53
media-libs/libnsgif/libnsgif-0.1.3.recipe
Normal file
@@ -0,0 +1,53 @@
|
||||
SUMMARY="A decoding library for GIF images"
|
||||
DESCRIPTION="Libnsgif is a decoding library for GIF image file format"
|
||||
HOMEPAGE="http://www.netsurf-browser.org/projects/libnsgif/"
|
||||
COPYRIGHT="2006 Richard Wilson, 2008 - 2016 Sean Fox"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libnsgif-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="d3d2c9c008047eab41fc0a4ce7c280456c55c479d191e1968f843b005f219fa8"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libnsgif$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libnsgif${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libnsgif$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libnsgif$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
netsurf_buildsystem
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir install LIBDIR=$relativeLibDir
|
||||
|
||||
prepareInstalledDevelLib libnsgif
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
61
media-libs/libsvgtiny/libsvgtiny-0.1.4.recipe
Normal file
61
media-libs/libsvgtiny/libsvgtiny-0.1.4.recipe
Normal file
@@ -0,0 +1,61 @@
|
||||
SUMMARY="An implementation of SVG Tiny written in C"
|
||||
DESCRIPTION="The overall idea of the library is to take some SVG as input, \
|
||||
and return a list of paths and texts which can be rendered easily. The \
|
||||
library does not do the actual rendering."
|
||||
HOMEPAGE="http://www.netsurf-browser.org/projects/libsvgtiny"
|
||||
COPYRIGHT="2003-2014 The NetSurf Developers"
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libsvgtiny-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="9624e575c5e6e3177e803f65fc52af59784952b2861adf8b4a6ca77e05692274"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libsvgtiny$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libsvgtiny${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libsvgtiny$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsvgtiny$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libwapcaplet$secondaryArchSuffix
|
||||
devel:libdom$secondaryArchSuffix
|
||||
devel:libhubbub$secondaryArchSuffix
|
||||
devel:libparserutils$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
netsurf_buildsystem
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:gperf
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir LIBDIR=$relativeLibDir install
|
||||
|
||||
prepareInstalledDevelLib libsvgtiny
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
77
net-libs/hubbub/hubbub-0.3.3.recipe
Normal file
77
net-libs/hubbub/hubbub-0.3.3.recipe
Normal file
@@ -0,0 +1,77 @@
|
||||
SUMMARY="An HTML5 compliant parsing library"
|
||||
DESCRIPTION="
|
||||
Hubbub is an HTML5 compliant parsing library, written in C. It was developed \
|
||||
as part of the NetSurf project and is available for use by other software \
|
||||
under the MIT licence.
|
||||
The HTML5 specification defines a parsing algorithm, based on the behaviour \
|
||||
of mainstream browsers, which provides instructions for how to parse all \
|
||||
markup, both valid and invalid. As a result, Hubbub parses web content well.
|
||||
If you are looking for an HTML5 parser in Python or Ruby, you may wish to \
|
||||
look at html5lib.
|
||||
"
|
||||
HOMEPAGE="http://www.netsurf-browser.org/projects/hubbub/"
|
||||
COPYRIGHT="2007-2016 J-M Bell"
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libhubbub-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="066dffd127ead12da60050aa13b80891fb996d00197767d038e48ac163402780"
|
||||
SOURCE_DIR="libhubbub-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
hubbub$secondaryArchSuffix = $portVersion
|
||||
lib:libhubbub$secondaryArchSuffix = $portVersion compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
hubbub${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libhubbub$secondaryArchSuffix = $portVersion compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
hubbub$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libparserutils$secondaryArchSuffix
|
||||
devel:libjson_c$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
netsurf_buildsystem >= 0.5.0
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
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
|
||||
|
||||
prepareInstalledDevelLib libhubbub
|
||||
fixPkgconfig
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
LDFLAGS="-liconv -lparserutils" test
|
||||
}
|
||||
63
net-libs/libdom/libdom-0.3.0.recipe
Normal file
63
net-libs/libdom/libdom-0.3.0.recipe
Normal file
@@ -0,0 +1,63 @@
|
||||
SUMMARY="An implementation of the W3C DOM"
|
||||
DESCRIPTION="An implementation of the W3C DOM for NetSurf, written in C."
|
||||
HOMEPAGE="http://www.netsurf-browser.org/projects/libdom/"
|
||||
COPYRIGHT="2007-2014 J-M Bell"
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libdom-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="8a6c3eb8fcd9beb2e0df660caeb043dfff86632a00b8997cbcbef4a7f0c266ce"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libdom$secondaryArchSuffix = $portVersion
|
||||
lib:libdom$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libdom${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libdom$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libdom$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libexpat$secondaryArchSuffix
|
||||
devel:libhubbub$secondaryArchSuffix
|
||||
devel:libparserutils$secondaryArchSuffix
|
||||
devel:libwapcaplet$secondaryArchSuffix
|
||||
netsurf_buildsystem
|
||||
xml_parser
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir LIBDIR=$relativeLibDir install
|
||||
|
||||
prepareInstalledDevelLib libdom
|
||||
fixPkgconfig
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem test
|
||||
}
|
||||
84
www-client/netsurf/netsurf-3.4.recipe
Normal file
84
www-client/netsurf/netsurf-3.4.recipe
Normal file
@@ -0,0 +1,84 @@
|
||||
SUMMARY="A multi-platform web browser"
|
||||
DESCRIPTION="Small as a mouse, fast as a cheetah and available for free. NetSurf is a \
|
||||
multi-platform web browser for RISC OS, UNIX-like platforms (including Linux), \
|
||||
Mac OS X, and more.\
|
||||
\
|
||||
Whether you want to check your webmail, read the news or post to discussion \
|
||||
forums, NetSurf is your lightweight gateway to the world wide web. Actively \
|
||||
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"
|
||||
# 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"
|
||||
CHECKSUM_SHA256="1648f437994fc18090237430f30d645ff06bab0768ae973575f9391d07613bf6"
|
||||
|
||||
ARCHITECTURES="x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
netsurf$secondaryArchSuffix = $portVersion
|
||||
app:NetSurf = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:libexpat$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libpng$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix
|
||||
lib:libutf8proc$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
lib:libhubbub$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
devel:libcheck$secondaryArchSuffix
|
||||
devel:libexpat$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libpng$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
|
||||
devel:libcss$secondaryArchSuffix
|
||||
devel:libdom$secondaryArchSuffix
|
||||
devel:libhubbub$secondaryArchSuffix
|
||||
devel:libnsbmp$secondaryArchSuffix
|
||||
devel:libnsgif$secondaryArchSuffix
|
||||
devel:libnsutils$secondaryArchSuffix
|
||||
devel:libparserutils$secondaryArchSuffix
|
||||
devel:libsvgtiny$secondaryArchSuffix
|
||||
devel:libutf8proc$secondaryArchSuffix
|
||||
devel:libwapcaplet$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
html_parser >= 3.70
|
||||
cmd:bison
|
||||
cmd:flex
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:git
|
||||
cmd:gperf
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
|
||||
cmd:nsgenbind
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make TARGET=beos PREFIX=$prefix/ DESTDIR=$appsDir/ BUILD=release \
|
||||
NETSURF_BEOS_BIN=netsurf/ NETSURF_BEOS_RESOURCES=netsurf/res/
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make TARGET=beos PREFIX=$prefix/ DESTDIR=$appsDir/ \
|
||||
NETSURF_BEOS_BIN=netsurf/ NETSURF_BEOS_RESOURCES=netsurf/res/ install
|
||||
addAppDeskbarSymlink $appsDir/NetSurf NetSurf
|
||||
}
|
||||
Reference in New Issue
Block a user