Ravenports generated: 09 Feb 2018 22:58
[ravenports.git] / bucket_A0 / libepoxy
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               libepoxy
4 VERSION=                1.4.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.4.3/
13 DISTFILE[1]=            libepoxy-1.4.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 FPC_EQUIVALENT=         graphics/libepoxy
26 MESON_ARGS=             -Denable-egl=yes
27 MESON_INSERT_RPATH=     src/meson.build
28
29 VAR_OPSYS[sunos]=       CFLAGS=-I{{LOCALBASE}}/include/bsd
30                         LDFLAGS=-lbsd
31
32 [FILE:333:descriptions/desc.single]
33 Epoxy is a library for handling OpenGL function pointer management.
34
35 It hides the complexity of dlopen(), dlsym(), glXGetProcAddress(),
36 eglGetProcAddress(), etc. from the app developer, with very little
37 knowledge needed on their part. They get to read GL specs and write code
38 using undecorated function names like glCompileShader().
39
40
41 [FILE:100:distinfo]
42 0b808a06c9685a62fca34b680abb8bc7fb2fda074478e329b063c1f872b826f6       783624 libepoxy-1.4.3.tar.xz
43
44
45 [FILE:170:manifests/plist.single]
46 include/epoxy/
47  common.h
48  egl.h
49  egl_generated.h
50  gl.h
51  gl_generated.h
52  glx.h
53  glx_generated.h
54 lib/
55  libepoxy.so
56  libepoxy.so.0
57  libepoxy.so.0.0.0
58 lib/pkgconfig/epoxy.pc
59
60
61 [FILE:714:patches/patch-test_dlwrap.c]
62 --- test/dlwrap.c.orig  2017-06-06 09:24:13 UTC
63 +++ test/dlwrap.c
64 @@ -34,6 +34,8 @@
65  
66  /* dladdr is a glibc extension */
67  #define _GNU_SOURCE
68 +/* FreeBSD needs this to make asprintf() and dlvsym() visible */
69 +#define __BSD_VISIBLE 1
70  #include <dlfcn.h>
71  
72  #include <stdbool.h>
73 @@ -208,6 +210,10 @@ dlsym(void *handle, const char *name)
74  void *
75  dlwrap_real_dlsym(void *handle, const char *name)
76  {
77 +#ifdef __sun__
78 +    fprintf(stderr, "dlwrap_real_dlsym unsupported on SunOS (missing dlvsym)");
79 +    exit(1);
80 +#else
81      static fips_dlsym_t real_dlsym = NULL;
82  
83      if (!real_dlsym) {
84 @@ -269,6 +275,7 @@ dlwrap_real_dlsym(void *handle, const ch
85      }
86  
87      return real_dlsym(handle, name);
88 +#endif
89  }
90  
91  void *
92
93
94 [FILE:317:sunos/patch-test_meson.build]
95 --- test/meson.build.orig       2017-06-06 09:24:13 UTC
96 +++ test/meson.build
97 @@ -3,8 +3,7 @@ has_gles2 = gles2_dep.found()
98  build_x11_tests = build_glx and x11_dep.found()
99  
100  test_cflags = common_cflags + [
101 -  '-D_XOPEN_SOURCE',
102 -  '-D_POSIX_C_SOURCE=200809L',
103 +  '-D_XOPEN_SOURCE=600',
104  ]
105  
106  # Unconditionally built tests
107