From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 20 Oct 2025 17:16:25 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vArcX-009w64-1q for lore@lore.pengutronix.de; Mon, 20 Oct 2025 17:16:25 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1vArcX-0003Lt-6b; Mon, 20 Oct 2025 17:16:25 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vArcM-0003Lf-0h; Mon, 20 Oct 2025 17:16:14 +0200 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vArcL-004ZT9-2g; Mon, 20 Oct 2025 17:16:13 +0200 Received: from rhi by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1vArcL-007Nr1-2N; Mon, 20 Oct 2025 17:16:13 +0200 Date: Mon, 20 Oct 2025 17:16:13 +0200 From: Roland Hieber To: Fabian Pfitzner Message-ID: <1760973201-3eb27bb55c0efd623606967c@pty> References: <20251020085529.2423792-2-f.pfitzner@pengutronix.de> <20251020085529.2423792-4-f.pfitzner@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20251020085529.2423792-4-f.pfitzner@pengutronix.de> Subject: Re: [ptxdist] [PATCH v2 1/2] openh264: 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 Cc: 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.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false On Mon, Oct 20, 2025 at 10:55:30AM +0200, Fabian Pfitzner wrote: > Signed-off-by: Fabian Pfitzner > --- > rules/openh264.in | 8 +++++++ > rules/openh264.make | 54 +++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 62 insertions(+) > create mode 100644 rules/openh264.in > create mode 100644 rules/openh264.make > > diff --git a/rules/openh264.in b/rules/openh264.in > new file mode 100644 > index 000000000..069cd22d2 > --- /dev/null > +++ b/rules/openh264.in > @@ -0,0 +1,8 @@ > +## SECTION=multimedia_libs > + > +config OPENH264 > + bool > + prompt "openh264" > + select HOST_MESON > + help > + Enable OpenH264 codec > diff --git a/rules/openh264.make b/rules/openh264.make > new file mode 100644 > index 000000000..63d11b68b > --- /dev/null > +++ b/rules/openh264.make > @@ -0,0 +1,54 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2025 by Fabian Pfitzner > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_OPENH264) += openh264 > + > +# > +# Paths and names > +# > +OPENH264_VERSION := 2.6.0 > +OPENH264_MD5 := 0b01f0279eca1c7bb65395ea350fa85c > +OPENH264 := OpenH264-$(OPENH264_VERSION) > +OPENH264_SUFFIX := tar.gz > +OPENH264_URL := https://github.com/cisco/openh264/archive/refs/tags/v$(OPENH264_VERSION).$(OPENH264_SUFFIX) > +OPENH264_SOURCE := $(SRCDIR)/$(OPENH264).$(OPENH264_SUFFIX) > +OPENH264_DIR := $(BUILDDIR)/$(OPENH264) > +OPENH264_LICENSE := BSD 2-Clause OPENH264_LICENSE_FILES := file://LICENSE;md5=bb6d3771da6a07d33fd50d4d9aa73bcf - Roland > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +OPENH264_CONF_TOOL := meson > +OPENH264_CONF_OPT := \ > + $(CROSS_MESON_USR) \ > + -Dtests=disabled > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/openh264.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, openh264) > + @$(call install_fixup, openh264,PRIORITY,optional) > + @$(call install_fixup, openh264,SECTION,base) > + @$(call install_fixup, openh264,AUTHOR,"Fabian Pfitzner ") > + @$(call install_fixup, openh264,DESCRIPTION,missing) > + > + @$(call install_lib, openh264, 0, 0, 0644, libopenh264) > + > + @$(call install_finish, openh264) > + > + @$(call touch) > + > +# vim: syntax=make > -- > 2.47.3 > > > -- Roland Hieber, Pengutronix e.K. | rhi@pengutronix.de | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |