mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] x264: new package
@ 2025-11-11 16:53 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] x264: new package Michael Olbrich
  0 siblings, 2 replies; 4+ messages in thread
From: Fabian Pfitzner @ 2025-11-11 16:53 UTC (permalink / raw)
  To: ptxdist; +Cc: Fabian Pfitzner

Signed-off-by: Fabian Pfitzner <f.pfitzner@pengutronix.de>
---
 rules/x264.in   |  7 ++++++
 rules/x264.make | 62 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)
 create mode 100644 rules/x264.in
 create mode 100644 rules/x264.make

diff --git a/rules/x264.in b/rules/x264.in
new file mode 100644
index 000000000..08f594b74
--- /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 000000000..cc3f8d476
--- /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
-- 
2.47.3




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ptxdist] [PATCH 2/2] gst-plugins-bad1: unbreak x264 plugin
  2025-11-11 16:53 [ptxdist] [PATCH 1/2] x264: new package Fabian Pfitzner
@ 2025-11-11 16:53 ` Fabian Pfitzner
  2025-12-04 13:14   ` [ptxdist] [APPLIED] " Michael Olbrich
  2025-12-04 13:14 ` [ptxdist] [APPLIED] x264: new package Michael Olbrich
  1 sibling, 1 reply; 4+ messages in thread
From: Fabian Pfitzner @ 2025-11-11 16:53 UTC (permalink / raw)
  To: ptxdist; +Cc: Fabian Pfitzner

Signed-off-by: Fabian Pfitzner <f.pfitzner@pengutronix.de>
---
 rules/gst-plugins-ugly1.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/rules/gst-plugins-ugly1.in b/rules/gst-plugins-ugly1.in
index d984df777..979cc6623 100644
--- a/rules/gst-plugins-ugly1.in
+++ b/rules/gst-plugins-ugly1.in
@@ -10,6 +10,7 @@ menuconfig GST_PLUGINS_UGLY1
 	select ORC			if GST_PLUGINS_UGLY1_A52DEC
 	select LIBCDIO			if GST_PLUGINS_UGLY1_CDIO
 	select LIBMPEG2			if GST_PLUGINS_UGLY1_MPEG2DEC
+	select X264			if GST_PLUGINS_UGLY1_X264
 	prompt "gst-plugins-ugly              "
 	help
 	  GStreamer Ugly Plug-ins is a set of plug-ins that
@@ -79,8 +80,6 @@ config GST_PLUGINS_UGLY1_SIDPLAY
 
 config GST_PLUGINS_UGLY1_X264
 	bool
-	# needs x264
-	depends on BROKEN
 	prompt "x264"
 	help
 	  H.264 video encoder plugin
-- 
2.47.3




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [APPLIED] x264: new package
  2025-11-11 16:53 [ptxdist] [PATCH 1/2] x264: new package Fabian Pfitzner
  2025-11-11 16:53 ` [ptxdist] [PATCH 2/2] gst-plugins-bad1: unbreak x264 plugin Fabian Pfitzner
@ 2025-12-04 13:14 ` Michael Olbrich
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2025-12-04 13:14 UTC (permalink / raw)
  To: ptxdist; +Cc: Fabian Pfitzner

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [APPLIED] gst-plugins-bad1: unbreak x264 plugin
  2025-11-11 16:53 ` [ptxdist] [PATCH 2/2] gst-plugins-bad1: unbreak x264 plugin Fabian Pfitzner
@ 2025-12-04 13:14   ` Michael Olbrich
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2025-12-04 13:14 UTC (permalink / raw)
  To: ptxdist; +Cc: Fabian Pfitzner

Thanks, applied as c138857b918ff5a5f27fb3bc4d0e2faf85605233.

Michael

[sent from post-receive hook]

On Thu, 04 Dec 2025 14:14:41 +0100, Fabian Pfitzner <f.pfitzner@pengutronix.de> wrote:
> Signed-off-by: Fabian Pfitzner <f.pfitzner@pengutronix.de>
> Message-Id: <20251111165320.3490682-4-f.pfitzner@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/gst-plugins-ugly1.in b/rules/gst-plugins-ugly1.in
> index d984df77773a..979cc66236a3 100644
> --- a/rules/gst-plugins-ugly1.in
> +++ b/rules/gst-plugins-ugly1.in
> @@ -10,6 +10,7 @@ menuconfig GST_PLUGINS_UGLY1
>  	select ORC			if GST_PLUGINS_UGLY1_A52DEC
>  	select LIBCDIO			if GST_PLUGINS_UGLY1_CDIO
>  	select LIBMPEG2			if GST_PLUGINS_UGLY1_MPEG2DEC
> +	select X264			if GST_PLUGINS_UGLY1_X264
>  	prompt "gst-plugins-ugly              "
>  	help
>  	  GStreamer Ugly Plug-ins is a set of plug-ins that
> @@ -79,8 +80,6 @@ config GST_PLUGINS_UGLY1_SIDPLAY
>  
>  config GST_PLUGINS_UGLY1_X264
>  	bool
> -	# needs x264
> -	depends on BROKEN
>  	prompt "x264"
>  	help
>  	  H.264 video encoder plugin



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-12-04 13:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-11 16:53 [ptxdist] [PATCH 1/2] x264: new package 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 ` [ptxdist] [APPLIED] x264: new package Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox