![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>
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
comment "libmediaart needs a toolchain w/ wchar, threads"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
config BR2_PACKAGE_LIBMEDIAART
|
|
bool "libmediaart"
|
|
depends on BR2_USE_MMU # glib2
|
|
depends on BR2_USE_WCHAR # glib2
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
|
select BR2_PACKAGE_LIBGLIB2
|
|
help
|
|
Library tasked with managing, extracting and handling media
|
|
art caches
|
|
|
|
https://github.com/GNOME/libmediaart
|
|
|
|
if BR2_PACKAGE_LIBMEDIAART
|
|
|
|
choice
|
|
prompt "media art backend"
|
|
default BR2_PACKAGE_LIBMEDIAART_BACKEND_NONE
|
|
|
|
config BR2_PACKAGE_LIBMEDIAART_BACKEND_NONE
|
|
bool "none"
|
|
help
|
|
With no backend, libmediaart will not be able to process MP3
|
|
album art.
|
|
|
|
config BR2_PACKAGE_LIBMEDIAART_BACKEND_GDK_PIXBUF
|
|
bool "gdk-pixbuf"
|
|
select BR2_PACKAGE_GDK_PIXBUF
|
|
|
|
config BR2_PACKAGE_LIBMEDIAART_BACKEND_QT
|
|
bool "Qt"
|
|
depends on BR2_PACKAGE_QT || BR2_PACKAGE_QT5
|
|
select BR2_PACKAGE_QT_GUI_MODULE if BR2_PACKAGE_QT
|
|
select BR2_PACKAGE_QT5BASE_GUI if BR2_PACKAGE_QT5
|
|
|
|
comment "Qt backend depends on Qt or Qt5"
|
|
depends on !BR2_PACKAGE_QT && !BR2_PACKAGE_QT5
|
|
|
|
endchoice
|
|
|
|
endif # BR2_PACKAGE_LIBMEDIAART
|