Ravenports generated: 25 Nov 2019 17:36
[ravenports.git] / bucket_A0 / libepoxy
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               libepoxy
4 VERSION=                1.5.3
5 KEYWORDS=               graphics
6 VARIANTS=               standard
7 SDESC[standard]=        OpenGL function pointer management library
8 HOMEPAGE=               https://github.com/anholt/libepoxy
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://github.com/anholt/libepoxy/releases/download/1.5.3/
13 DISTFILE[1]=            libepoxy-1.5.3.tar.xz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 B_DEPS[sunos]=          libbsd4sol:single:standard
21
22 USES=                   mesa meson pkgconfig
23 XORG_COMPONENTS=        x11
24
25 LICENSE=                MIT:single
26 LICENSE_FILE=           MIT:{{WRKSRC}}/COPYING
27 LICENSE_SCHEME=         solo
28
29 FPC_EQUIVALENT=         graphics/libepoxy
30 MESON_ARGS=             -Denable-egl=yes
31
32 INVALID_RPATH=          yes
33
34 VAR_OPSYS[sunos]=       CFLAGS=-I{{LOCALBASE}}/include/bsd
35                         LDFLAGS=-lbsd
36
37 [FILE:333:descriptions/desc.single]
38 Epoxy is a library for handling OpenGL function pointer management.
39
40 It hides the complexity of dlopen(), dlsym(), glXGetProcAddress(),
41 eglGetProcAddress(), etc. from the app developer, with very little
42 knowledge needed on their part. They get to read GL specs and write code
43 using undecorated function names like glCompileShader().
44
45
46 [FILE:100:distinfo]
47 002958c5528321edd53440235d3c44e71b5b1e09b9177e8daf677450b6c4433d       220540 libepoxy-1.5.3.tar.xz
48
49
50 [FILE:170:manifests/plist.single]
51 include/epoxy/
52  common.h
53  egl.h
54  egl_generated.h
55  gl.h
56  gl_generated.h
57  glx.h
58  glx_generated.h
59 lib/
60  libepoxy.so
61  libepoxy.so.0
62  libepoxy.so.0.0.0
63 lib/pkgconfig/epoxy.pc
64
65
66 [FILE:714:patches/patch-test_dlwrap.c]
67 --- test/dlwrap.c.orig  2018-10-04 23:40:48 UTC
68 +++ test/dlwrap.c
69 @@ -34,6 +34,8 @@
70  
71  /* dladdr is a glibc extension */
72  #define _GNU_SOURCE
73 +/* FreeBSD needs this to make asprintf() and dlvsym() visible */
74 +#define __BSD_VISIBLE 1
75  #include <dlfcn.h>
76  
77  #include <stdbool.h>
78 @@ -213,6 +215,10 @@ dlsym(void *handle, const char *name)
79  void *
80  dlwrap_real_dlsym(void *handle, const char *name)
81  {
82 +#ifdef __sun__
83 +    fprintf(stderr, "dlwrap_real_dlsym unsupported on SunOS (missing dlvsym)");
84 +    exit(1);
85 +#else
86      static fips_dlsym_t real_dlsym = NULL;
87  
88      if (!real_dlsym) {
89 @@ -275,6 +281,7 @@ dlwrap_real_dlsym(void *handle, const ch
90      }
91  
92      return real_dlsym(handle, name);
93 +#endif
94  }
95  
96  void *
97
98
99 [FILE:286:sunos/patch-test_meson.build]
100 --- test/meson.build.orig       2018-05-08 15:28:22 UTC
101 +++ test/meson.build
102 @@ -8,8 +8,7 @@ build_x11_tests = enable_x11 and x11_dep
103  test_cflags = common_cflags
104  if not has_dlvsym
105  test_cflags += [
106 -  '-D_XOPEN_SOURCE',
107 -  '-D_POSIX_C_SOURCE=200809L',
108 +  '-D_XOPEN_SOURCE=600',
109  ]
110  endif
111  
112