616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa###############################################################################
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa#
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa# libepoxy - library for handling OpenGL function pointers
297de63a6fa495c316164e8e37892bfc5e96e2c6Eugen Kuksa#
b1ecbf5c75ae7e6f12e199064ef3c592518abd9bEugen Kuksa# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa#
1787db8f3dfd503a72b55d41b2021a140cc39f26Eugen Kuksa# Permission is hereby granted, free of charge, to any person obtaining a
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa# copy of this software and associated documentation files (the "Software"),
297de63a6fa495c316164e8e37892bfc5e96e2c6Eugen Kuksa# to deal in the Software without restriction, including without limitation
297de63a6fa495c316164e8e37892bfc5e96e2c6Eugen Kuksa# the rights to use, copy, modify, merge, publish, distribute, sublicense,
297de63a6fa495c316164e8e37892bfc5e96e2c6Eugen Kuksa# and/or sell copies of the Software, and to permit persons to whom the
297de63a6fa495c316164e8e37892bfc5e96e2c6Eugen Kuksa# Software is furnished to do so, subject to the following conditions:
297de63a6fa495c316164e8e37892bfc5e96e2c6Eugen Kuksa#
297de63a6fa495c316164e8e37892bfc5e96e2c6Eugen Kuksa# The above copyright notice and this permission notice (including the next
297de63a6fa495c316164e8e37892bfc5e96e2c6Eugen Kuksa# paragraph) shall be included in all copies or substantial portions of the
297de63a6fa495c316164e8e37892bfc5e96e2c6Eugen Kuksa# Software.
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa#
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa# DEALINGS IN THE SOFTWARE.
1787db8f3dfd503a72b55d41b2021a140cc39f26Eugen Kuksa#
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa#
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa# Package name used in tarballs
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen KuksaMODULE_NAME=libepoxy
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa# Version number (used in path names)
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen KuksaMODULE_VERSION=1.2
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa
616a7e9bb1595c04a881bb4c49aa520a066fd7b3Eugen Kuksa# Checksums for upstream tarball
TARBALL_MD5 = 12d6b7621f086c0c928887c27d90bc30
TARBALL_SHA1 = e700520711b9e4fa07c286aa36e431d8ad4133f5
TARBALL_SHA256= 42c328440f60a5795835c5ec4bdfc1329e75bba16b6e22b3a87ed17e9679e8f6
# ARC cases that covered this module
# PSARC/2015/382 libepoxy 1.2
MODULE_ARC_CASES = PSARC/2015/382
# Package metadata
MODULE_DESC = library for handling OpenGL function pointers
UPSTREAM = libepoxy
UPSTREAM_URL = https://github.com/anholt/libepoxy/
UPSTREAM_SET = yes
ORACLE_TPNO = 23546
ORACLE_TPNO_SET = yes
# Download site for source
SOURCE_URL = https://github.com/anholt/$(MODULE_NAME)/archive/v$(MODULE_VERSION).tar.gz
SOURCE_URL_SET = yes
# Source tarball
SOURCE_TARBALL_NAME = $(MODULE_NAME)-$(MODULE_VERSION).tar.gz
SOURCE_TARBALL_NAME_SET=yes
# Patches to apply to source after unpacking, in order
SOURCE_PATCHES = disable-egl.patch
# Need to build with gcc
MODULE_COMPILER=gcc
MODULE_COMPILER_SET=yes
# Cos of 23185711 - disable parfait temporarily
USE_PARFAIT=no
# regenerate configure
AUTORECONF = yes
# libtool interferes with libepoxy
DELIBTOOLIZE = no
# Library name
LIBNAME=epoxy
# Man pages to apply Sun footer to & attributes to list
SUNTOUCHED_MANPAGES=
MODULE_STABILITY=Pass-through Volatile
# pkg-config files that need to have -R added
FIX_PC_FILES=epoxy.pc.in
include ../Makefile.inc