From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 29 Dec 2023 11:43:23 +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 1rJAKp-007tIB-0L for lore@lore.pengutronix.de; Fri, 29 Dec 2023 11:43:23 +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 1rJAKo-00058r-Lt; Fri, 29 Dec 2023 11:43:22 +0100 Received: from h2.cmg2.smtp.forpsi.com ([81.2.195.189]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rJAKf-00058i-Vv for ptxdist@pengutronix.de; Fri, 29 Dec 2023 11:43:14 +0100 Received: from lenoch ([91.218.190.200]) by cmgsmtp with ESMTPSA id JAKdrqzKrSqGRJAKfrsU4Q; Fri, 29 Dec 2023 11:43:13 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=triops.cz; s=f2019; t=1703846593; bh=v0uXsKfRrc8LvmqhQOm6SpVs5jlnb2hnBL/uRlcZO5c=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=2W2Hskei8vePu7kvRjKGYzznu044unzdrOcSXe6ULxFBcAUuuVmTENC1EBYLY90c7 NvB2SJ6tWU7nEiqffcUJxjaLge9tiojt/Y3CfULTIhSadQQSJY6yuj1AGdjQoFub5T tEm96T1IJ82Jh2FI/azV/YxMzLa0QClPvskCJEn4u5VGSSBcP8S44vPU0TBT+DKr65 QAREVOCI6gVjf7ZwME8NNF23virnIIrS2/cVp7IhuHxfV5IyiNo6Ad/ijKSLu/9875 vwzVyn4wBwvDfdBbeZ/jBpM5kkmaYaP7CgAlXtDbuDPEOfQDnOz4Vq5xvxFujaQTNi GrjJi0SxGHsnQ== Date: Fri, 29 Dec 2023 11:43:11 +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: MS4wfOCwzawjXcOpfUuozrVoQE2AMJH5uxjpR9j2HoXFlM0YMulnV9JBv7SFfZHa5WDhWMILSyG7EsTtjIhbboPTLLYKrSXTsZVRVQufWCJG/OsKszC4H0Ew 11u2OdC7fWv09OVdl90WCEUXUUUgAl4D0zjdhUfc9Zj2qY4vdODNXkTe 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 5/9] libtag: 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/libtag.in | 17 ++++++++++++++ rules/libtag.make | 60 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 rules/libtag.in create mode 100644 rules/libtag.make diff --git a/rules/libtag.in b/rules/libtag.in new file mode 100644 index 000000000..17132b49e --- /dev/null +++ b/rules/libtag.in @@ -0,0 +1,17 @@ +## SECTION=multimedia_libs + +menuconfig LIBTAG + tristate + prompt "libtag " + select HOST_CMAKE + select ZLIB if LIBTAG_ZLIB + help + A library for reading and editing the meta-data of several + popular audio formats. + +if LIBTAG + +config LIBTAG_ZLIB + bool "zlib support" + +endif diff --git a/rules/libtag.make b/rules/libtag.make new file mode 100644 index 000000000..8d26a56da --- /dev/null +++ b/rules/libtag.make @@ -0,0 +1,60 @@ +# -*-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_LIBTAG) += libtag + +# +# Paths and names +# +LIBTAG_VERSION := 1.13.1 +LIBTAG_MD5 := 2fe6089da73ad414aa1b982b83415362 +LIBTAG := taglib-$(LIBTAG_VERSION) +LIBTAG_SUFFIX := tar.gz +LIBTAG_URL := https://taglib.org/releases/$(LIBTAG).$(LIBTAG_SUFFIX) +LIBTAG_SOURCE := $(SRCDIR)/$(LIBTAG).$(LIBTAG_SUFFIX) +LIBTAG_DIR := $(BUILDDIR)/$(LIBTAG) +LIBTAG_LICENSE := LGPL-2.1-or-later +LIBTAG_LICENSE_FILES := \ + file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \ + file://COPYING.MPL;md5=bfe1f75d606912a4111c90743d6c7325 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +LIBTAG_CONF_TOOL := cmake +LIBTAG_CONF_OPT := \ + $(CROSS_CMAKE_USR) \ + -DBUILD_SHARED_LIBS=ON \ + -DBUILD_TESTING=OFF \ + -DBUILD_EXAMPLES=OFF \ + -DWITH_ZLIB=$(call ptx/onoff, PTXCONF_LIBTAG_ZLIB) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libtag.targetinstall: + @$(call targetinfo) + + @$(call install_init, libtag) + @$(call install_fixup, libtag,PRIORITY,optional) + @$(call install_fixup, libtag,SECTION,base) + @$(call install_fixup, libtag,AUTHOR,"Ladislav Michl ") + @$(call install_fixup, libtag,DESCRIPTION,missing) + + $(call install_lib, libtag, 0, 0, 0644, libtag) + + @$(call install_finish, libtag) + + @$(call touch) + +# vim: syntax=make -- 2.39.2