Patchwork [04/13] libcdio: new package

login
register
mail settings
Submitter Maxime Hadjinlian
Date Feb. 21, 2013, 2:58 p.m.
Message ID <e06bb5510036fde83350074e66d17f52d314ee2c.1361458625.git.maxime.hadjinlian@gmail.com>
Download mbox | patch
Permalink /patch/222312/
State Changes Requested
Headers show

Comments

Maxime Hadjinlian - Feb. 21, 2013, 2:58 p.m.
The GNU Compact Disc Input and Control library.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/Config.in          |    1 +
 package/libcdio/Config.in  |   11 +++++++++++
 package/libcdio/libcdio.mk |   18 ++++++++++++++++++
 3 files changed, 30 insertions(+)
 create mode 100644 package/libcdio/Config.in
 create mode 100644 package/libcdio/libcdio.mk
Yann E. MORIN - Feb. 21, 2013, 6:47 p.m.
Maxime, All,

On Thursday 21 February 2013 Maxime Hadjinlian wrote:
> The GNU Compact Disc Input and Control library.
> This package was originally found at : https://github.com/huceke/buildroot-rbp
> By gimli <ebsi4711@gmail.com>
[--SNIP--]
> diff --git a/package/libcdio/libcdio.mk b/package/libcdio/libcdio.mk
> new file mode 100644
> index 0000000..71ffe91
> --- /dev/null
> +++ b/package/libcdio/libcdio.mk
> @@ -0,0 +1,18 @@
> +#############################################################
> +#
> +# libcdio
> +#
> +#############################################################
> +
> +LIBCDIO_VERSION = 0.82
> +LIBCDIO_SITE = $(BR2_GNU_MIRROR)/libcdio
> +LIBCDIO_INSTALL_STAGING = YES
> +LIBCDIO_LICENSE = GPLv3

It is GPLv3+.

Regards,
Yann E. MORIN.

Patch

diff --git a/package/Config.in b/package/Config.in
index 5682cd2..01eeee8 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -350,6 +350,7 @@  source "package/audiofile/Config.in"
 source "package/celt051/Config.in"
 source "package/libao/Config.in"
 source "package/libcdaudio/Config.in"
+source "package/libcdio/Config.in"
 source "package/libcue/Config.in"
 source "package/libcuefile/Config.in"
 source "package/libid3tag/Config.in"
diff --git a/package/libcdio/Config.in b/package/libcdio/Config.in
new file mode 100644
index 0000000..4e6c800
--- /dev/null
+++ b/package/libcdio/Config.in
@@ -0,0 +1,11 @@ 
+config BR2_PACKAGE_LIBCDIO
+	bool "libcdio"
+	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  The GNU Compact Disc Input and Control library.
+
+	  http://www.gnu.org/software/libcdio/
+
+comment "libcdio requires C++ support in toolchain"
+	depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/libcdio/libcdio.mk b/package/libcdio/libcdio.mk
new file mode 100644
index 0000000..71ffe91
--- /dev/null
+++ b/package/libcdio/libcdio.mk
@@ -0,0 +1,18 @@ 
+#############################################################
+#
+# libcdio
+#
+#############################################################
+
+LIBCDIO_VERSION = 0.82
+LIBCDIO_SITE = $(BR2_GNU_MIRROR)/libcdio
+LIBCDIO_INSTALL_STAGING = YES
+LIBCDIO_LICENSE = GPLv3
+LIBCDIO_LICENSE_FILES = COPYING
+LIBCDIO_CONF_OPT = --disable-example-progs
+
+ifeq ($(BR2_ENABLE_LOCALE),)
+LIBCDIO_DEPENDENCIES = libiconv
+endif
+
+$(eval $(autotools-package))