Lines 13-19
COMMENT= Portable framework for OpenGL development
Link Here
|
13 |
LICENSE= ZLIB |
13 |
LICENSE= ZLIB |
14 |
|
14 |
|
15 |
USES= cmake localbase zip |
15 |
USES= cmake localbase zip |
16 |
USE_XORG= x11 xcursor xinerama xrandr xxf86vm |
|
|
17 |
USE_GL= glu |
16 |
USE_GL= glu |
18 |
USE_LDCONFIG= yes |
17 |
USE_LDCONFIG= yes |
19 |
CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON |
18 |
CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON |
Lines 42-48
EXAMPLES_FILES2= clipboard cursor empty events gamma glfwinfo iconify \
Link Here
|
42 |
joysticks monitors msaa reopen sharing tearing threads \ |
41 |
joysticks monitors msaa reopen sharing tearing threads \ |
43 |
title windows |
42 |
title windows |
44 |
|
43 |
|
45 |
OPTIONS_DEFINE= DOCS EXAMPLES |
44 |
OPTIONS_DEFINE= DOCS EXAMPLES WAYLAND |
|
|
45 |
|
46 |
WAYLAND_DESC= Use Wayland backend instead of X11 |
47 |
|
48 |
WAYLAND_CMAKE_BOOL= GLFW_USE_WAYLAND |
49 |
WAYLAND_LIB_DEPENDS+= libwayland-client.so:graphics/wayland \ |
50 |
libwayland-cursor.so:graphics/wayland \ |
51 |
libwayland-egl.so:graphics/mesa-libs \ |
52 |
libxkbcommon.so:x11/libxkbcommon |
53 |
WAYLAND_USE_OFF= xorg=x11,xcursor,xinerama,xrandr,xxf86vm |
46 |
|
54 |
|
47 |
post-patch: |
55 |
post-patch: |
48 |
@${REINPLACE_CMD} -e 's|lib$${LIB_SUFFIX}/pkgconfig|libdata/pkgconfig|' \ |
56 |
@${REINPLACE_CMD} -e 's|lib$${LIB_SUFFIX}/pkgconfig|libdata/pkgconfig|' \ |