From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 06 Jul 2022 17:20:52 +0200 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 1o96pd-007qbJ-Be for lore@lore.pengutronix.de; Wed, 06 Jul 2022 17:20:52 +0200 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 1o96pg-0007DS-4q; Wed, 06 Jul 2022 17:20:52 +0200 Received: from dude02.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::28]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1o96oy-0007DK-K4 for ptxdist@pengutronix.de; Wed, 06 Jul 2022 17:20:08 +0200 From: Lucas Stach To: ptxdist@pengutronix.de Date: Wed, 6 Jul 2022 17:20:08 +0200 Message-Id: <20220706152008.2329323-1-l.stach@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH] xorg-lib-xcvt: 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 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 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 --- rules/xorg-lib-xcvt.in | 19 +++++++++++++ rules/xorg-lib-xcvt.make | 60 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 rules/xorg-lib-xcvt.in create mode 100644 rules/xorg-lib-xcvt.make diff --git a/rules/xorg-lib-xcvt.in b/rules/xorg-lib-xcvt.in new file mode 100644 index 000000000000..51a326d4a383 --- /dev/null +++ b/rules/xorg-lib-xcvt.in @@ -0,0 +1,19 @@ +## SECTION=multimedia_xorg_lib + +config XORG_LIB_XCVT + 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 XORG_LIB_XCVT + +config XORG_LIB_XCVT_TOOL + bool + prompt "install cvt cmdline tool" + help + Install cvt commandline tool to generate CVT timings. + +endif diff --git a/rules/xorg-lib-xcvt.make b/rules/xorg-lib-xcvt.make new file mode 100644 index 000000000000..483a7862da8e --- /dev/null +++ b/rules/xorg-lib-xcvt.make @@ -0,0 +1,60 @@ +# -*-makefile-*- +# +# Copyright (C) 2022 by Lucas Stach +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_XORG_LIB_XCVT) += xorg-lib-xcvt + +# +# Paths and names +# +XORG_LIB_XCVT_VERSION := 0.1.1 +XORG_LIB_XCVT_MD5 := 9f30247e8b5a09fa1df9538252a192b5 +XORG_LIB_XCVT := libxcvt-$(XORG_LIB_XCVT_VERSION) +XORG_LIB_XCVT_SUFFIX := tar.xz +XORG_LIB_XCVT_URL := https://www.x.org/pub/individual/lib//$(XORG_LIB_XCVT).$(XORG_LIB_XCVT_SUFFIX) +XORG_LIB_XCVT_SOURCE := $(SRCDIR)/$(XORG_LIB_XCVT).$(XORG_LIB_XCVT_SUFFIX) +XORG_LIB_XCVT_DIR := $(BUILDDIR)/$(XORG_LIB_XCVT) +XORG_LIB_XCVT_LICENSE := MIT +XORG_LIB_XCVT_LICENSE_FILES := \ + file://COPYING;129947a06984d6faa6f9a9788fa2a03f + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# meson +# +XORG_LIB_XCVT_CONF_TOOL := meson + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/xorg-lib-xcvt.targetinstall: + @$(call targetinfo) + + @$(call install_init, xorg-lib-xcvt) + @$(call install_fixup, xorg-lib-xcvt,PRIORITY,optional) + @$(call install_fixup, xorg-lib-xcvt,SECTION,base) + @$(call install_fixup, xorg-lib-xcvt,AUTHOR,"Lucas Stach ") + @$(call install_fixup, xorg-lib-xcvt,DESCRIPTION,missing) + + @$(call install_lib, xorg-lib-xcvt, 0, 0, 0644, libxcvt) + +ifdef PTXCONF_XORG_LIB_XCVT_TOOL + @$(call install_copy, xorg-lib-xcvt, 0, 0, 0755, -, /usr/bin/cvt) +endif + + @$(call install_finish, xorg-lib-xcvt) + + @$(call touch) + +# vim: syntax=make -- 2.30.2