mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] libxcvt: new package
@ 2022-08-11 10:45 Lucas Stach
  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] libxcvt: new package Michael Olbrich
  0 siblings, 2 replies; 4+ messages in thread
From: Lucas Stach @ 2022-08-11 10:45 UTC (permalink / raw)
  To: ptxdist

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-30  9:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11 10:45 [ptxdist] [PATCH 1/2] libxcvt: new package Lucas Stach
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox