Add HAVE_SSA switch to qb

This commit is contained in:
twinaphex 2016-03-03 18:17:48 +01:00
parent e663a69c0b
commit d15eb9a570
4 changed files with 13 additions and 0 deletions

View File

@ -231,6 +231,10 @@ OBJ += ui/drivers/ui_qt.o
LIBS += -lQt5Quick -lQt5Widgets -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -lglu32 -lopengl32 -L./ui/drivers/qt/wrapper/build/release -lwrapper
endif
ifeq ($(HAVE_SSA),1)
LIBS += -lass
endif
# LibretroDB
ifeq ($(HAVE_LIBRETRODB), 1)

View File

@ -5,6 +5,10 @@
#include <assert.h>
#include <stdarg.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -105,6 +105,10 @@ if [ "$HAVE_EGL" != "no" ]; then
fi
fi
if [ "HAVE_SSA" != "no" ]; then
check_lib SSA -lass ass_library_init
fi
if [ "$HAVE_EXYNOS" != "no" ]; then
check_pkgconf EXYNOS libdrm_exynos
check_pkgconf DRM libdrm

View File

@ -18,6 +18,7 @@ HAVE_GLES_CFLAGS= # C-flags for custom GLES library
HAVE_THREADS=auto # Threading support
HAVE_FFMPEG=auto # Enable FFmpeg recording support
C89_FFMPEG=no
HAVE_SSA=auto # Enable SSA/ASS for FFmpeg subtitle support
HAVE_DYLIB=auto # Enable dynamic loading support
HAVE_NETWORKING=auto # Enable networking features (recommended)
HAVE_NETPLAY=auto # Enable netplay support (requires networking)