mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 1/4] libwpe: new package
Date: Wed,  8 Apr 2020 21:29:59 +0200	[thread overview]
Message-ID: <20200408193002.18077-1-l.stach@pengutronix.de> (raw)

General-purpose library for the WebPlatformForEmbedded-flavored port of WebKit.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 rules/libwpe.in   | 12 +++++++++
 rules/libwpe.make | 63 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)
 create mode 100644 rules/libwpe.in
 create mode 100644 rules/libwpe.make

diff --git a/rules/libwpe.in b/rules/libwpe.in
new file mode 100644
index 000000000000..6b566d06a5c9
--- /dev/null
+++ b/rules/libwpe.in
@@ -0,0 +1,12 @@
+## SECTION=system_libraries
+
+config LIBWPE
+	tristate
+	prompt "libwpe"
+	select HOST_CMAKE
+	select HOST_NINJA
+	select MESALIB
+	select MESALIB_EGL
+	select LIBXKBCOMMON
+	help
+	  General-purpose library for the WebPlatformForEmbedded-flavored port of WebKit.
diff --git a/rules/libwpe.make b/rules/libwpe.make
new file mode 100644
index 000000000000..cc24f995db48
--- /dev/null
+++ b/rules/libwpe.make
@@ -0,0 +1,63 @@
+# -*-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_LIBWPE) += libwpe
+
+#
+# Paths and names
+#
+LIBWPE_VERSION		:= 1.6.0
+LIBWPE_LIBRARY_VERSION	:= 1.0
+LIBWPE_MD5		:= 6e8a2c279dcc3617db5ec7ac4c03d628
+LIBWPE			:= libwpe-$(LIBWPE_VERSION)
+LIBWPE_SUFFIX		:= tar.xz
+LIBWPE_URL		:= https://wpewebkit.org/releases/$(LIBWPE).$(LIBWPE_SUFFIX)
+LIBWPE_SOURCE		:= $(SRCDIR)/$(LIBWPE).$(LIBWPE_SUFFIX)
+LIBWPE_DIR		:= $(BUILDDIR)/$(LIBWPE)
+LIBWPE_LICENSE		:= BSD-2-Clause
+LIBWPE_LICENSE_FILES	:= file://COPYING;md5=371a616eb4903c6cb79e9893a5f615cc
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# cmake
+#
+LIBWPE_CONF_TOOL	:= cmake
+LIBWPE_CONF_OPT	:= \
+	$(CROSS_CMAKE_USR) \
+	-G Ninja \
+	-DBUILD_DOCS=OFF \
+	-DWPE_BACKEND= \
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libwpe.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, libwpe)
+	@$(call install_fixup, libwpe,PRIORITY,optional)
+	@$(call install_fixup, libwpe,SECTION,base)
+	@$(call install_fixup, libwpe,AUTHOR,"Steffen Trumtrar <s.trumtrar@pengutronix.de>")
+	@$(call install_fixup, libwpe,DESCRIPTION,missing)
+
+	@$(call install_lib, libwpe, 0, 0, 0644, libwpe-$(LIBWPE_LIBRARY_VERSION))
+
+	@$(call install_finish, libwpe)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             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 Lucas Stach [this message]
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 ` [ptxdist] [PATCH 3/4] wpewebkit: new package Lucas Stach
2020-04-09 16:54   ` [ptxdist] [APPLIED] fbgrab: remove from staging 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-1-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