• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/mesa3d-demos/mesa3d-demos.mk
Bernd KuhlsBernd Kuhls committed 956823ded7d20 Nov 2014
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
################################################################################
2
#
3
# mesa3d-demos
4
#
5
################################################################################
6
​
7
MESA3D_DEMOS_VERSION = 8.2.0
8
MESA3D_DEMOS_SOURCE = mesa-demos-$(MESA3D_DEMOS_VERSION).tar.bz2
9
MESA3D_DEMOS_SITE = ftp://ftp.freedesktop.org/pub/mesa/demos/$(MESA3D_DEMOS_VERSION)
10
MESA3D_DEMOS_AUTORECONF = YES
11
MESA3D_DEMOS_DEPENDENCIES = host-pkgconf
12
MESA3D_DEMOS_LICENSE = MIT
13
​
14
ifeq ($(BR2_PACKAGE_XORG7)$(BR2_PACKAGE_HAS_LIBGL),yy)
15
MESA3D_DEMOS_DEPENDENCIES += libgl libglew libglu xlib_libX11 xlib_libXext
16
MESA3D_DEMOS_CONF_OPTS += --enable-gl --enable-x11
17
else
18
MESA3D_DEMOS_CONF_OPTS += --disable-gl --disable-x11
19
endif
20
​
21
ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y)
22
MESA3D_DEMOS_DEPENDENCIES += libegl
23
MESA3D_DEMOS_CONF_OPTS += --enable-egl
24
else
25
MESA3D_DEMOS_CONF_OPTS += --disable-egl
26
endif
27
​
28
ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
29
MESA3D_DEMOS_DEPENDENCIES += libgles
30
MESA3D_DEMOS_CONF_OPTS += --enable-gles1 --enable-gles2
31
else
32
MESA3D_DEMOS_CONF_OPTS += --disable-gles1 --disable-gles2
33
endif
34
​
35
ifeq ($(BR2_PACKAGE_HAS_LIBOPENVG),y)
36
MESA3D_DEMOS_DEPENDENCIES += libopenvg
37
MESA3D_DEMOS_CONF_OPTS += --enable-vg
38
else
39
MESA3D_DEMOS_CONF_OPTS += --disable-vg
40
endif
41
​
42
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
43
MESA3D_DEMOS_DEPENDENCIES += mesa3d
44
MESA3D_DEMOS_CONF_OPTS += --enable-gbm
45
else
46
MESA3D_DEMOS_CONF_OPTS += --disable-gbm
47
endif
48
​
49
ifeq ($(BR2_PACKAGE_FREETYPE),y)
50
MESA3D_DEMOS_DEPENDENCIES += freetype
51
MESA3D_DEMOS_CONF_OPTS += --enable-freetype2
52
else
53
MESA3D_DEMOS_CONF_OPTS += --disable-freetype2
54
endif
55
​
56
ifeq ($(BR2_PACKAGE_WAYLAND),y)
57
MESA3D_DEMOS_DEPENDENCIES += wayland
58
MESA3D_DEMOS_CONF_OPTS += --enable-wayland
59
else
60
MESA3D_DEMOS_CONF_OPTS += --disable-wayland
61
endif
62
​
63
$(eval $(autotools-package))
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.