mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Ladislav Michl <oss-lists@triops.cz>
Subject: Re: [ptxdist] [APPLIED] libcdio: new package
Date: Wed, 10 Jan 2024 17:57:37 +0100	[thread overview]
Message-ID: <20240110165737.4191511-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <ZY6iUFRTKDAYbfKn@lenoch>

Thanks, applied as 21737c170f0f92b0f1c943c43f5c44573dd80b12.

Michael

[sent from post-receive hook]

On Wed, 10 Jan 2024 17:57:36 +0100, Ladislav Michl <oss-lists@triops.cz> wrote:
> Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
> Message-Id: <ZY6iUFRTKDAYbfKn@lenoch>
> [mol: fix remove duplicate 'lib' in targetinstall]
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/libcdio.in b/rules/libcdio.in
> new file mode 100644
> index 000000000000..f5765a7517dd
> --- /dev/null
> +++ b/rules/libcdio.in
> @@ -0,0 +1,16 @@
> +## 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
> +	prompt "install c++ bindings"
> +
> +endif
> diff --git a/rules/libcdio.make b/rules/libcdio.make
> new file mode 100644
> index 000000000000..493c83f093e7
> --- /dev/null
> +++ b/rules/libcdio.make
> @@ -0,0 +1,68 @@
> +# -*-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_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 <ladis@linux-mips.org>")
> +	@$(call install_fixup, libcdio,DESCRIPTION,missing)
> +
> +	@$(foreach lib, $(LIBCDIO_LIBS-y), \
> +		$(call install_lib, libcdio, 0, 0, 0644, $(lib))$(ptx/nl))
> +
> +	@$(call install_finish, libcdio)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make



  reply	other threads:[~2024-01-10 16:59 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 ` [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   ` Michael Olbrich [this message]
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=20240110165737.4191511-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=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