Add building via meson, remove outdated options
Co-authored-by: Thulinma <jaron@vietors.com> Change-Id: I2a620c8d98aca7203f6742c66c3f82afe91b5c3c
This commit is contained in:
parent
ca9724f1f8
commit
529adbfaf6
23 changed files with 855 additions and 82 deletions
|
@ -3,14 +3,6 @@
|
|||
#include <mist/json.h>
|
||||
#include <string>
|
||||
|
||||
/*LTS-START*/
|
||||
#ifdef GEOIP
|
||||
#include <GeoIP.h>
|
||||
#define GEOIPV4 "/usr/share/GeoIP/GeoIP.dat"
|
||||
#define GEOIPV6 "/usr/share/GeoIP/GeoIPv6.dat"
|
||||
#endif
|
||||
/*LTS-END*/
|
||||
|
||||
namespace Controller{
|
||||
void checkStreamLimits(std::string streamName, long long currentKbps, long long connectedUsers);
|
||||
void checkServerLimits();
|
||||
|
|
22
src/controller/meson.build
Normal file
22
src/controller/meson.build
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
executables += {
|
||||
'name': 'MistController',
|
||||
'sources' : [
|
||||
files( 'controller.cpp',
|
||||
'controller_updater.cpp',
|
||||
'controller_streams.cpp',
|
||||
'controller_storage.cpp',
|
||||
'controller_connectors.cpp',
|
||||
'controller_statistics.cpp',
|
||||
'controller_limits.cpp',
|
||||
'controller_capabilities.cpp',
|
||||
'controller_uplink.cpp',
|
||||
'controller_api.cpp',
|
||||
'controller_push.cpp'),
|
||||
header_tgts,
|
||||
server_html],
|
||||
'link': libmist,
|
||||
'defines': [],
|
||||
'deps' : []
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue