mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 4/4] wayvnc: new package
Date: Fri, 18 Feb 2022 17:08:38 +0100	[thread overview]
Message-ID: <20220218160838.759601-4-p.zabel@pengutronix.de> (raw)
In-Reply-To: <20220218160838.759601-1-p.zabel@pengutronix.de>

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 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 <p.zabel@pengutronix.de>
+#
+# 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 <p.zabel@pengutronix.de>")
+	@$(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


  parent reply	other threads:[~2022-02-18 16:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-18 16:08 [ptxdist] [PATCH 1/4] libjpeg: enable building libturbojpeg Philipp Zabel
2022-02-18 16:08 ` [ptxdist] [PATCH 2/4] aml: new package Philipp Zabel
2022-02-28 12:09   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-02-18 16:08 ` [ptxdist] [PATCH 3/4] neatvnc: " Philipp Zabel
2022-02-28 12:09   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-02-18 16:08 ` Philipp Zabel [this message]
2022-02-28 12:09   ` [ptxdist] [APPLIED] wayvnc: " Michael Olbrich
2022-02-18 16:27 ` [ptxdist] [PATCH 1/4] libjpeg: enable building libturbojpeg Christian Melki
2022-02-22  7:35   ` Michael Olbrich
2022-02-22 12:03   ` Philipp Zabel

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=20220218160838.759601-4-p.zabel@pengutronix.de \
    --to=p.zabel@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