mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
haikuwebkit 1.6.0 recipe.
This commit is contained in:
102
haiku-libs/haikuwebkit/haikuwebkit-1.6.0.recipe
Normal file
102
haiku-libs/haikuwebkit/haikuwebkit-1.6.0.recipe
Normal file
@@ -0,0 +1,102 @@
|
|||||||
|
SUMMARY="Open source web browser engine"
|
||||||
|
DESCRIPTION="
|
||||||
|
WebKit is an open source web browser engine. WebKit is also the name of the \
|
||||||
|
Mac OS X system framework version of the engine that's used by Safari, \
|
||||||
|
Dashboard, Mail, and many other OS X applications. WebKit's HTML and \
|
||||||
|
JavaScript code began as a branch of the KHTML and KJS libraries from KDE.
|
||||||
|
"
|
||||||
|
HOMEPAGE="http://www.webkit.org/"
|
||||||
|
COPYRIGHT="1998-2016 Apple Inc., Google Inc., et al"
|
||||||
|
LICENSE="
|
||||||
|
GNU LGPL v2
|
||||||
|
GNU LGPL v2.1
|
||||||
|
MIT
|
||||||
|
"
|
||||||
|
REVISION="1"
|
||||||
|
SOURCE_URI="https://github.com/haiku/webkit/archive/$portVersion.tar.gz"
|
||||||
|
CHECKSUM_SHA256="e7d6345e5a6172682482ce5ec4be61c3fc59690a8faeaa50000a3e4fdca431c9"
|
||||||
|
SOURCE_FILENAME="haikuwebkit-$portVersion.tar.gz"
|
||||||
|
SOURCE_DIR="webkit-$portVersion"
|
||||||
|
|
||||||
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||||
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
haikuwebkit$secondaryArchSuffix = $portVersion
|
||||||
|
lib:libWebKit$secondaryArchSuffix = $portVersion
|
||||||
|
lib:libJavaScriptCore$secondaryArchSuffix = $portVersion compat >= 1
|
||||||
|
cmd:jsc
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku$secondaryArchSuffix
|
||||||
|
lib:libicuuc$secondaryArchSuffix
|
||||||
|
lib:libjpeg$secondaryArchSuffix
|
||||||
|
lib:libpng16$secondaryArchSuffix
|
||||||
|
lib:libwebp$secondaryArchSuffix
|
||||||
|
lib:libsqlite3$secondaryArchSuffix
|
||||||
|
lib:libxml2$secondaryArchSuffix
|
||||||
|
lib:libxslt$secondaryArchSuffix
|
||||||
|
lib:libz$secondaryArchSuffix
|
||||||
|
lib:libexecinfo$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
|
||||||
|
PROVIDES_devel="
|
||||||
|
haikuwebkit${secondaryArchSuffix}_devel = $portVersion
|
||||||
|
devel:libJavaScriptCore$secondaryArchSuffix = $portVersion
|
||||||
|
devel:libwebcore$secondaryArchSuffix = $portVersion
|
||||||
|
devel:libWebKit$secondaryArchSuffix = $portVersion
|
||||||
|
devel:libwtf$secondaryArchSuffix = $portVersion
|
||||||
|
"
|
||||||
|
REQUIRES_devel="
|
||||||
|
haikuwebkit$secondaryArchSuffix == $portVersion base
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}_devel
|
||||||
|
haiku_devel
|
||||||
|
devel:libicuuc$secondaryArchSuffix
|
||||||
|
devel:libjpeg$secondaryArchSuffix
|
||||||
|
devel:libpng16$secondaryArchSuffix
|
||||||
|
devel:libwebp$secondaryArchSuffix
|
||||||
|
devel:libsqlite3$secondaryArchSuffix
|
||||||
|
devel:libxml2$secondaryArchSuffix
|
||||||
|
devel:libxslt$secondaryArchSuffix
|
||||||
|
devel:libz$secondaryArchSuffix
|
||||||
|
devel:libexecinfo$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:pkg_config
|
||||||
|
cmd:flex
|
||||||
|
cmd:bison
|
||||||
|
cmd:gcc$secondaryArchSuffix
|
||||||
|
cmd:gperf
|
||||||
|
cmd:ld$secondaryArchSuffix
|
||||||
|
cmd:m4
|
||||||
|
cmd:make
|
||||||
|
cmd:ninja
|
||||||
|
cmd:perl
|
||||||
|
cmd:python
|
||||||
|
cmd:cmake >= 3.0.0
|
||||||
|
cmd:ruby
|
||||||
|
cmd:which
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
export PKG_CONFIG_LIBDIR="`finddir B_SYSTEM_DIRECTORY`/$relativeDevelopLibDir/pkgconfig"
|
||||||
|
Tools/Scripts/build-webkit --haiku --no-webkit2 \
|
||||||
|
--cmakeargs="-DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_BUILD_TYPE=Release -DSHOULD_INSTALL_JS_SHELL=ON"
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
cd WebKitBuild/Release
|
||||||
|
ninja install
|
||||||
|
|
||||||
|
prepareInstalledDevelLibs libWebKit libJavaScriptCore
|
||||||
|
|
||||||
|
# devel package
|
||||||
|
packageEntries devel \
|
||||||
|
$developDir
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user