blob: 6029c0a9dfa2b92ca37e54f20eb812368f215cc3 [file] [log] [blame]
config BR2_PACKAGE_MIDORI_ARCH_SUPPORTS
bool
default y
depends on BR2_USE_MMU
depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # gcr -> libgcrypt -> libgpg-error
depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
depends on !BR2_BINFMT_FLAT # webkitgtk -> icu
comment "midori needs a glibc toolchain w/ C++, wchar, threads, dynamic library, gcc >= 7, host gcc >= 8"
depends on BR2_PACKAGE_MIDORI_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
!BR2_HOST_GCC_AT_LEAST_8 || \
!BR2_TOOLCHAIN_USES_GLIBC || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_STATIC_LIBS || !BR2_USE_WCHAR
comment "midori needs libgtk3 w/ X11 or wayland backend"
depends on BR2_PACKAGE_MIDORI_ARCH_SUPPORTS
depends on !BR2_PACKAGE_LIBGTK3_X11 && \
!BR2_PACKAGE_LIBGTK3_WAYLAND
config BR2_PACKAGE_MIDORI
bool "midori"
depends on BR2_PACKAGE_MIDORI_ARCH_SUPPORTS
depends on !BR2_STATIC_LIBS # webkitgtk
depends on BR2_INSTALL_LIBSTDCPP # webkitgtk
depends on BR2_HOST_GCC_AT_LEAST_8 # gobject-introspection
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # webkitgtk
depends on BR2_TOOLCHAIN_USES_GLIBC # webkitgtk
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk3
depends on BR2_USE_WCHAR # granite, gcr, libsoup, libpeas, gobject-introspection
depends on BR2_PACKAGE_LIBGTK3
depends on BR2_PACKAGE_LIBGTK3_X11 || BR2_PACKAGE_LIBGTK3_WAYLAND
select BR2_PACKAGE_GCR
select BR2_PACKAGE_GRANITE
select BR2_PACKAGE_JSON_GLIB
select BR2_PACKAGE_LIBARCHIVE
select BR2_PACKAGE_LIBPEAS
select BR2_PACKAGE_LIBPEAS_WIDGETS
select BR2_PACKAGE_LIBSOUP
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_PYTHON3 # gobject-introspection
select BR2_PACKAGE_SQLITE
select BR2_PACKAGE_WEBKITGTK
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
Midori is a lightweight web browser based on WebKit
https://github.com/midori-browser/core