Add building via meson, remove outdated options

Co-authored-by: Thulinma <jaron@vietors.com>
Change-Id: I2a620c8d98aca7203f6742c66c3f82afe91b5c3c
This commit is contained in:
Gijs Peskens 2022-09-20 15:40:08 +02:00 committed by Thulinma
parent ca9724f1f8
commit 529adbfaf6
23 changed files with 855 additions and 82 deletions

View file

@ -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();

View 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' : []
}