[Buildroot] [PATCH v5 6/8] libglu: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Apr 17 20:39:56 UTC 2014


Dear Bernd Kuhls,

On Fri,  4 Apr 2014 07:18:12 +0200, Bernd Kuhls wrote:

> diff --git a/package/libglu/libglu.mk b/package/libglu/libglu.mk
> new file mode 100644
> index 0000000..9a4ebc1
> --- /dev/null
> +++ b/package/libglu/libglu.mk
> @@ -0,0 +1,18 @@
> +################################################################################
> +#
> +# libglu
> +#
> +################################################################################
> +
> +LIBGLU_VERSION = 9.0.0
> +LIBGLU_SITE = http://cgit.freedesktop.org/mesa/glu/snapshot
> +LIBGLU_SOURCE = glu-$(LIBGLU_VERSION).tar.gz
> +LIBGLU_LICENSE = SGI-B-2.0
> +LIBGLU_LICENSE_FILES = include/GL/glu.h
> +LIBGLU_INSTALL_STAGING = YES
> +LIBGLU_AUTORECONF = YES
> +LIBGLU_DEPENDENCIES = mesa3d
> +
> +LIBGLU_CONF_OPT = --disable-osmesa

Since you're passing --disable-osmesa, libGLU is using libGL. So what
makes it depend on mesa3d specifically, and not any other OpenGL
compatible implementation? Maybe it needs to use
BR2_PACKAGE_HAS_OPENGL instead?

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list