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