From: Lucas Stach <l.stach@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 3/4] wpewebkit: new package
Date: Wed, 8 Apr 2020 21:30:01 +0200 [thread overview]
Message-ID: <20200408193002.18077-3-l.stach@pengutronix.de> (raw)
In-Reply-To: <20200408193002.18077-1-l.stach@pengutronix.de>
WebPlatformForEmbedded port for the WebKit cross-platform
web browser engine.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
rules/wpewebkit.in | 56 +++++++++++++++++++++++++++
rules/wpewebkit.make | 90 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 146 insertions(+)
create mode 100644 rules/wpewebkit.in
create mode 100644 rules/wpewebkit.make
diff --git a/rules/wpewebkit.in b/rules/wpewebkit.in
new file mode 100644
index 000000000000..0de12b36e36e
--- /dev/null
+++ b/rules/wpewebkit.in
@@ -0,0 +1,56 @@
+## SECTION=multimedia_libs
+
+menuconfig WPEWEBKIT
+ tristate
+ prompt "wpewebkit "
+ select HOST_CMAKE
+ select HOST_NINJA
+ select HOST_SYSTEM_PERL
+ select HOST_SYSTEM_PERL_JSON
+ select GLIB
+ select LIBWPE
+ select CAIRO
+ select CAIRO_FREETYPE
+ select CAIRO_PNG
+ select FONTCONFIG
+ select FREETYPE
+ select ICU
+ select HARFBUZZ
+ select HARFBUZZ_ICU
+ select GLIB_NETWORKING if RUNTIME
+ select GNUTLS
+ select LIBJPEG
+ select LIBPCRE
+ select LIBWEBP
+ select LIBWEBP_DEMUX
+ select SQLITE
+ select ZLIB
+ select LIBPNG
+ select LIBSOUP
+ select LIBXML2
+ select LIBXSLT
+ select LIBXSLT_LIBXSLT
+ select MESALIB
+ select MESALIB_EGL
+ select MESALIB_GLES2
+ select LIBEPOXY
+ select LIBGCRYPT
+ select GSTREAMER1
+ select GST_PLUGINS_BASE1
+ select GST_PLUGINS_BASE1_APP
+ select GST_PLUGINS_BASE1_GL
+ select GST_PLUGINS_GOOD1
+ select GST_PLUGINS_BAD1
+ select WPEBACKEND_FDO
+ select QT5 if WPEWEBKIT_QT
+ select QT5_MODULE_QTDECLARATIVE if WPEWEBKIT_QT
+ help
+ WebPlatformForEmbedded port for the WebKit cross-platform web browser engine.
+
+if WPEWEBKIT
+
+config WPEWEBKIT_QT
+ bool
+ prompt "Qt API"
+
+endif
diff --git a/rules/wpewebkit.make b/rules/wpewebkit.make
new file mode 100644
index 000000000000..5958508d4eec
--- /dev/null
+++ b/rules/wpewebkit.make
@@ -0,0 +1,90 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Steffen Trumtrar <s.trumtrar@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_WPEWEBKIT) += wpewebkit
+
+#
+# Paths and names
+#
+WPEWEBKIT_VERSION := 2.28.0
+WPEWEBKIT_MD5 := 4298b9d38b4f05f92995422ea9979893
+WPEWEBKIT := wpewebkit-$(WPEWEBKIT_VERSION)
+WPEWEBKIT_SUFFIX := tar.xz
+WPEWEBKIT_URL := https://wpewebkit.org/releases/$(WPEWEBKIT).$(WPEWEBKIT_SUFFIX)
+WPEWEBKIT_SOURCE := $(SRCDIR)/$(WPEWEBKIT).$(WPEWEBKIT_SUFFIX)
+WPEWEBKIT_DIR := $(BUILDDIR)/$(WPEWEBKIT)
+WPEWEBKIT_LICENSE := BSD-2-Clause
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# cmake
+#
+WPEWEBKIT_CONF_TOOL := cmake
+WPEWEBKIT_CONF_OPT := \
+ $(CROSS_CMAKE_USR) \
+ -G Ninja \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DDEBUG_FISSION=OFF \
+ -DENABLE_ACCELERATED_2D_CANVAS=ON \
+ -DENABLE_ACCESSIBILITY=OFF \
+ -DENABLE_BUBBLEWRAP_SANDBOX=OFF \
+ -DENABLE_ENCRYPTED_MEDIA=OFF \
+ -DENABLE_GTKDOC=OFF\
+ -DENABLE_MEDIA_SOURCE=ON \
+ -DENABLE_SHAREABLE_RESOURCE=ON \
+ -DENABLE_VIDEO=ON \
+ -DENABLE_WEBDRIVER=ON \
+ -DENABLE_WEB_AUDIO=ON \
+ -DENABLE_WEB_CRYPTO=ON \
+ -DENABLE_WPE_QT_API=$(call ptx/onoff,PTXCONF_WPEWEBKIT_QT) \
+ -DENABLE_XSLT=ON \
+ -DPORT=WPE \
+ -DSHOULD_INSTALL_JS_SHELL=OFF \
+ -DSHOW_BINDINGS_GENERATION_PROGRESS=ON \
+ -DUSE_LD_GOLD=OFF \
+ -DUSE_OPENJPEG=OFF \
+ -DUSE_THIN_ARCHIVES=ON \
+ -DUSE_WOFF2=OFF \
+ -DWTF_CPU_ARM64_CORTEXA53=OFF
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/wpewebkit.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, wpewebkit)
+ @$(call install_fixup, wpewebkit,PRIORITY,optional)
+ @$(call install_fixup, wpewebkit,SECTION,base)
+ @$(call install_fixup, wpewebkit,AUTHOR,"Steffen Trumtrar <s.trumtrar@pengutronix.de>")
+ @$(call install_fixup, wpewebkit,DESCRIPTION,missing)
+
+ @$(call install_lib, wpewebkit, 0, 0, 0644, libWPEWebKit-1.0)
+
+ @$(call install_tree, wpewebkit, 0, 0, -, /usr/libexec/wpe-webkit-1.0)
+ @$(call install_tree, wpewebkit, 0, 0, -, /usr/lib/wpe-webkit-1.0)
+
+ifdef PTXCONF_WPEWEBKIT_QT
+ @$(call install_tree, wpewebkit, 0, 0, -, /usr/lib/qml)
+ @$(call install_link, wpewebkit, /usr/lib/qml/org/wpewebkit, /usr/lib/qt5/qml/org/wpewebkit)
+endif
+
+ @$(call install_finish, wpewebkit)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.20.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2020-04-08 19:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-08 19:29 [ptxdist] [PATCH 1/4] libwpe: " Lucas Stach
2020-04-08 19:30 ` [ptxdist] [PATCH 2/4] wpebackend-fdo: " Lucas Stach
2020-04-09 16:54 ` [ptxdist] [APPLIED] fbgrab: remove from staging Michael Olbrich
2020-04-08 19:30 ` Lucas Stach [this message]
2020-04-09 16:54 ` Michael Olbrich
2020-04-08 19:30 ` [ptxdist] [PATCH 4/4] cog: new package Lucas Stach
2020-04-09 16:54 ` [ptxdist] [APPLIED] fbgrab: remove from staging Michael Olbrich
2020-04-09 17:25 ` Michael Olbrich
2020-04-09 12:55 ` [ptxdist] [PATCH 1/4] libwpe: new package Roland Hieber
2020-04-09 16:54 ` [ptxdist] [APPLIED] fbgrab: remove from staging Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200408193002.18077-3-l.stach@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox