mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: Fabian Pfitzner <f.pfitzner@pengutronix.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH v2 1/2] openh264: new package
Date: Mon, 20 Oct 2025 17:16:13 +0200	[thread overview]
Message-ID: <1760973201-3eb27bb55c0efd623606967c@pty> (raw)
In-Reply-To: <20251020085529.2423792-4-f.pfitzner@pengutronix.de>

On Mon, Oct 20, 2025 at 10:55:30AM +0200, Fabian Pfitzner wrote:
> Signed-off-by: Fabian Pfitzner <f.pfitzner@pengutronix.de>
> ---
>  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 <f.pfitzner@pengutronix.de>
> +#
> +# 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 <f.pfitzner@pengutronix.de>")
> +	@$(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 |



  reply	other threads:[~2025-10-20 15:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-20  8:55 [ptxdist] [PATCH v2 0/2] Add openh264 package Fabian Pfitzner
2025-10-20  8:55 ` [ptxdist] [PATCH v2 1/2] openh264: new package Fabian Pfitzner
2025-10-20 15:16   ` Roland Hieber [this message]
2025-10-20  8:55 ` [ptxdist] [PATCH v2 2/2] gst-plugins-bad1: unbreak openh264 plugin Fabian Pfitzner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1760973201-3eb27bb55c0efd623606967c@pty \
    --to=rhi@pengutronix.de \
    --cc=f.pfitzner@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox