From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 18 Feb 2022 17:08:53 +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 1nL5oT-0032Eo-2R for lore@lore.pengutronix.de; Fri, 18 Feb 2022 17:08:53 +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 1nL5oR-0001Uk-Tb; Fri, 18 Feb 2022 17:08:51 +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-91 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:37 +0100 Message-Id: <20220218160838.759601-3-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 3/4] neatvnc: 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/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 +# +# 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 ") + @$(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