blob: d4b277a15bf89a2a51522b1d2efdb0a753f7a39f [file] [log] [blame] [edit]
################################################################################
#
# libcdio
#
################################################################################
LIBCDIO_VERSION = 2.2.0
LIBCDIO_SOURCE = libcdio-$(LIBCDIO_VERSION).tar.bz2
LIBCDIO_SITE = https://github.com/libcdio/libcdio/releases/download/$(LIBCDIO_VERSION)
LIBCDIO_INSTALL_STAGING = YES
LIBCDIO_LICENSE = GPL-3.0+
LIBCDIO_LICENSE_FILES = COPYING
LIBCDIO_CPE_ID_VENDOR = gnu
LIBCDIO_CONF_OPTS = --disable-example-progs --disable-cddb
LIBCDIO_DEPENDENCIES = host-pkgconf
ifeq ($(BR2_ENABLE_LOCALE),)
LIBCDIO_DEPENDENCIES += libiconv
endif
ifeq ($(BR2_INSTALL_LIBSTDCPP),)
LIBCDIO_CONF_OPTS += --disable-cxx
endif
ifeq ($(BR2_PACKAGE_NCURSES),y)
LIBCDIO_DEPENDENCIES += ncurses
else
LIBCDIO_CONF_OPTS += --without-cdda-player
endif
$(eval $(autotools-package))