![Petr Vorel](/assets/img/avatar_default.png)
Options should be prefixed by BR2_PACKAGE_LIBMEDIAART and not
BR2_PACKAGE_MEDIAART, but package was using both prefixes.
This was found as default symbol was defined as
BR2_PACKAGE_LIBMEDIAART_BACKEND_NONE (correct prefix), but symbol
was actually BR2_PACKAGE_MEDIAART_BACKEND_NONE).
This commit therefore renames the incorrectly named options, and adds
Config.in.legacy handling. Since the options are part of a choice, the
legacy handling cannot select the new options, and is only here to
inform the user.
Fixes: c443830a57
libmediaart: new package
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
[Thomas: improve commit log, add Config.in.legacy handling]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
41 lines
1.3 KiB
Makefile
41 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# libmediaart
|
|
#
|
|
################################################################################
|
|
|
|
LIBMEDIAART_VERSION_MAJOR = 1.9
|
|
LIBMEDIAART_VERSION = $(LIBMEDIAART_VERSION_MAJOR).4
|
|
LIBMEDIAART_SOURCE = libmediaart-$(LIBMEDIAART_VERSION).tar.xz
|
|
LIBMEDIAART_SITE = \
|
|
http://ftp.gnome.org/pub/gnome/sources/libmediaart/$(LIBMEDIAART_VERSION_MAJOR)
|
|
LIBMEDIAART_LICENSE = LGPL-2.1+
|
|
LIBMEDIAART_LICENSE_FILES = COPYING.LESSER
|
|
LIBMEDIAART_INSTALL_STAGING = YES
|
|
LIBMEDIAART_DEPENDENCIES = libglib2
|
|
LIBMEDIAART_CONF_OPTS = --disable-unit-tests
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBMEDIAART_BACKEND_GDK_PIXBUF),y)
|
|
LIBMEDIAART_DEPENDENCIES += gdk-pixbuf
|
|
LIBMEDIAART_CONF_OPTS += \
|
|
--enable-gdkpixbuf \
|
|
--disable-qt
|
|
else ifeq ($(BR2_PACKAGE_LIBMEDIAART_BACKEND_QT),y)
|
|
# qt5 needs c++11 (since qt-5.7)
|
|
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
|
LIBMEDIAART_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
|
|
endif
|
|
LIBMEDIAART_DEPENDENCIES += \
|
|
$(if $(BR2_PACKAGE_QT),qt) \
|
|
$(if $(BR2_PACKAGE_QT5),qt5base)
|
|
LIBMEDIAART_CONF_OPTS += \
|
|
--disable-gdkpixbuf \
|
|
--enable-qt
|
|
else ifeq ($(BR2_PACKAGE_LIBMEDIAART_BACKEND_NONE),y)
|
|
LIBMEDIAART_CONF_OPTS += \
|
|
--disable-gdkpixbuf \
|
|
--disable-qt
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|