[Buildroot] [RFC PATCH/next 1/2] package/wlroots: new package
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri May 17 07:48:23 UTC 2019
Hello,
On Fri, 17 May 2019 01:08:35 +0300
Adrian Perez de Castro <aperez at igalia.com> wrote:
> diff --git a/package/wlroots/Config.in b/package/wlroots/Config.in
> new file mode 100644
> index 0000000000..45db63f62c
> --- /dev/null
> +++ b/package/wlroots/Config.in
> @@ -0,0 +1,65 @@
> +config BR2_PACKAGE_WLROOTS
> + bool "wlroots"
> + depends on !BR2_STATIC_LIBS # mesa3d, wayland
You're not selecting "mesa3d", so this "mesa3d" comment doesn't make
sense.
> + depends on BR2_INSTALL_LIBSTDCPP # freedrp, mesa3d
You're not selecting freerdp nor mesa3d, so the comment doesn't make
sense either. This dependency doesn't seem to be needed at all.
> + depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm, wayland
> + depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d
This dependency doesn't seem to be needed, at least you don't use
mesa3d, and none of the packages you select has a "depends on
BR2_TOOLCHAIN_HAS_SYNC".
> + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mesa3d
Same.
> +if BR2_PACKAGE_WLROOTS
> +
> +config BR2_PACKAGE_WLROOTS_RDP
> + bool "RDP backend support"
> + depends on BR2_PACKAGE_FREERDP
If you "depends on" something...
> + depends on BR2_USE_WCHAR # freerdp
> + depends on BR2_USE_MMU # libglib2
> + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # freerdp
... there's no point in replicating its dependencies.
> +WLROOTS_VERSION = 0.6.0
> +WLROOTS_SITE = https://github.com/swaywm/wlroots/archive
> +WLROOTS_SOURCE = $(WLROOTS_VERSION).tar.gz
> +WLROOTS_LICENSE = MIT
> +WLROOTS_INSTALL_STAGING = YES
> +
> +WLROOTS_DEPENDENCIES = host-pkgconf host-wayland libegl libinput \
> + libxkbcommon mesa3d pixman udev \
Ah, so you have mesa3d in your dependencies, but you don't select it ?
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list