Skip to content

Commit

Permalink
Build config updated for FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
zsolt-donca committed Mar 1, 2021
1 parent 711cf6b commit 54e55f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .builds/freebsd.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
image: freebsd/latest
packages:
- basu
- libepoll-shim
- meson
- pipewire
- pkgconf
Expand Down
6 changes: 6 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ pipewire = dependency('libpipewire-0.3', version: '>= 0.3.2')
wayland_client = dependency('wayland-client')
wayland_protos = dependency('wayland-protocols', version: '>=1.14')

epoll = dependency('', required: false)
if (not cc.has_function('timerfd_create', prefix: '#include <sys/timerfd.h>') or
not cc.has_function('signalfd', prefix: '#include <sys/signalfd.h>'))
epoll = dependency('epoll-shim')
endif

if get_option('sd-bus-provider') == 'auto'
assert(get_option('auto_features').auto(), 'sd-bus-provider must not be set to auto since auto_features != auto')
sdbus = dependency('libsystemd',
Expand Down

0 comments on commit 54e55f0

Please sign in to comment.