mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
@@ -6,7 +6,7 @@ COPYRIGHT="2007-2018 The NetSurf Developers"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.netsurf-browser.org/libs/releases/libcss-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="35a0490d98c23e09b8d2b5e4619926131c5b98da7a9db2ed00322f63fbc2ad5f"
|
||||
CHECKSUM_SHA256="b98fba7664bd5307cb39a6101098da76f635a97e157b87f45e9ce42ada9089ef"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -35,11 +35,11 @@ REQUIRES_devel="
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libparserutils$secondaryArchSuffix >= 0.2.3
|
||||
devel:libwapcaplet$secondaryArchSuffix >= 0.3.1
|
||||
devel:libparserutils$secondaryArchSuffix >= 0.2.4
|
||||
devel:libwapcaplet$secondaryArchSuffix >= 0.4.2
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
netsurf_buildsystem >= 1.6
|
||||
netsurf_buildsystem >= 1.8
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
@@ -5,7 +5,7 @@ applications."
|
||||
HOMEPAGE="http://git.netsurf-browser.org/libnslog.git/"
|
||||
COPYRIGHT="2014-2018 Vincent Sanders"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://download.netsurf-browser.org/libs/releases/libnslog-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="4d12d836efd55a87e4f6429aa5527e1e15526fa4cac58b7879cba1db7737fabd"
|
||||
|
||||
@@ -25,7 +25,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libnslog${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libnslog$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libnslog$secondaryArchSuffix = $libVersion compat = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libnslog$secondaryArchSuffix == $portVersion base
|
||||
|
||||
@@ -4,7 +4,7 @@ other applications."
|
||||
HOMEPAGE="https://git.netsurf-browser.org/libnsutils.git/"
|
||||
COPYRIGHT="2014-2018 Vincent Sanders"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://download.netsurf-browser.org/libs/releases/libnsutils-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="0e3b7a19f4348f25a1cac514bebfdc941e044dab9dcb1cb9c131067d7bcc8127"
|
||||
|
||||
@@ -24,7 +24,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libnsutils${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libnsutils$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libnsutils$secondaryArchSuffix = $libVersion compat = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libnsutils$secondaryArchSuffix == $portVersion base
|
||||
|
||||
@@ -3,7 +3,7 @@ DESCRIPTION="LibParserUtils is a library for building efficient parsers."
|
||||
HOMEPAGE="https://www.netsurf-browser.org/projects/libparserutils/"
|
||||
COPYRIGHT="2007-2018 J-M Bell"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://download.netsurf-browser.org/libs/releases/libparserutils-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="322bae61b30ccede3e305bf6eae2414920649775bc5ff1d1b688012a3c4947d8"
|
||||
|
||||
@@ -24,7 +24,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libparserutils${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libparserutils$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libparserutils$secondaryArchSuffix = $libVersion compat = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libparserutils$secondaryArchSuffix == $portVersion base
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
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="https://julialang.org/utf8proc/"
|
||||
COPYRIGHT="2006-2017 Public Software Group"
|
||||
LICENSE="MIT"
|
||||
REVISION="3"
|
||||
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libutf8proc-1.3.1-3-src.tar.gz"
|
||||
CHECKSUM_SHA256="1223c2dd9c5cd077564feb30a6ad8b1c0e55ef5dfe7c275d3b9fe8274f207c70"
|
||||
SOURCE_DIR="libutf8proc-1.3.1-3"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libutf8proc$secondaryArchSuffix = $portVersion
|
||||
lib:libutf8proc$secondaryArchSuffix = 1.3.1 compat >= 1
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libutf8proc${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libutf8proc$secondaryArchSuffix = 1.3.1 compat >= 1
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libutf8proc$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
netsurf_buildsystem >= 1.7
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
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
|
||||
|
||||
# No idea, why the makefile puts it here, but it should be in the root.
|
||||
mv $includeDir/libutf8proc/* $includeDir
|
||||
rm -rf $includeDir/libutf8proc
|
||||
|
||||
mkdir -p $prefix/develop/lib
|
||||
|
||||
prepareInstalledDevelLib libutf8proc
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
81
dev-libs/libutf8proc/libutf8proc2-2.4.0.1.recipe
Normal file
81
dev-libs/libutf8proc/libutf8proc2-2.4.0.1.recipe
Normal file
@@ -0,0 +1,81 @@
|
||||
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="https://julialang.org/utf8proc/"
|
||||
COPYRIGHT="2006-2019 Public Software Group
|
||||
2014-2019 Steven G. Johnson, Jiahao Chen, Tony Kelman, Jonas Fonseca, \
|
||||
and other contributors listed in the git history"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.netsurf-browser.org/libs/releases/libutf8proc-2.4.0-1-src.tar.gz"
|
||||
SOURCE_DIR="libutf8proc-2.4.0-1"
|
||||
CHECKSUM_SHA256="01ab1d6989c1c7755090db24c3f64e49f95c560ae49c26bec5142bac6802c472"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="2"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion}"
|
||||
|
||||
PROVIDES="
|
||||
libutf8proc2$secondaryArchSuffix = $portVersion
|
||||
lib:libutf8proc$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libutf8proc2${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libutf8proc$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libutf8proc2$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
CONFLICTS_devel="
|
||||
libutf8proc${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
netsurf_buildsystem >= 1.8
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libutf8proc2$secondaryArchSuffix \
|
||||
$libDir/libutf8proc.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
for linkage in lib-static lib-shared; do
|
||||
make PREFIX="$prefix" NSSHARED=/system/data/netsurf-buildsystem \
|
||||
COMPONENT_TYPE=$linkage
|
||||
done
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
for linkage in lib-static lib-shared; do
|
||||
make PREFIX="$prefix" NSSHARED=/system/data/netsurf-buildsystem \
|
||||
COMPONENT_TYPE=$linkage \
|
||||
INCLUDEDIR=$relativeIncludeDir install \
|
||||
LIBDIR=$relativeLibDir
|
||||
done
|
||||
|
||||
prepareInstalledDevelLib libutf8proc
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
"$developDir"
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build_haiku
|
||||
# make check # test cases not supported yet with cmake
|
||||
}
|
||||
@@ -3,14 +3,14 @@ DESCRIPTION="LibWapcaplet is a string internment library.
|
||||
It provides reference counted string interment and rapid string comparison \
|
||||
functionality."
|
||||
HOMEPAGE="https://www.netsurf-browser.org/projects/libwapcaplet/"
|
||||
COPYRIGHT="2009-2018 The NetSurf Browser project"
|
||||
COPYRIGHT="2009-2019 The NetSurf Browser project"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://download.netsurf-browser.org/libs/releases/libwapcaplet-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="c8ff6ea5b64feda806f5b79ba970442f5edb237046a044bc0f7e4d54a9a4978c"
|
||||
CHECKSUM_SHA256="063d248ab3f206808c414934a105f6cb6426e2f0baf3bdd20a712179ecfa5cba"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86_gcc2 x86"
|
||||
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
@@ -25,7 +25,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libwapcaplet${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libwapcaplet$secondaryArchSuffix = $libVersionCompat
|
||||
devel:libwapcaplet$secondaryArchSuffix = $libVersion compat = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libwapcaplet$secondaryArchSuffix == $portVersion base
|
||||
@@ -33,7 +33,7 @@ REQUIRES_devel="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
netsurf_buildsystem
|
||||
netsurf_buildsystem >= 1.8
|
||||
devel:libcheck$secondaryArchSuffix
|
||||
lib:libcheck$secondaryArchSuffix
|
||||
"
|
||||
@@ -2,16 +2,14 @@ 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="https://git.netsurf-browser.org/nsgenbind.git/"
|
||||
COPYRIGHT="2012-2018 Vincent Sanders"
|
||||
COPYRIGHT="2012-2019 Vincent Sanders"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.netsurf-browser.org/libs/releases/nsgenbind-$portVersion-src.tar.gz"
|
||||
CHECKSUM_SHA256="92f75414635b857abd9a4e2c119a517e797d247df5db30284e3dbaf273582c6c"
|
||||
CHECKSUM_SHA256="18632ea90fc98984771b4996a2f4fc06bd5f1bab33bf0379e4523b45fcacf466"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
fi
|
||||
|
||||
PROVIDES="
|
||||
nsgenbind$secondaryArchSuffix = $portVersion
|
||||
@@ -23,7 +21,7 @@ REQUIRES="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
netsurf_buildsystem
|
||||
netsurf_buildsystem >= 1.8
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:bison
|
||||
Reference in New Issue
Block a user