libcddb: new package

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Julien Boibessot 2015-07-31 11:31:01 +02:00 committed by Thomas Petazzoni
parent 03130f944a
commit 7c93228106
4 changed files with 49 additions and 0 deletions

View File

@ -696,6 +696,7 @@ menu "Audio/Sound"
source "package/libao/Config.in"
source "package/libbroadvoice/Config.in"
source "package/libcdaudio/Config.in"
source "package/libcddb/Config.in"
source "package/libcdio/Config.in"
source "package/libcodec2/Config.in"
source "package/libcue/Config.in"

20
package/libcddb/Config.in Normal file
View File

@ -0,0 +1,20 @@
config BR2_PACKAGE_LIBCDDB
bool "libcddb"
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
Libcddb is a C library to access data on a CDDB server
(freedb.org). It allows you to:
* search the database for possible CD matches;
* retrieve detailed information about a specific CD;
* submit new CD entries to the database.
http://libcddb.sourceforge.net/index.html
if BR2_PACKAGE_LIBCDDB
config BR2_PACKAGE_LIBCDDB_INSTALL_CDDB_QUERY
bool "install cddb_query"
help
cddb_query is an optionnal libcddb test program.
endif

View File

@ -0,0 +1,2 @@
# Locally computed:
sha256 35ce0ee1741ea38def304ddfe84a958901413aa829698357f0bee5bb8f0a223b libcddb-1.3.2.tar.bz2

View File

@ -0,0 +1,26 @@
################################################################################
#
# libcddb
#
################################################################################
LIBCDDB_VERSION = 1.3.2
LIBCDDB_SOURCE = libcddb-$(LIBCDDB_VERSION).tar.bz2
LIBCDDB_SITE = http://downloads.sourceforge.net/libcddb/
LIBCDDB_LICENSE = LGPLv2+
LIBCDDB_LICENSE_FILES = COPYING
LIBCDDB_INSTALL_STAGING = YES
ifeq ($(BR2_ENABLE_LOCALE),)
LIBCDDB_DEPENDENCIES += libiconv
endif
define LIBCDDB_REMOVE_CDDB_QUERY
rm -f $(TARGET_DIR)/usr/bin/cddb_query
endef
ifeq ($(BR2_PACKAGE_LIBCDDB_INSTALL_CDDB_QUERY),)
LIBCDDB_POST_INSTALL_TARGET_HOOKS += LIBCDDB_REMOVE_CDDB_QUERY
endif
$(eval $(autotools-package))