From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1jMGOg-0002t2-Pd for ptxdist@pengutronix.de; Wed, 08 Apr 2020 21:30:02 +0200 From: Lucas Stach Date: Wed, 8 Apr 2020 21:30:00 +0200 Message-Id: <20200408193002.18077-2-l.stach@pengutronix.de> In-Reply-To: <20200408193002.18077-1-l.stach@pengutronix.de> References: <20200408193002.18077-1-l.stach@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH 2/4] wpebackend-fdo: new package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de WPE backend based on freedesktop.org stack. Signed-off-by: Lucas Stach --- rules/wpebackend-fdo.in | 15 ++++++++ rules/wpebackend-fdo.make | 72 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 rules/wpebackend-fdo.in create mode 100644 rules/wpebackend-fdo.make diff --git a/rules/wpebackend-fdo.in b/rules/wpebackend-fdo.in new file mode 100644 index 000000000000..d4f48ad4fea4 --- /dev/null +++ b/rules/wpebackend-fdo.in @@ -0,0 +1,15 @@ +## SECTION=multimedia_libs + +config WPEBACKEND_FDO + tristate + prompt "wpebackend-fdo" + select HOST_CMAKE + select HOST_NINJA + select LIBWPE + select GLIB + select MESALIB + select MESALIB_EGL + select WAYLAND + help + WPE backend based on freedesktop.org stack + diff --git a/rules/wpebackend-fdo.make b/rules/wpebackend-fdo.make new file mode 100644 index 000000000000..95e48fa21a8e --- /dev/null +++ b/rules/wpebackend-fdo.make @@ -0,0 +1,72 @@ +# -*-makefile-*- +# +# Copyright (C) 2018 by Steffen Trumtrar +# +# 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_WPEBACKEND_FDO) += wpebackend-fdo + +# +# Paths and names +# +WPEBACKEND_FDO_VERSION := 1.6.0 +WPEBACKEND_FDO_LIBRARY_VERSION := 1.0 +WPEBACKEND_FDO_MD5 := 456afeed22f6749f7b2a97c11660835d +WPEBACKEND_FDO := wpebackend-fdo-$(WPEBACKEND_FDO_VERSION) +WPEBACKEND_FDO_SUFFIX := tar.xz +WPEBACKEND_FDO_URL := https://wpewebkit.org/releases/$(WPEBACKEND_FDO).$(WPEBACKEND_FDO_SUFFIX) +WPEBACKEND_FDO_SOURCE := $(SRCDIR)/$(WPEBACKEND_FDO).$(WPEBACKEND_FDO_SUFFIX) +WPEBACKEND_FDO_DIR := $(BUILDDIR)/$(WPEBACKEND_FDO) +WPEBACKEND_FDO_LICENSE := BSD-2-Clause +WPEBACKEND_FDO_LICENSE_FILES := file://COPYING;md5=1f62cef2e3645e3e74eb05fd389d7a66 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# cmake +# +WPEBACKEND_FDO_CONF_TOOL := cmake +WPEBACKEND_FDO_CONF_OPT := \ + $(CROSS_CMAKE_USR) \ + -G Ninja \ + -DBUILD_DOCS=OFF \ + -DEXPORTABLE_EGL=ON + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/wpebackend-fdo.targetinstall: + @$(call targetinfo) + + @$(call install_init, wpebackend-fdo) + @$(call install_fixup, wpebackend-fdo,PRIORITY,optional) + @$(call install_fixup, wpebackend-fdo,SECTION,base) + @$(call install_fixup, wpebackend-fdo,AUTHOR,"Steffen Trumtrar ") + @$(call install_fixup, wpebackend-fdo,DESCRIPTION,missing) + + @$(call install_lib, wpebackend-fdo, 0, 0, 0644, \ + libWPEBackend-fdo-$(WPEBACKEND_FDO_LIBRARY_VERSION)) + + @$(call install_link, wpebackend-fdo, \ + libWPEBackend-fdo-$(WPEBACKEND_FDO_LIBRARY_VERSION).so.1.6.1, \ + /usr/lib/libWPEBackend-default.so) + @$(call install_link, wpebackend-fdo, \ + libWPEBackend-fdo-$(WPEBACKEND_FDO_LIBRARY_VERSION).so.1.6.1, \ + /usr/lib/libWPEBackend-fdo-$(WPEBACKEND_FDO_LIBRARY_VERSION).so) + + + @$(call install_finish, wpebackend-fdo) + + @$(call touch) + +# vim: syntax=make -- 2.20.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de