From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 18 Feb 2022 17:08:55 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nL5oV-0032FG-PO for lore@lore.pengutronix.de; Fri, 18 Feb 2022 17:08:55 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1nL5oU-0001c6-77; Fri, 18 Feb 2022 17:08:54 +0100 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 1nL5oH-0001JF-Iu for ptxdist@pengutronix.de; Fri, 18 Feb 2022 17:08:41 +0100 From: Philipp Zabel To: ptxdist@pengutronix.de Date: Fri, 18 Feb 2022 17:08:38 +0100 Message-Id: <20220218160838.759601-4-p.zabel@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220218160838.759601-1-p.zabel@pengutronix.de> References: <20220218160838.759601-1-p.zabel@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH 4/4] wayvnc: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list 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 Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Signed-off-by: Philipp Zabel --- rules/wayvnc.in | 24 +++++++++++++++++++ rules/wayvnc.make | 60 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 rules/wayvnc.in create mode 100644 rules/wayvnc.make diff --git a/rules/wayvnc.in b/rules/wayvnc.in new file mode 100644 index 000000000000..d92b3880c736 --- /dev/null +++ b/rules/wayvnc.in @@ -0,0 +1,24 @@ +## SECTION=multimedia_wayland + +menuconfig WAYVNC + tristate + select HOST_MESON + select AML + select LIBDRM + select LIBXKBCOMMON + select NEATVNC + select PIXMAN + select WAYLAND + select MESALIB if WAYVNC_SCREENCOPY_DMABUF + select MESALIB_GBM if WAYVNC_SCREENCOPY_DMABUF + prompt "wayvnc" + help + A VNC server for wlroots based Wayland compositors. + +if WAYVNC + +config WAYVNC_SCREENCOPY_DMABUF + bool + prompt "Enable GPU-side screencopy (experimental)" + +endif diff --git a/rules/wayvnc.make b/rules/wayvnc.make new file mode 100644 index 000000000000..77f3f076dbd2 --- /dev/null +++ b/rules/wayvnc.make @@ -0,0 +1,60 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Philipp Zabel +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_WAYVNC) += wayvnc + +# +# Paths and names +# +WAYVNC_VERSION := 0.4.1 +WAYVNC_MD5 := edbc130394fcba052090eaf1ef9fda2c +WAYVNC := wayvnc-$(WAYVNC_VERSION) +WAYVNC_SUFFIX := tar.gz +WAYVNC_URL := https://github.com/any1/wayvnc/archive/refs/tags/v$(WAYVNC_VERSION).$(WAYVNC_SUFFIX) +WAYVNC_SOURCE := $(SRCDIR)/$(WAYVNC).$(WAYVNC_SUFFIX) +WAYVNC_DIR := $(BUILDDIR)/$(WAYVNC) +WAYVNC_LICENSE := ISC + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# meson +# +WAYVNC_CONF_TOOL := meson +WAYVNC_CONF_OPT := \ + $(CROSS_MESON_USR) \ + -Dscreencopy-dmabuf=$(call ptx/endis,PTXCONF_WAYVNC_SCREENCOPY_DMABUF)d \ + -Dpam=disabled \ + -Dman-pages=disabled \ + -Dsystemtap=false + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/wayvnc.targetinstall: + @$(call targetinfo) + + @$(call install_init, wayvnc) + @$(call install_fixup, wayvnc,PRIORITY,optional) + @$(call install_fixup, wayvnc,SECTION,base) + @$(call install_fixup, wayvnc,AUTHOR,"Philipp Zabel ") + @$(call install_fixup, wayvnc,DESCRIPTION,missing) + + @$(call install_copy, wayvnc, 0, 0, 0755, -, /usr/bin/wayvnc) + + @$(call install_finish, wayvnc) + + @$(call touch) + +# vim: syntax=make -- 2.30.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de