view src/mesa-proto.mk @ 4946:a99cf8dbe52d

mesa: Update to v18.2.8 * src/mesa.mk: Update version and checksum. Also install headers in KHR. * src/mesa-1-fixes.patch: Remove logic because we build g++ with pthreads. * src/mesa-proto.mk: Also install headers in KHR.
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 21 Jan 2019 19:35:27 +0100
parents e575e2afdae4
children
line wrap: on
line source

# This file is part of MXE Octave.
# See index.html for further information.

PKG             := mesa-proto
$(PKG)_VERSION  = $(mesa_VERSION)
$(PKG)_CHECKSUM = $(mesa_CHECKSUM)
$(PKG)_SUBDIR   = $(mesa_SUBDIR)
$(PKG)_FILE     = $(mesa_FILE)
$(PKG)_URL      = $(mesa_URL)
$(PKG)_DEPS     := 

define $(PKG)_UPDATE
    echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
    echo $($(PKG)_VERSION)
endef

ifeq ($(USE_SYSTEM_OPENGL),no)
  define $(PKG)_BUILD
    $(INSTALL) -d '$(3)$(HOST_INCDIR)/GL';
    for f in '$(1)/include/GL/*.h' ; do \
      $(INSTALL) -m 644 $$f '$(3)$(HOST_INCDIR)/GL'; \
    done
    $(INSTALL) -d '$(3)$(HOST_INCDIR)/KHR';
    for f in '$(1)/include/KHR/*.h' ; do \
      $(INSTALL) -m 644 $$f '$(3)$(HOST_INCDIR)/KHR'; \
    done
  endef
else
  define $(PKG)_BUILD
  endef
endif