From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 04 Dec 2025 14:15:06 +0100 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 1vR9Ao-007s0J-31 for lore@lore.pengutronix.de; Thu, 04 Dec 2025 14:15:06 +0100 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 1vR9Ao-00082Z-Ft; Thu, 04 Dec 2025 14:15:06 +0100 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 1vR9AP-0006se-56; Thu, 04 Dec 2025 14:14:41 +0100 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 1vR9AO-003xZY-37; Thu, 04 Dec 2025 14:14:40 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1vR9AO-00000009DKr-3qZA; Thu, 04 Dec 2025 14:14:40 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Thu, 4 Dec 2025 14:14:40 +0100 Message-ID: <20251204131440.2196206-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251111165320.3490682-2-f.pfitzner@pengutronix.de> References: <20251111165320.3490682-2-f.pfitzner@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] x264: 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 eba35730b54544a902fa5ec1b42c6bee588234e0. Michael [sent from post-receive hook] On Thu, 04 Dec 2025 14:14:40 +0100, Fabian Pfitzner wrote: > Signed-off-by: Fabian Pfitzner > Message-Id: <20251111165320.3490682-2-f.pfitzner@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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 > +# > +# 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 ") > + @$(call install_fixup, x264,DESCRIPTION,missing) > + > + @$(call install_lib, x264, 0, 0, 0644, libx264) > + > + @$(call install_finish, x264) > + > + @$(call touch) > + > +# vim: syntax=make