diff options
| author | Michael Forney <mforney@mforney.org> | 2016-07-03 14:15:28 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-07-03 14:15:28 -0700 |
| commit | 6c51ac8a28916fea0c5e93e20c612ac4b003ecf2 (patch) | |
| tree | 91a3f6b920a7128524430b9a428d35aab94dd7c9 | |
| parent | ef2acfbaa57b2acf7b86a72c39ab30566db7c864 (diff) | |
mpv: Add lua support
| -rw-r--r-- | media/mpv/config.h | 2 | ||||
| -rw-r--r-- | media/mpv/gen.rc | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/media/mpv/config.h b/media/mpv/config.h index 35a3b6e6..509562ca 100644 --- a/media/mpv/config.h +++ b/media/mpv/config.h @@ -55,7 +55,7 @@ #define HAVE_BSD_FSTATFS 0 #define HAVE_LINUX_FSTATFS 1 #define HAVE_LIBSMBCLIENT 0 -#define HAVE_LUA 0 +#define HAVE_LUA 1 #define HAVE_LIBASS 0 #define HAVE_LIBASS_OSD 0 #define HAVE_DUMMY_OSD 1 diff --git a/media/mpv/gen.rc b/media/mpv/gen.rc index f0ad5733..93ad3ec6 100644 --- a/media/mpv/gen.rc +++ b/media/mpv/gen.rc @@ -58,6 +58,10 @@ if(grep -qF 'HAVE_ALSA 1' config.h) { libs=($libs media/alsa-lib/libasound.a) deps=($deps phony/media/alsa-lib/headers) } +if(grep -qF 'HAVE_LUA 1' config.h) { + cflags=($cflags -isystem devel/lua/src/src) + libs=($libs devel/lua/liblua.a) +} cflags $cflags |
