From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 3/4] neatvnc: new package
Date: Fri, 18 Feb 2022 17:08:37 +0100 [thread overview]
Message-ID: <20220218160838.759601-3-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/neatvnc.in | 22 +++++++++++++++++
rules/neatvnc.make | 61 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 83 insertions(+)
create mode 100644 rules/neatvnc.in
create mode 100644 rules/neatvnc.make
diff --git a/rules/neatvnc.in b/rules/neatvnc.in
new file mode 100644
index 000000000000..9871a645dee8
--- /dev/null
+++ b/rules/neatvnc.in
@@ -0,0 +1,22 @@
+## SECTION=system_libraries
+
+menuconfig NEATVNC
+ tristate
+ select HOST_MESON
+ select PIXMAN
+ select ZLIB
+ select AML
+ select LIBJPEG if NEATVNC_JPEG
+ select LIBJPEG_TURBO if NEATVNC_JPEG
+ select LIBDRM if BUILDTIME
+ prompt "neatvnc"
+ help
+ VNC Server library
+
+if NEATVNC
+
+config NEATVNC_JPEG
+ bool
+ prompt "enable jpeg compression"
+
+endif
diff --git a/rules/neatvnc.make b/rules/neatvnc.make
new file mode 100644
index 000000000000..e5bb4c96e89b
--- /dev/null
+++ b/rules/neatvnc.make
@@ -0,0 +1,61 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Marian Cichy <m.cichy@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_NEATVNC) += neatvnc
+
+#
+# Paths and names
+#
+NEATVNC_VERSION := 0.4.0
+NEATVNC_MD5 := c645abf2233a3a3ad294ca1ef9399d23
+NEATVNC := neatvnc-$(NEATVNC_VERSION)
+NEATVNC_SUFFIX := tar.gz
+NEATVNC_URL := https://github.com/any1/neatvnc/archive/refs/tags/v$(NEATVNC_VERSION).$(NEATVNC_SUFFIX)
+NEATVNC_SOURCE := $(SRCDIR)/$(NEATVNC).$(NEATVNC_SUFFIX)
+NEATVNC_DIR := $(BUILDDIR)/$(NEATVNC)
+NEATVNC_LICENSE := ISC
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# meson
+#
+NEATVNC_CONF_TOOL := meson
+NEATVNC_CONF_OPT := \
+ $(CROSS_MESON_USR) \
+ -Dbenchmarks=false \
+ -Dexamples=false \
+ -Djpeg=$(call ptx/endis,PTXCONF_NEATVNC_JPEG)d \
+ -Dtls=disabled \
+ -Dsystemtap=false
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/neatvnc.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, neatvnc)
+ @$(call install_fixup, neatvnc,PRIORITY,optional)
+ @$(call install_fixup, neatvnc,SECTION,base)
+ @$(call install_fixup, neatvnc,AUTHOR,"Marian Cichy <m.cichy@pengutronix.de>")
+ @$(call install_fixup, neatvnc,DESCRIPTION,missing)
+
+ @$(call install_lib, neatvnc, 0, 0, 0644, libneatvnc)
+
+ @$(call install_finish, neatvnc)
+
+ @$(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
next prev 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 ` Philipp Zabel [this message]
2022-02-28 12:09 ` [ptxdist] [APPLIED] neatvnc: " Michael Olbrich
2022-02-18 16:08 ` [ptxdist] [PATCH 4/4] wayvnc: " Philipp Zabel
2022-02-28 12:09 ` [ptxdist] [APPLIED] " 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-3-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