From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 29 Dec 2023 11:41:29 +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 1rJAIz-007t8r-0c for lore@lore.pengutronix.de; Fri, 29 Dec 2023 11:41:29 +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 1rJAIy-0004gd-Nw; Fri, 29 Dec 2023 11:41:28 +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 1rJAIs-0004gU-0j for ptxdist@pengutronix.de; Fri, 29 Dec 2023 11:41:22 +0100 Received: from lenoch ([91.218.190.200]) by cmgsmtp with ESMTPSA id JAIqrpCkwsdmGJAIrr601g; Fri, 29 Dec 2023 11:41:21 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=triops.cz; s=f2019; t=1703846481; bh=PP2wg6aGYKoukAv3GtJicS2Qz0GjGMY1B4O88MTA8Qg=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=nqRM7ikeiFsL9FFz/U+KV2UWQJYLCUdv5tbwuEmObkf8Lwkdn7QY777J9xA6r5Vff cbPChXADRAhTaebptjrTCwV5ZpqqrW9kFmQDuA25n/6W0r3KNGOZZEuF7qV2ExSrsj 1vYeB4xpirjfjofy71T1vMIK8qE/ms3gnkBtRCauGaypwy0RUQUrbwDtRA/rzecwWb aTk426qqreWD0xeEjIPXRtp52xhVDRusOvWQFvpCQEuDeFGcCn6w2LiWmcYp+VAmnP KOhj/D0Qw8kxKQfpsz2TbDycOSj3xuj/7SmnmDLco+yWeN0KEzu1tGTpVvAqizRBN/ /rWd8bpTwZ5Ew== Date: Fri, 29 Dec 2023 11:41:20 +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: MS4wfGyvWQPSu1Ipvmy81yxY/82WcHTEoLZw1Nvu+E81aiUgeWwDPTVUDPoxSCKOufgwzoemohZe3Mn0kjocKhtTP2jr05uD1wKzTP6sDwVOqHege2Q4JTtl Tda9Vn/U7sX1Yh+xYRUNElhe0ZkZDV670q/M7+tKfbV4OKZf8dSxlWNB 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 3/9] libcdio: 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/libcdio.in | 15 ++++++++++ rules/libcdio.make | 68 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 rules/libcdio.in create mode 100644 rules/libcdio.make diff --git a/rules/libcdio.in b/rules/libcdio.in new file mode 100644 index 000000000..fd0d591ea --- /dev/null +++ b/rules/libcdio.in @@ -0,0 +1,15 @@ +## SECTION=multimedia_libs + +menuconfig LIBCDIO + tristate + prompt "libcdio " + select GCCLIBS_CXX if LIBCDIO_CXX + help + A library for CD-ROM and CD image access. + +if LIBCDIO + +config LIBCDIO_CXX + bool "install c++ bindings" + +endif diff --git a/rules/libcdio.make b/rules/libcdio.make new file mode 100644 index 000000000..e586ce581 --- /dev/null +++ b/rules/libcdio.make @@ -0,0 +1,68 @@ +# -*-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_LIBCDIO) += libcdio + +# +# Paths and names +# +LIBCDIO_VERSION := 2.1.0 +LIBCDIO_MD5 := aa7629e8f73662a762f64c444b901055 +LIBCDIO := libcdio-$(LIBCDIO_VERSION) +LIBCDIO_SUFFIX := tar.bz2 +LIBCDIO_URL := $(call ptx/mirror, GNU, libcdio/$(LIBCDIO).$(LIBCDIO_SUFFIX)) +LIBCDIO_SOURCE := $(SRCDIR)/$(LIBCDIO).$(LIBCDIO_SUFFIX) +LIBCDIO_DIR := $(BUILDDIR)/$(LIBCDIO) +LIBCDIO_LICENSE := GPL-3.0-or-later +LIBCDIO_LICENSE_FILES := \ + file://COPYING;md5=d32239bcb673463ab874e80d47fae504 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +LIBCDIO_CONF_TOOL := autoconf +LIBCDIO_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + $(GLOBAL_LARGE_FILE_OPTION) \ + --$(call ptx/endis, PTXCONF_LIBCDIO_CXX)-cxx \ + --disable-example-progs \ + --without-cd-drive \ + --without-cd-info \ + --without-cdda-player \ + --without-cd-read \ + --without-iso-info \ + --without-iso-read + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +LIBCDIO_LIBS-y := libcdio libiso9660 libudf +LIBCDIO_LIBS-$(PTXCONF_LIBCDIO_CXX) += libcdio++ libiso9660++ + +$(STATEDIR)/libcdio.targetinstall: + @$(call targetinfo) + + @$(call install_init, libcdio) + @$(call install_fixup, libcdio,PRIORITY,optional) + @$(call install_fixup, libcdio,SECTION,base) + @$(call install_fixup, libcdio,AUTHOR,"Ladislav Michl ") + @$(call install_fixup, libcdio,DESCRIPTION,missing) + + @$(foreach lib, $(LIBCDIO_LIBS-y), \ + $(call install_lib, libcdio, 0, 0, 0644, lib$(lib))$(ptx/nl)) + + @$(call install_finish, libcdio) + + @$(call touch) + +# vim: syntax=make -- 2.39.2