From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 29 Dec 2023 11:38:57 +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 1rJAGX-007szx-1l for lore@lore.pengutronix.de; Fri, 29 Dec 2023 11:38:57 +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 1rJAGX-00049g-1v; Fri, 29 Dec 2023 11:38:57 +0100 Received: from h4.cmg1.smtp.forpsi.com ([185.129.138.163]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rJAGQ-00049X-Is for ptxdist@pengutronix.de; Fri, 29 Dec 2023 11:38:50 +0100 Received: from lenoch ([91.218.190.200]) by cmgsmtp with ESMTPSA id JAGOrpBYJsdmGJAGPr5zjI; Fri, 29 Dec 2023 11:38:50 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=triops.cz; s=f2019; t=1703846330; bh=YJn8xrX9jRM/mHXpzAewqX32tsK/Xm638lGGLOvXJ/8=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=gC7HZEiagJ35fCRZTNEU7IxmuqM4Jo8R+ohdYdLRn5ZEFrzj76tkXb50rWMxSxpzJ wxIXmbkxXQa4m5iuWTPNOaFmjaymsCGqqnHb828L+EUZNdjmWYcq+P8YFKLlNNQfJT AnNKJFehJMPe1z8t1Y/9zLeu3i7w+6MgUXDcL/QpCccsC64GIntwB35lIFhUAcPJqt I2Fw5WgTLY5FSGcwPV8jDl9WZnlJGQyFOSYudlSS4iM3GgAhrHqo8AzdeMzxcblYt5 J24i6/nCkiOglYhnlFu3WQkDsJV8MIBeSIdgQ+wtF1WouKzntN8DCGOTCK3TYRjmnp fGzSWE0z3AoZg== Date: Fri, 29 Dec 2023 11:38:48 +0100 From: Ladislav Michl To: ptxdist@pengutronix.de Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CMAE-Envelope: MS4wfGIOGU7fqFq2cDeMSmikrQYVx15MDEskwvrIozKe1BPY5xZUtEmN5HgC0nHr3YGvjj8OBHIFmWI93B6ZQp7o+QuOpLCFvv+x497vH/x12Da0miH2uFq8 Pb0kfoM+WJC9aifdCu/54aHAj6sELW+dW3ww62knlUfbQBUO7b3wgqtZ X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.4 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH 1/9] dav1d: 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 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 From: Ladislav Michl Signed-off-by: Ladislav Michl --- rules/dav1d.in | 8 +++++++ rules/dav1d.make | 62 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 rules/dav1d.in create mode 100644 rules/dav1d.make diff --git a/rules/dav1d.in b/rules/dav1d.in new file mode 100644 index 000000000..5c07b251f --- /dev/null +++ b/rules/dav1d.in @@ -0,0 +1,8 @@ +## SECTION=multimedia_libs + +config DAV1D + tristate + prompt "dav1d" + select HOST_MESON + help + AV1 cross-platform decoder. diff --git a/rules/dav1d.make b/rules/dav1d.make new file mode 100644 index 000000000..4421b3e28 --- /dev/null +++ b/rules/dav1d.make @@ -0,0 +1,62 @@ +# -*-makefile-*- +# +# Copyright (C) 2023 by Ladislav Michl +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_DAV1D) += dav1d + +# +# Paths and names +# +DAV1D_VERSION := 1.3.0 +DAV1D_MD5 := c8381f8346525dcd4205e9b50d80c5f4 +DAV1D := dav1d-$(DAV1D_VERSION) +DAV1D_SUFFIX := tar.bz2 +DAV1D_URL := https://code.videolan.org/videolan/dav1d/-/archive/$(DAV1D_VERSION)/$(DAV1D).$(DAV1D_SUFFIX) +DAV1D_SOURCE := $(SRCDIR)/$(DAV1D).$(DAV1D_SUFFIX) +DAV1D_DIR := $(BUILDDIR)/$(DAV1D) +DAV1D_LICENSE := BSD-2-Clause +DAV1D_LICENSE_FILES := \ + file://COPYING;md5=c8055cfe7548dfdaa3a6dc45d8793669 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# meson +# +DAV1D_CONF_TOOL := meson +DAV1D_CONF_OPT := \ + $(CROSS_MESON_USR) \ + -Denable_tools=false \ + -Denable_examples=false \ + -Denable_tests=false \ + -Denable_docs=false + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/dav1d.targetinstall: + @$(call targetinfo) + + @$(call install_init, dav1d) + @$(call install_fixup, dav1d,PRIORITY,optional) + @$(call install_fixup, dav1d,SECTION,base) + @$(call install_fixup, dav1d,AUTHOR,"Ladislav Michl ") + @$(call install_fixup, dav1d,DESCRIPTION,missing) + + @$(call install_lib, dav1d, 0, 0, 0644, libdav1d) + + @$(call install_finish, dav1d) + + @$(call touch) + +# vim: syntax=make -- 2.39.2