mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 1/2] libxcvt: new package
Date: Thu, 11 Aug 2022 12:45:50 +0200	[thread overview]
Message-ID: <20220811104551.1545447-1-l.stach@pengutronix.de> (raw)

libxcvt is a library providing a standalone version of the X server
implementation of the VESA CVT standard timing modelines generator.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
v2:
- rename rule from xorg-lib-xcvt to libxcvt
- bump version to 0.1.2
---
 rules/libxcvt.in   | 19 +++++++++++++++
 rules/libxcvt.make | 59 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)
 create mode 100644 rules/libxcvt.in
 create mode 100644 rules/libxcvt.make

diff --git a/rules/libxcvt.in b/rules/libxcvt.in
new file mode 100644
index 000000000000..ec2645b791f8
--- /dev/null
+++ b/rules/libxcvt.in
@@ -0,0 +1,19 @@
+## SECTION=multimedia_xorg_lib
+
+config LIBXCVT
+	tristate
+	select HOST_MESON
+	prompt "libxcvt"
+	help
+	  libxcvt is a library providing a standalone version of the X server
+	  implementation of the VESA CVT standard timing modelines generator.
+
+if LIBXCVT
+
+config LIBXCVT_TOOL
+	bool
+	prompt "install cvt cmdline tool"
+	help
+	  Install cvt commandline tool to generate CVT timings.
+
+endif
diff --git a/rules/libxcvt.make b/rules/libxcvt.make
new file mode 100644
index 000000000000..66ba622d0980
--- /dev/null
+++ b/rules/libxcvt.make
@@ -0,0 +1,59 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2022 by Lucas Stach <l.stach@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBXCVT) += libxcvt
+
+#
+# Paths and names
+#
+LIBXCVT_VERSION		:= 0.1.2
+LIBXCVT_MD5		:= b553fdb6024c5a137ff925bf4c337724
+LIBXCVT			:= libxcvt-$(LIBXCVT_VERSION)
+LIBXCVT_SUFFIX		:= tar.xz
+LIBXCVT_URL		:= https://www.x.org/pub/individual/lib/$(LIBXCVT).$(LIBXCVT_SUFFIX)
+LIBXCVT_SOURCE		:= $(SRCDIR)/$(LIBXCVT).$(LIBXCVT_SUFFIX)
+LIBXCVT_DIR		:= $(BUILDDIR)/$(LIBXCVT)
+LIBXCVT_LICENSE		:= MIT
+LIBXCVT_LICENSE_FILES	:= \
+	file://COPYING;md5=129947a06984d6faa6f9a9788fa2a03f
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+#
+# meson
+#
+LIBXCVT_CONF_TOOL	:= meson
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libxcvt.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, libxcvt)
+	@$(call install_fixup, libxcvt,PRIORITY,optional)
+	@$(call install_fixup, libxcvt,SECTION,base)
+	@$(call install_fixup, libxcvt,AUTHOR,"Lucas Stach <l.stach@pengutronix.de>")
+	@$(call install_fixup, libxcvt,DESCRIPTION,missing)
+
+	@$(call install_lib, libxcvt, 0, 0, 0644, libxcvt)
+
+ifdef PTXCONF_LIBXCVT_TOOL
+	@$(call install_copy, libxcvt, 0, 0, 0755, -, /usr/bin/cvt)
+endif
+
+	@$(call install_finish, libxcvt)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.30.2




             reply	other threads:[~2022-08-11 10:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-11 10:45 Lucas Stach [this message]
2022-08-11 10:45 ` [ptxdist] [PATCH 2/2] xwayland: split out of xorg-server, update to 22.1.3 Lucas Stach
2022-08-30  9:09   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-08-30  9:09 ` [ptxdist] [APPLIED] libxcvt: new package Michael Olbrich

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=20220811104551.1545447-1-l.stach@pengutronix.de \
    --to=l.stach@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