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