author | Niveditha Rau <Niveditha.Rau@Oracle.COM> |
Tue, 25 Apr 2017 14:08:12 -0700 | |
changeset 1708 | e360d1d26b1d |
parent 1630 | fedd05237f45 |
permissions | -rw-r--r-- |
1570
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
1 |
############################################################################### |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
2 |
# |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
3 |
# libepoxy - library for handling OpenGL function pointers |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
4 |
# |
1708
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1630
diff
changeset
|
5 |
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
1570
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
6 |
# |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
7 |
# Permission is hereby granted, free of charge, to any person obtaining a |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
8 |
# copy of this software and associated documentation files (the "Software"), |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
9 |
# to deal in the Software without restriction, including without limitation |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
10 |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
11 |
# and/or sell copies of the Software, and to permit persons to whom the |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
12 |
# Software is furnished to do so, subject to the following conditions: |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
13 |
# |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
14 |
# The above copyright notice and this permission notice (including the next |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
15 |
# paragraph) shall be included in all copies or substantial portions of the |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
16 |
# Software. |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
17 |
# |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
18 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
19 |
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
20 |
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
21 |
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
22 |
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
23 |
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
24 |
# DEALINGS IN THE SOFTWARE. |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
25 |
# |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
26 |
# |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
27 |
|
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
28 |
# Package name used in tarballs |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
29 |
MODULE_NAME=libepoxy |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
30 |
|
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
31 |
# Version number (used in path names) |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
32 |
MODULE_VERSION=1.2 |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
33 |
|
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
34 |
# Checksums for upstream tarball |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
35 |
TARBALL_MD5 = 12d6b7621f086c0c928887c27d90bc30 |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
36 |
TARBALL_SHA1 = e700520711b9e4fa07c286aa36e431d8ad4133f5 |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
37 |
TARBALL_SHA256= 42c328440f60a5795835c5ec4bdfc1329e75bba16b6e22b3a87ed17e9679e8f6 |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
38 |
|
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
39 |
# ARC cases that covered this module |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
40 |
# PSARC/2015/382 libepoxy 1.2 |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
41 |
MODULE_ARC_CASES = PSARC/2015/382 |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
42 |
|
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
43 |
# Package metadata |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
44 |
MODULE_DESC = library for handling OpenGL function pointers |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
45 |
UPSTREAM = libepoxy |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
46 |
UPSTREAM_URL = https://github.com/anholt/libepoxy/ |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
47 |
UPSTREAM_SET = yes |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
48 |
ORACLE_TPNO = 23546 |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
49 |
ORACLE_TPNO_SET = yes |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
50 |
|
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
51 |
# Download site for source |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
52 |
SOURCE_URL = https://github.com/anholt/$(MODULE_NAME)/archive/v$(MODULE_VERSION).tar.gz |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
53 |
SOURCE_URL_SET = yes |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
54 |
|
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
55 |
# Source tarball |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
56 |
SOURCE_TARBALL_NAME = $(MODULE_NAME)-$(MODULE_VERSION).tar.gz |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
57 |
SOURCE_TARBALL_NAME_SET=yes |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
58 |
|
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
59 |
# Patches to apply to source after unpacking, in order |
1708
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1630
diff
changeset
|
60 |
SOURCE_PATCHES = |
1570
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
61 |
|
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
62 |
# Need to build with gcc |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
63 |
MODULE_COMPILER=gcc |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
64 |
MODULE_COMPILER_SET=yes |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
65 |
|
1630
fedd05237f45
22728538 X consolidation should move to gcc 5.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1570
diff
changeset
|
66 |
# Cos of 23185711 - disable parfait temporarily |
fedd05237f45
22728538 X consolidation should move to gcc 5.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1570
diff
changeset
|
67 |
USE_PARFAIT=no |
fedd05237f45
22728538 X consolidation should move to gcc 5.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1570
diff
changeset
|
68 |
|
1570
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
69 |
# regenerate configure |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
70 |
AUTORECONF = yes |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
71 |
|
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
72 |
# libtool interferes with libepoxy |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
73 |
DELIBTOOLIZE = no |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
74 |
|
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
75 |
# Library name |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
76 |
LIBNAME=epoxy |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
77 |
|
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
78 |
# Man pages to apply Sun footer to & attributes to list |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
79 |
SUNTOUCHED_MANPAGES= |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
80 |
MODULE_STABILITY=Pass-through Volatile |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
81 |
|
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
82 |
# pkg-config files that need to have -R added |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
83 |
FIX_PC_FILES=epoxy.pc.in |
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
84 |
|
d9a614e006e9
21395353 Ship libepoxy in Solaris
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
85 |
include ../Makefile.inc |