mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 14:45:58 +01:00
commit
affc83ff82
3 changed files with 10 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
#define _POSIX_C_SOURCE 199309L
|
#define _POSIX_C_SOURCE 200112L
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <drm_mode.h>
|
#include <drm_mode.h>
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#define _POSIX_C_SOURCE 199309L
|
#define _POSIX_C_SOURCE 200112L
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -6,6 +6,13 @@ libavutil = dependency('libavutil', version: '>=56.14.100', required: false)
|
||||||
libavcodec = dependency('libavcodec', version: '>=58.18.100', required: false)
|
libavcodec = dependency('libavcodec', version: '>=58.18.100', required: false)
|
||||||
libavformat = dependency('libavformat', version: '>=58.12.100', required: false)
|
libavformat = dependency('libavformat', version: '>=58.12.100', required: false)
|
||||||
|
|
||||||
|
# epoll is a separate library in FreeBSD
|
||||||
|
if host_machine.system() == 'freebsd'
|
||||||
|
libepoll = [dependency('epoll-shim')]
|
||||||
|
else
|
||||||
|
libepoll = []
|
||||||
|
endif
|
||||||
|
|
||||||
# Small hack until https://github.com/mesonbuild/meson/pull/3386/ is merged
|
# Small hack until https://github.com/mesonbuild/meson/pull/3386/ is merged
|
||||||
foreach dep : ['libpng', 'libavutil', 'libavcodec', 'libavformat']
|
foreach dep : ['libpng', 'libavutil', 'libavcodec', 'libavformat']
|
||||||
if not get_variable(dep).found()
|
if not get_variable(dep).found()
|
||||||
|
@ -97,7 +104,7 @@ examples = {
|
||||||
},
|
},
|
||||||
'input-method': {
|
'input-method': {
|
||||||
'src': 'input-method.c',
|
'src': 'input-method.c',
|
||||||
'dep': [wayland_client, wlr_protos, wlroots],
|
'dep': [wayland_client, wlr_protos, wlroots] + libepoll,
|
||||||
},
|
},
|
||||||
'text-input': {
|
'text-input': {
|
||||||
'src': 'text-input.c',
|
'src': 'text-input.c',
|
||||||
|
|
Loading…
Reference in a new issue