mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Add recipes for Netsurf 3.3.
This commit is contained in:
73
dev-libs/libcss/libcss-0.5.0.recipe
Normal file
73
dev-libs/libcss/libcss-0.5.0.recipe
Normal file
@@ -0,0 +1,73 @@
|
||||
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-2014 J-M Bell"
|
||||
LICENSE="MIT"
|
||||
SRC_URI="http://download.netsurf-browser.org/libs/releases/libcss-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="ecaa09b07d4ecfd4644163bc0f0332b81aaaffbb9a373465e15e44e06666faf1"
|
||||
REVISION="2"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PATCHES="libcss-0.3.0.patchset"
|
||||
|
||||
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
|
||||
devel:libiconv
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
netsurf_buildsystem >= 1.3
|
||||
"
|
||||
|
||||
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
|
||||
|
||||
# devel package
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
LDFLAGS="-liconv -lwapcaplet -lparserutils"
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libcss${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libcss$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
58
dev-libs/libnsutils/libnsutils-0.0.1.recipe
Normal file
58
dev-libs/libnsutils/libnsutils-0.0.1.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 Vincent Sanders"
|
||||
LICENSE="MIT"
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
REVISION="1"
|
||||
|
||||
SRC_URI="http://download.netsurf-browser.org/libs/releases/libnsutils-$portVersion-src.tar.gz"
|
||||
|
||||
PROVIDES="
|
||||
libnsutils = $portVersion
|
||||
lib:libnsutils = 0.0.1 compat >= 0
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libnsutils_devel = $portVersion
|
||||
devel:libnsutils = 0.0.1 compat >= 0
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
35
dev-libs/libnsutils/patches/libnsutils-0.0.1.patchset
Normal file
35
dev-libs/libnsutils/patches/libnsutils-0.0.1.patchset
Normal file
@@ -0,0 +1,35 @@
|
||||
From f094cf954fe20d718df8da777ccb9f10cca09315 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@gmail.com>
|
||||
Date: Sat, 21 Mar 2015 19:05:43 +0100
|
||||
Subject: fix for INCLUDEDIR
|
||||
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 807ba75..fa44370 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -40,7 +40,7 @@ TESTLDFLAGS := -lm -l$(COMPONENT) $(TESTLDFLAGS)
|
||||
include $(NSBUILD)/Makefile.top
|
||||
|
||||
# Extra installation rules
|
||||
-I := /include/nsutils
|
||||
+I := /$(INCLUDEDIR)/nsutils
|
||||
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/nsutils/errors.h
|
||||
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/nsutils/base64.h
|
||||
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/nsutils/time.h
|
||||
diff --git a/libnsutils.pc.in b/libnsutils.pc.in
|
||||
index 38023de..a327662 100644
|
||||
--- a/libnsutils.pc.in
|
||||
+++ b/libnsutils.pc.in
|
||||
@@ -1,7 +1,7 @@
|
||||
prefix=PREFIX
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/LIBDIR
|
||||
-includedir=${prefix}/include
|
||||
+includedir=${prefix}/INCLUDEDIR
|
||||
|
||||
Name: libnsutils
|
||||
Description: NetSurf utilities
|
||||
--
|
||||
2.2.2
|
||||
|
||||
73
dev-libs/libparserutils/libparserutils-0.2.1.recipe
Normal file
73
dev-libs/libparserutils/libparserutils-0.2.1.recipe
Normal file
@@ -0,0 +1,73 @@
|
||||
SUMMARY="A library for building efficient parsers"
|
||||
DESCRIPTION="LibParserUtils is a library for building efficient parsers."
|
||||
HOMEPAGE="http://www.netsurf-browser.org/projects/libparserutils/"
|
||||
SRC_URI="http://download.netsurf-browser.org/libs/releases/libparserutils-$portVersion-src.tar.gz"
|
||||
#CHECKSUM_SHA256="55c50abbffaaebe17acba43008ee2c4085401ce618e505fafa7c75baaa813da7"
|
||||
REVISION="1"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2007-2014 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
|
||||
"
|
||||
|
||||
PATCHES="libparserutils-0.2.0.patchset"
|
||||
|
||||
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
|
||||
"
|
||||
57
dev-libs/libutf8proc/libutf8proc-1.1.6.recipe
Normal file
57
dev-libs/libutf8proc/libutf8proc-1.1.6.recipe
Normal file
@@ -0,0 +1,57 @@
|
||||
SUMMARY="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."
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
HOMEPAGE="http://julialang.org/utf8proc/"
|
||||
COPYRIGHT="2006-2013 Public Software Group"
|
||||
|
||||
SRC_URI="http://download.netsurf-browser.org/libs/releases/libutf8proc-1.1.6-src.tar.gz"
|
||||
CHECKSUM_SHA256="16e0dacf459bf42098614b714a262633de26ba5a03f05812d6d052c9aeeac384"
|
||||
PATCHES="libutf8proc-1.1.6.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
libutf8proc = $portVersion
|
||||
lib:libutf8proc = 1.1.6 compat >= 1
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libutf8proc_devel = $portVersion
|
||||
devel:libutf8proc = 1.1.6 compat >= 1
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
netsurf_buildsystem
|
||||
cmd:gcc
|
||||
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
|
||||
}
|
||||
35
dev-libs/libutf8proc/patches/libutf8proc-1.1.6.patchset
Normal file
35
dev-libs/libutf8proc/patches/libutf8proc-1.1.6.patchset
Normal file
@@ -0,0 +1,35 @@
|
||||
From 21fed2fcdad029c1329c5baff7ce427c978b0422 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@gmail.com>
|
||||
Date: Sat, 21 Mar 2015 18:17:16 +0100
|
||||
Subject: INCLUDEDIR fixes.
|
||||
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 858f4a8..d76e971 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -42,7 +42,7 @@ ifeq ($(WANT_TEST),yes)
|
||||
endif
|
||||
|
||||
# Extra installation rules
|
||||
-I := /include/libutf8proc
|
||||
+I := /$(INCLUDEDIR)/libutf8proc
|
||||
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libutf8proc/utf8proc.h
|
||||
INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in
|
||||
INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT)
|
||||
diff --git a/libutf8proc.pc.in b/libutf8proc.pc.in
|
||||
index 2155841..f4645c0 100644
|
||||
--- a/libutf8proc.pc.in
|
||||
+++ b/libutf8proc.pc.in
|
||||
@@ -1,7 +1,7 @@
|
||||
prefix=PREFIX
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/LIBDIR
|
||||
-includedir=${prefix}/include
|
||||
+includedir=${prefix}/INCLUDEDIR
|
||||
|
||||
Name: libutf8proc
|
||||
Description: UTF8 processing
|
||||
--
|
||||
2.2.2
|
||||
|
||||
66
dev-libs/libwapcaplet/libwapcaplet-0.2.2.recipe
Normal file
66
dev-libs/libwapcaplet/libwapcaplet-0.2.2.recipe
Normal file
@@ -0,0 +1,66 @@
|
||||
SUMMARY="LibWapcaplet is 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/"
|
||||
SRC_URI="http://download.netsurf-browser.org/libs/releases/libwapcaplet-${portVersion}-src.tar.gz"
|
||||
CHECKSUM_SHA256="38021992e1e6b3ec50d0d3bf7add069bee4c5b179691afa6a76dd58695201485"
|
||||
REVISION="1"
|
||||
PATCHES="libwapcaplet-0.2.1.patchset"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2009-2014 The NetSurf Browser project"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libwapcaplet$secondaryArchSuffix = $portVersion
|
||||
lib:libwapcaplet$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
libwapcaplet${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libwapcaplet$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
45
dev-util/netsurf_buildsystem/netsurf_buildsystem-1.3.recipe
Normal file
45
dev-util/netsurf_buildsystem/netsurf_buildsystem-1.3.recipe
Normal file
@@ -0,0 +1,45 @@
|
||||
SUMMARY="NetSurf build framework"
|
||||
DESCRIPTION="
|
||||
NetSurf build framework for compiling some of their libraries.
|
||||
"
|
||||
HOMEPAGE="http://git.netsurf-browser.org/buildsystem.git/"
|
||||
SRC_URI="http://download.netsurf-browser.org/libs/releases/buildsystem-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="10bbe95ba07476208da6047bd3c74685b6e61ba9904975b5d5c9a2c79a84ac79"
|
||||
PATCHES="netsurf_buildsystem-1.3.patchset"
|
||||
REVISION="1"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2009-2015 The NetSurf Browser project"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
netsurf_buildsystem$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
SOURCE_DIR="buildsystem-$portVersion"
|
||||
BUILD()
|
||||
{
|
||||
# no-op
|
||||
true
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install PREFIX=$prefix BASE=$prefix/data/netsurf-buildsystem
|
||||
}
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
From 7aecf23ed919012dacf142de7aa1a49d9131570a Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@gmail.com>
|
||||
Date: Sat, 21 Mar 2015 15:01:39 +0100
|
||||
Subject: Allow to change include directory.
|
||||
|
||||
* On Haiku, includes are not stored in include/, but develop/headers. We
|
||||
need the buildsystem to be able to adjust itself for this.
|
||||
|
||||
diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools
|
||||
index 8a104d7..dd5ff91 100644
|
||||
--- a/makefiles/Makefile.tools
|
||||
+++ b/makefiles/Makefile.tools
|
||||
@@ -22,6 +22,8 @@
|
||||
# (defaults to /usr/local)
|
||||
# LIBDIR Library installation directory in ${PREFIX}
|
||||
# (defaults to lib)
|
||||
+# INCLUDEDIR Header installtion directory in ${PREFIX}
|
||||
+# (defaults to include)
|
||||
#
|
||||
|
||||
###############################################################################
|
||||
@@ -241,6 +243,9 @@ PREFIX ?= /usr/local
|
||||
# Default libdir
|
||||
LIBDIR ?= lib
|
||||
|
||||
+# Default includedir
|
||||
+INCLUDEDIR ?= include
|
||||
+
|
||||
###############################################################################
|
||||
# Tool defaults
|
||||
###############################################################################
|
||||
diff --git a/makefiles/Makefile.top b/makefiles/Makefile.top
|
||||
index 38922d1..476a93f 100644
|
||||
--- a/makefiles/Makefile.top
|
||||
+++ b/makefiles/Makefile.top
|
||||
@@ -292,6 +292,7 @@ define install_pkgconfig
|
||||
$(Q)$(SED) \
|
||||
-e 's#PREFIX#$(PREFIX)#' \
|
||||
-e 's#LIBDIR#$(LIBDIR)#' \
|
||||
+ -e 's#INCLUDEDIR#$(INCLUDEDIR)#' \
|
||||
-e 's#MAJOR#$(major-version)#' \
|
||||
-e 's#MINOR#$(minor-version)#' \
|
||||
-e 's#PATCH#$(patch-version)#' \
|
||||
--
|
||||
2.2.2
|
||||
|
||||
54
media-libs/libnsbmp/libnsbmp-0.1.2.recipe
Normal file
54
media-libs/libnsbmp/libnsbmp-0.1.2.recipe
Normal file
@@ -0,0 +1,54 @@
|
||||
DESCRIPTION="Libnsbmp is a decoding library for BMP and ICO image file formats"
|
||||
SUMMARY="A decoding library for BMP and ICO images"
|
||||
HOMEPAGE="http://www.netsurf-browser.org/projects/libnsbmp/"
|
||||
COPYRIGHT="2006 Richard Wilson, 2008 - 2013 Sean Fox"
|
||||
LICENSE="MIT"
|
||||
SRC_URI="http://download.netsurf-browser.org/libs/releases/libnsbmp-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="969ba1c4f778b6ecee5fd834a6206c97b49885673389260fef1043dfca2968b1"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PATCHES="libnsbmp-0.1.1.patchset"
|
||||
|
||||
PROVIDES="
|
||||
libnsbmp = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
netsurf_buildsystem
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir install
|
||||
|
||||
prepareInstalledDevelLib libnsbmp
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libnsbmp_devel = $portVersion
|
||||
devel:libnsbmp = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libnsbmp$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
54
media-libs/libnsgif/libnsgif-0.1.2.recipe
Normal file
54
media-libs/libnsgif/libnsgif-0.1.2.recipe
Normal file
@@ -0,0 +1,54 @@
|
||||
DESCRIPTION="Libnsgif is a decoding library for GIF image file format"
|
||||
SUMMARY="A decoding library for GIF images"
|
||||
HOMEPAGE="http://www.netsurf-browser.org/projects/libnsgif/"
|
||||
COPYRIGHT="2006 Richard Wilson, 2008 - 2013 Sean Fox"
|
||||
LICENSE="MIT"
|
||||
SRC_URI="http://download.netsurf-browser.org/libs/releases/libnsgif-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="dd6948af5c054224489beaa4b4cc13c2c4f695d5bdee7e58ec2370c53cd9faa5"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PATCHES="libnsgif-0.1.1.patchset"
|
||||
|
||||
PROVIDES="
|
||||
libnsgif = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
netsurf_buildsystem
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir install
|
||||
|
||||
prepareInstalledDevelLib libnsgif
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libnsgif_devel = $portVersion
|
||||
devel:libnsgif = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libnsgif$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
64
media-libs/libsvgtiny/libsvgtiny-0.1.3.recipe
Normal file
64
media-libs/libsvgtiny/libsvgtiny-0.1.3.recipe
Normal file
@@ -0,0 +1,64 @@
|
||||
SUMMARY="Libsvgtiny is 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"
|
||||
SRC_URI="http://download.netsurf-browser.org/libs/releases/libsvgtiny-$portVersion-src.tar.gz"
|
||||
#CHECKSUM_SHA256="a5ad4ba467e2ba10ac13fb881937655c5d0ef8e9582ede6a2c73447c87d06e90"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PATCHES="libsvgtiny-0.1.1.patchset"
|
||||
|
||||
PROVIDES="
|
||||
libsvgtiny = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
devel:libwapcaplet
|
||||
devel:libdom
|
||||
devel:libhubbub
|
||||
devel:libparserutils
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
netsurf_buildsystem
|
||||
cmd:gcc
|
||||
cmd:gperf
|
||||
cmd:make
|
||||
cmd:pkg_config
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir install
|
||||
|
||||
prepareInstalledDevelLib libsvgtiny
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libsvgtiny_devel = $portVersion
|
||||
devel:libsvgtiny = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsvgtiny$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
78
net-libs/hubbub/hubbub-0.3.1.recipe
Normal file
78
net-libs/hubbub/hubbub-0.3.1.recipe
Normal file
@@ -0,0 +1,78 @@
|
||||
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/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2007-2014 J-M Bell"
|
||||
SRC_URI="http://download.netsurf-browser.org/libs/releases/libhubbub-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="1f8b31e86d0d32735f247c071a7ade1a475606b7a3583d2132e567a310b62053"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
hubbub = $portVersion
|
||||
lib:libhubbub = $portVersion compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
devel:libparserutils
|
||||
devel:libjson_c
|
||||
devel:libiconv
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
netsurf_buildsystem >= 0.3.0
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:perl
|
||||
cmd:pkg_config
|
||||
"
|
||||
|
||||
PATCHES="libhubbub-0.3.0.patchset"
|
||||
|
||||
SOURCE_DIR="libhubbub-$portVersion"
|
||||
|
||||
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
|
||||
make install PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir COMPONENT_TYPE=lib-shared
|
||||
|
||||
prepareInstalledDevelLib libhubbub
|
||||
fixPkgconfig
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
LDFLAGS="-liconv -lparserutils" test
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
hubbub_devel = $portVersion
|
||||
devel:libhubbub = $portVersion compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
hubbub$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
67
net-libs/libdom/libdom-0.1.2.recipe
Normal file
67
net-libs/libdom/libdom-0.1.2.recipe
Normal file
@@ -0,0 +1,67 @@
|
||||
SUMMARY="LibDOM is 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/"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2007-2014 J-M Bell"
|
||||
SRC_URI="http://download.netsurf-browser.org/libs/releases/libdom-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="9cd3cf4487735c3cc5d63c5fdee05384eee65318476105646767b34d6e07e9e8"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PATCHES="libdom-0.1.1.patchset"
|
||||
|
||||
PROVIDES="
|
||||
libdom = $portVersion
|
||||
lib:libdom = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libexpat
|
||||
devel:libhubbub
|
||||
devel:libparserutils
|
||||
devel:libwapcaplet
|
||||
netsurf_buildsystem
|
||||
xml_parser
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:perl
|
||||
cmd:pkg_config
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
||||
INCLUDEDIR=$relativeIncludeDir install
|
||||
|
||||
prepareInstalledDevelLib libdom
|
||||
fixPkgconfig
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem test
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libdom_devel = $portVersion
|
||||
devel:libdom = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libdom$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
85
www-client/netsurf/netsurf-3.3.recipe
Normal file
85
www-client/netsurf/netsurf-3.3.recipe
Normal file
@@ -0,0 +1,85 @@
|
||||
SUMMARY="NetSurf is 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/"
|
||||
# Do NOT use the netsurf-all package. It contains a bunch of subprojects which
|
||||
# we build as separate packages. NetSurf is statically linked to them, so the
|
||||
# resulting binary is the same.
|
||||
SRC_URI="http://download.netsurf-browser.org/netsurf/releases/source/netsurf-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="23f92a0940f577b9605f2e54786fea3521680d32d6c00f2a3db1eae3f29e3686"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libcurl
|
||||
lib:libexpat
|
||||
lib:libiconv
|
||||
lib:libpng
|
||||
lib:libjpeg
|
||||
lib:libssl
|
||||
lib:libz
|
||||
lib:libhubbub
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libcurl
|
||||
devel:libexpat
|
||||
devel:libiconv
|
||||
devel:libjpeg
|
||||
devel:libpng
|
||||
devel:libssl
|
||||
devel:libz
|
||||
|
||||
devel:libcss
|
||||
devel:libdom
|
||||
devel:libhubbub
|
||||
devel:libnsbmp
|
||||
devel:libnsgif
|
||||
devel:libnsutils
|
||||
devel:libparserutils
|
||||
devel:libsvgtiny
|
||||
devel:libutf8proc
|
||||
devel:libwapcaplet
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
html_parser >= 3.70
|
||||
cmd:bison
|
||||
cmd:flex
|
||||
cmd:gcc
|
||||
cmd:git
|
||||
cmd:gperf
|
||||
cmd:make
|
||||
cmd:pkg_config
|
||||
"
|
||||
|
||||
PROVIDES="
|
||||
netsurf = $portVersion
|
||||
app:NetSurf = $portVersion
|
||||
"
|
||||
|
||||
#PATCHES="netsurf-$portVersion.patchset"
|
||||
|
||||
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 NetSurf
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2003-2014 The NetSurf Browser project"
|
||||
5214
www-client/netsurf/patches/netsurf-3.3.patchset
Normal file
5214
www-client/netsurf/patches/netsurf-3.3.patchset
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user