mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ladislav Michl <oss-lists@triops.cz>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 1/9] dav1d: new package
Date: Fri, 29 Dec 2023 11:38:48 +0100	[thread overview]
Message-ID: <ZY6huB3shLc6vv29@lenoch> (raw)
In-Reply-To: <ZY6haHnwMkDk70qR@lenoch>

From: Ladislav Michl <ladis@linux-mips.org>

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
 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 <ladis@linux-mips.org>
+#
+# 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 <ladis@linux-mips.org>")
+	@$(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




  reply	other threads:[~2023-12-29 10:38 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-29 10:37 [ptxdist] [PATCH 0/9] Add a few multimedia libraries Ladislav Michl
2023-12-29 10:38 ` Ladislav Michl [this message]
2024-01-10 16:57   ` [ptxdist] [APPLIED] dav1d: new package Michael Olbrich
2023-12-29 10:40 ` [ptxdist] [PATCH 2/9] libass: " Ladislav Michl
2024-01-10 16:57   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-12-29 10:41 ` [ptxdist] [PATCH 3/9] libcdio: " Ladislav Michl
2024-01-10 16:57   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-12-29 10:42 ` [ptxdist] [PATCH 4/9] gst-plugins-ugly1: unbreak cdio support Ladislav Michl
2024-01-10 16:57   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-12-29 10:43 ` [ptxdist] [PATCH 5/9] libtag: new package Ladislav Michl
2024-01-10 16:57   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-12-29 10:43 ` [ptxdist] [PATCH 6/9] gst-plugins-good1: unbreak libtag support Ladislav Michl
2024-01-10 16:57   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-12-29 10:44 ` [ptxdist] [PATCH 7/9] libdvdcss: new package Ladislav Michl
2024-01-10 16:57   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-12-29 10:45 ` [ptxdist] [PATCH 8/9] libdvdnav: " Ladislav Michl
2024-01-10 16:57   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-12-29 10:46 ` [ptxdist] [PATCH 9/9] libdvdread: " Ladislav Michl
2024-01-10 16:57   ` [ptxdist] [APPLIED] " Michael Olbrich

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=ZY6huB3shLc6vv29@lenoch \
    --to=oss-lists@triops.cz \
    --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