From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 29 Dec 2023 11:40:22 +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 1rJAHu-007t5J-1d for lore@lore.pengutronix.de; Fri, 29 Dec 2023 11:40:22 +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 1rJAHu-0004Qs-1j; Fri, 29 Dec 2023 11:40:22 +0100 Received: from h1.cmg1.smtp.forpsi.com ([81.2.195.162]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rJAHn-0004Qj-V7 for ptxdist@pengutronix.de; Fri, 29 Dec 2023 11:40:16 +0100 Received: from lenoch ([91.218.190.200]) by cmgsmtp with ESMTPSA id JAHmrpCCFsdmGJAHnr5ztY; Fri, 29 Dec 2023 11:40:15 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=triops.cz; s=f2019; t=1703846415; bh=ovI2Eea37CjK72wYrTcxPjUjjq+cb8smqWrHvHxWAVs=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=nibKWGj5M+ZkFX7qE23yyIVlP7gSvjhD9aBClRiaHqmp1s2SL6+pzFGtPrdauFkiN mMCWZ5sI47ctJ6e8LLrnA3PLlOY2XcOApUmNXYCSde9rAT2y+EN3a6752yhAsOlbXQ HaRQgjGj+ncUGkiqB0Fjb9gQ7AbJMogllRCjTIww7IoaYXXanL4iGqH9fmzGtmN1A7 3Lm4cvBp9e3yDh+Zwk68/lcgtOpKs65zz25LwTpIt6TTXGSTpM/hIRinISIxWZHJyc T2fi9EbjPzKfqIe++OjynNTyPGqs92fKElG1B7RvY2L2AG1fuIQFfqVoYLguxnagYs 5ql+CIjB5yC/A== Date: Fri, 29 Dec 2023 11:40:13 +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: MS4wfKYfQkfXp7dIPbEIFhWRx7FyrbKfy2sk0AZVRWlecDn7Xk+uxMd+v7OxOA5XAdo+gPagKDVqeGlQsTwg+7O53ceearz9Hsndi1be2qZprahhFDsFVrQC 71TIOzFyJqp1q2M9YhNz3AGcub0wJC4k3tfrZBLlEkhP8Hswg/9vhvkd 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_H4, 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 2/9] libass: 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/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 +# +# 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 ") + @$(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