Version 6.4.0.3, tag libreoffice-6.4.0.3
[LibreOffice.git] / external / epoxy / UnpackedTarball_epoxy.mk
blob8dce1ba9d74532d5218ea969fae633c80937f468
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_UnpackedTarball_UnpackedTarball,epoxy))
12 $(eval $(call gb_UnpackedTarball_set_tarball,epoxy,$(EPOXY_TARBALL)))
14 $(call gb_UnpackedTarball_get_target,epoxy) :| $(call gb_ExternalExecutable_get_dependencies,python)
16 epoxy_PYTHON := $(call gb_ExternalExecutable_get_command,python)
18 # previous versions of epoxy bundled the output, but now it has to be generated
19 $(eval $(call gb_UnpackedTarball_set_pre_action,epoxy,\
20 $(epoxy_PYTHON) ./src/gen_dispatch.py --srcdir src --includedir include/epoxy registry/gl.xml && \
21 $(epoxy_PYTHON) ./src/gen_dispatch.py --srcdir src --includedir include/epoxy registry/glx.xml && \
22 $(epoxy_PYTHON) ./src/gen_dispatch.py --srcdir src --includedir include/epoxy registry/egl.xml && \
23 $(epoxy_PYTHON) ./src/gen_dispatch.py --srcdir src --includedir include/epoxy registry/wgl.xml \
26 $(eval $(call gb_UnpackedTarball_set_patchlevel,epoxy,0))
28 $(eval $(call gb_UnpackedTarball_add_patches,epoxy, \
29 external/epoxy/epoxy.visibility.patch \
30 external/epoxy/epoxy.windows.api.patch \
31 external/epoxy/epoxy.noegl.by.default.patch \
32 external/epoxy/clang-cl.patch \
35 # vim: set noet sw=4 ts=4: