From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Fabian Pfitzner <f.pfitzner@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] x264: new package
Date: Thu, 4 Dec 2025 14:14:40 +0100 [thread overview]
Message-ID: <20251204131440.2196206-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20251111165320.3490682-2-f.pfitzner@pengutronix.de>
Thanks, applied as eba35730b54544a902fa5ec1b42c6bee588234e0.
Michael
[sent from post-receive hook]
On Thu, 04 Dec 2025 14:14:40 +0100, Fabian Pfitzner <f.pfitzner@pengutronix.de> wrote:
> Signed-off-by: Fabian Pfitzner <f.pfitzner@pengutronix.de>
> Message-Id: <20251111165320.3490682-2-f.pfitzner@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/x264.in b/rules/x264.in
> new file mode 100644
> index 000000000000..08f594b74497
> --- /dev/null
> +++ b/rules/x264.in
> @@ -0,0 +1,7 @@
> +## SECTION=multimedia_libs
> +
> +config X264
> + bool
> + prompt "x264 encoder"
> + help
> + Enable x264 encoder
> diff --git a/rules/x264.make b/rules/x264.make
> new file mode 100644
> index 000000000000..cc3f8d476b9d
> --- /dev/null
> +++ b/rules/x264.make
> @@ -0,0 +1,62 @@
> +# -*-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_X264) += x264
> +
> +#
> +# Paths and names
> +#
> +X264_VERSION := 2025-08-27-g31e19f92f00c7
> +X264_MD5 := 540aaf514c058f0c0ecbd63f70320783
> +X264 := x264-$(X264_VERSION)
> +X264_SUFFIX := tar.gz
> +X264_URL := https://code.videolan.org/videolan/x264/-/archive/$(X264_VERSION)/$(X264).$(X264_SUFFIX)
> +X264_SOURCE := $(SRCDIR)/$(X264).$(X264_SUFFIX)
> +X264_DIR := $(BUILDDIR)/$(X264)
> +X264_LICENSE := GPL-2.0-only
> +X264_LICENSE_FILES := file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +X264_CONF_ENV := \
> + $(CROSS_ENV) \
> + AS=$(CROSS_CC)
> +
> +X264_CONF_TOOL := autoconf
> +X264_CONF_OPT := \
> + --host=$(patsubst aarch64-v8a%,aarch64% \
> + ,$(patsubst arm-v7a%,arm% \
> + ,$(PTXCONF_GNU_TARGET))) \
> + --prefix=/usr \
> + --enable-shared
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/x264.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, x264)
> + @$(call install_fixup, x264,PRIORITY,optional)
> + @$(call install_fixup, x264,SECTION,base)
> + @$(call install_fixup, x264,AUTHOR,"Fabian Pfitzner <f.pfitzner@pengutronix.de>")
> + @$(call install_fixup, x264,DESCRIPTION,missing)
> +
> + @$(call install_lib, x264, 0, 0, 0644, libx264)
> +
> + @$(call install_finish, x264)
> +
> + @$(call touch)
> +
> +# vim: syntax=make
prev parent reply other threads:[~2025-12-04 13:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-11 16:53 [ptxdist] [PATCH 1/2] " Fabian Pfitzner
2025-11-11 16:53 ` [ptxdist] [PATCH 2/2] gst-plugins-bad1: unbreak x264 plugin Fabian Pfitzner
2025-12-04 13:14 ` [ptxdist] [APPLIED] " Michael Olbrich
2025-12-04 13:14 ` Michael Olbrich [this message]
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=20251204131440.2196206-1-m.olbrich@pengutronix.de \
--to=m.olbrich@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