From: Ladislav Michl <oss-lists@triops.cz>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 2/9] libass: new package
Date: Fri, 29 Dec 2023 11:40:13 +0100 [thread overview]
Message-ID: <ZY6iDRfvbQjKcg-0@lenoch> (raw)
In-Reply-To: <ZY6haHnwMkDk70qR@lenoch>
From: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
rules/libass.in | 12 +++++++++
rules/libass.make | 63 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 75 insertions(+)
create mode 100644 rules/libass.in
create mode 100644 rules/libass.make
diff --git a/rules/libass.in b/rules/libass.in
new file mode 100644
index 000000000..a94fb960a
--- /dev/null
+++ b/rules/libass.in
@@ -0,0 +1,12 @@
+## SECTION=multimedia_libs
+
+config LIBASS
+ tristate
+ prompt "libass"
+ select FONTCONFIG
+ select FREETYPE
+ select FRIBIDI
+ select HARFBUZZ
+ help
+ Portable subtitle renderer for the ASS/SSA (Advanced Substation
+ Alpha/Substation Alpha) subtitle format.
diff --git a/rules/libass.make b/rules/libass.make
new file mode 100644
index 000000000..a0066e156
--- /dev/null
+++ b/rules/libass.make
@@ -0,0 +1,63 @@
+# -*-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_LIBASS) += libass
+
+#
+# Paths and names
+#
+LIBASS_VERSION := 0.17.1
+LIBASS_MD5 := e920cfac44bf9e729d9a0aeed22d9ddb
+LIBASS := libass-$(LIBASS_VERSION)
+LIBASS_SUFFIX := tar.gz
+LIBASS_URL := https://github.com/libass/libass/archive/$(LIBASS_VERSION).$(LIBASS_SUFFIX)
+LIBASS_SOURCE := $(SRCDIR)/$(LIBASS).$(LIBASS_SUFFIX)
+LIBASS_DIR := $(BUILDDIR)/$(LIBASS)
+LIBASS_LICENSE := ISC
+LIBASS_LICENSE_FILES := \
+ file://COPYING;md5=a42532a0684420bdb15556c3cdd49a75
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+LIBASS_CONF_TOOL := autoconf
+LIBASS_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ --disable-test \
+ --disable-profile
+
+$(STATEDIR)/libass.prepare:
+ @$(call targetinfo)
+ @$(call world/execute, LIBASS, ./autogen.sh)
+ @$(call world/prepare, LIBASS)
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libass.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, libass)
+ @$(call install_fixup, libass,PRIORITY,optional)
+ @$(call install_fixup, libass,SECTION,base)
+ @$(call install_fixup, libass,AUTHOR,"Ladislav Michl <ladis@linux-mips.org>")
+ @$(call install_fixup, libass,DESCRIPTION,missing)
+
+ @$(call install_lib, libass, 0, 0, 0644, libass)
+
+ @$(call install_finish, libass)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.39.2
next prev parent reply other threads:[~2023-12-29 10:40 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 ` [ptxdist] [PATCH 1/9] dav1d: new package Ladislav Michl
2024-01-10 16:57 ` [ptxdist] [APPLIED] " Michael Olbrich
2023-12-29 10:40 ` Ladislav Michl [this message]
2024-01-10 16:57 ` [ptxdist] [APPLIED] libass: " 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=ZY6iDRfvbQjKcg-0@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