2017-03-24 21:38:50 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libmediaart
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
LIBMEDIAART_VERSION_MAJOR = 1.9
|
2017-10-30 18:02:43 +01:00
|
|
|
LIBMEDIAART_VERSION = $(LIBMEDIAART_VERSION_MAJOR).4
|
2017-03-24 21:38:50 +01:00
|
|
|
LIBMEDIAART_SOURCE = libmediaart-$(LIBMEDIAART_VERSION).tar.xz
|
|
|
|
LIBMEDIAART_SITE = \
|
|
|
|
http://ftp.gnome.org/pub/gnome/sources/libmediaart/$(LIBMEDIAART_VERSION_MAJOR)
|
2017-03-30 15:43:34 +02:00
|
|
|
LIBMEDIAART_LICENSE = LGPL-2.1+
|
2017-03-24 21:38:50 +01:00
|
|
|
LIBMEDIAART_LICENSE_FILES = COPYING.LESSER
|
|
|
|
LIBMEDIAART_INSTALL_STAGING = YES
|
|
|
|
LIBMEDIAART_DEPENDENCIES = libglib2
|
|
|
|
LIBMEDIAART_CONF_OPTS = --disable-unit-tests
|
|
|
|
|
2018-05-13 21:07:36 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBMEDIAART_BACKEND_GDK_PIXBUF),y)
|
2017-03-24 21:38:50 +01:00
|
|
|
LIBMEDIAART_DEPENDENCIES += gdk-pixbuf
|
|
|
|
LIBMEDIAART_CONF_OPTS += \
|
|
|
|
--enable-gdkpixbuf \
|
|
|
|
--disable-qt
|
2018-05-13 21:07:36 +02:00
|
|
|
else ifeq ($(BR2_PACKAGE_LIBMEDIAART_BACKEND_QT),y)
|
2017-03-24 21:38:50 +01:00
|
|
|
# qt5 needs c++11 (since qt-5.7)
|
|
|
|
LIBMEDIAART_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
|
2019-02-06 15:10:53 +01:00
|
|
|
LIBMEDIAART_DEPENDENCIES += qt5base
|
2017-03-24 21:38:50 +01:00
|
|
|
LIBMEDIAART_CONF_OPTS += \
|
|
|
|
--disable-gdkpixbuf \
|
|
|
|
--enable-qt
|
2018-05-13 21:07:36 +02:00
|
|
|
else ifeq ($(BR2_PACKAGE_LIBMEDIAART_BACKEND_NONE),y)
|
2017-03-24 21:38:50 +01:00
|
|
|
LIBMEDIAART_CONF_OPTS += \
|
|
|
|
--disable-gdkpixbuf \
|
|
|
|
--disable-qt
|
|
|
|
endif
|
|
|
|
|
2020-04-01 02:21:32 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
|
|
|
LIBMEDIAART_CONF_OPTS += --enable-introspection
|
|
|
|
LIBMEDIAART_DEPENDENCIES += gobject-introspection
|
|
|
|
else
|
|
|
|
LIBMEDIAART_CONF_OPTS += --disable-introspection
|
|
|
|
endif
|
|
|
|
|
2017-03-24 21:38:50 +01:00
|
|
|
$(eval $(autotools-package))
|