From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 11 Aug 2022 12:46:39 +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 1oM5i1-001miz-E4 for lore@lore.pengutronix.de; Thu, 11 Aug 2022 12:46:39 +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 1oM5i2-0003Vr-OF; Thu, 11 Aug 2022 12:46:38 +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 1oM5hH-0003VR-Gt for ptxdist@pengutronix.de; Thu, 11 Aug 2022 12:45:51 +0200 From: Lucas Stach To: ptxdist@pengutronix.de Date: Thu, 11 Aug 2022 12:45:50 +0200 Message-Id: <20220811104551.1545447-1-l.stach@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH 1/2] libxcvt: 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 --- 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 +# +# 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 ") + @$(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