libcdio: new package
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Sun, 19 Jan 2014 21:03:58 +0000 (22:03 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 19 Jan 2014 22:05:05 +0000 (23:05 +0100)
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>
Cc: gimli <ebsi4711@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/libcdio/Config.in [new file with mode: 0644]
package/libcdio/libcdio.mk [new file with mode: 0644]

index 3f78651ed3094f925ef9e11c829b9245f0c04f68..749ffeafd523a850407e35e01ed530246e6267e9 100644 (file)
@@ -451,6 +451,7 @@ source "package/celt051/Config.in"
 source "package/fdk-aac/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 (file)
index 0000000..d2d61e7
--- /dev/null
@@ -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 needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/libcdio/libcdio.mk b/package/libcdio/libcdio.mk
new file mode 100644 (file)
index 0000000..07cb987
--- /dev/null
@@ -0,0 +1,18 @@
+################################################################################
+#
+# libcdio
+#
+################################################################################
+
+LIBCDIO_VERSION = 0.90
+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))