mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
HaikuWebKit 1.4.13.
This commit is contained in:
103
haiku-libs/haikuwebkit/haikuwebkit-1.4.13.recipe
Normal file
103
haiku-libs/haikuwebkit/haikuwebkit-1.4.13.recipe
Normal file
@@ -0,0 +1,103 @@
|
||||
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-2015 Apple Inc., Google Inc., et al"
|
||||
LICENSE="
|
||||
GNU LGPL v2
|
||||
GNU LGPL v2.1
|
||||
MIT
|
||||
"
|
||||
SOURCE_URI="https://github.com/haiku/webkit/archive/$portVersion.tar.gz"
|
||||
SOURCE_FILENAME="haikuwebkit-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="5e2acf36b592ce028a1a472f288b257ee1067c761f1124dbbfff87f2d8aad3c0"
|
||||
REVISION="1"
|
||||
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:libpng$secondaryArchSuffix
|
||||
lib:libwebp$secondaryArchSuffix
|
||||
lib:libsqlite3$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
lib:libxslt$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
lib:libexecinfo$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
haiku_devel
|
||||
devel:libicuuc$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libpng$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
|
||||
"
|
||||
|
||||
SOURCE_DIR="webkit-$portVersion"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
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
|
||||
"
|
||||
Reference in New Issue
Block a user