From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 23 Oct 2025 15:15:19 +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 1vBv9z-00Ay7r-30 for lore@lore.pengutronix.de; Thu, 23 Oct 2025 15:15:19 +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 1vBv9z-0002R8-P6; Thu, 23 Oct 2025 15:15:19 +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 1vBv8Y-00088J-UL; Thu, 23 Oct 2025 15:13:50 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) 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 1vBv8Y-00541U-2Q; Thu, 23 Oct 2025 15:13:50 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1vBv8Y-000000055Ui-2x9j; Thu, 23 Oct 2025 15:13:50 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Thu, 23 Oct 2025 15:13:50 +0200 Message-ID: <20251023131350.1212753-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251021145312.1272182-4-f.pfitzner@pengutronix.de> References: <20251021145312.1272182-4-f.pfitzner@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] 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: Fabian Pfitzner 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 Thanks, applied as be816be17ddac6a51db22317449f1eaeb8c023a7. Michael [sent from post-receive hook] On Thu, 23 Oct 2025 15:13:50 +0200, Fabian Pfitzner wrote: > Signed-off-by: Fabian Pfitzner > Message-Id: <20251021145312.1272182-4-f.pfitzner@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/openh264.in b/rules/openh264.in > new file mode 100644 > index 000000000000..069cd22d2503 > --- /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 000000000000..f61430d06975 > --- /dev/null > +++ b/rules/openh264.make > @@ -0,0 +1,55 @@ > +# -*-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 > + > +# ---------------------------------------------------------------------------- > +# 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