mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
Merge branch 'master' of https://github.com/neutrino-mp/neutrino-mp into ni/mp/tuxbox
Conflicts:
configure.ac
src/driver/framebuffer_ng.cpp
src/neutrino.cpp
Origin commit data
------------------
Branch: ni/coolstream
Commit: dd0237039d
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-02 (Thu, 02 Feb 2017)
------------------
This commit was generated by Migit
This commit is contained in:
28
configure.ac
28
configure.ac
@@ -1,4 +1,4 @@
|
||||
AC_INIT(NI-Neutrino,3.30.0)
|
||||
AC_INIT(NI-Neutrino-MP,3.30.0)
|
||||
AM_INIT_AUTOMAKE([1.0.1 nostdinc])
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
|
||||
|
||||
@@ -98,19 +98,7 @@ AM_CONDITIONAL(USE_TREMOR, test "$TREMOR" = "yes")
|
||||
|
||||
# TUXBOX_APPS_LIB_PKGCONFIG(OPENSSL,openssl)
|
||||
TUXBOX_APPS_LIB_PKGCONFIG(CURL,libcurl)
|
||||
TUXBOX_APPS_LIB_PKGCONFIG(FREETYPE,freetype2)
|
||||
CPPFLAGS+=" $(freetype-config --cflags)"
|
||||
AC_MSG_CHECKING([whether FreeType version is 2.5.0 or higher])
|
||||
AC_TRY_CPP([
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#if FREETYPE_MAJOR < 2 || (FREETYPE_MAJOR == 2 && FREETYPE_MINOR < 5)
|
||||
#error Freetype version too low.
|
||||
#endif
|
||||
],
|
||||
[AC_MSG_RESULT(yes)],
|
||||
[AC_MSG_ERROR([Need FreeType library version 2.5.0 or higher])
|
||||
])
|
||||
PKG_CHECK_MODULES([FREETYPE], [freetype2 >= 2.5.0], echo "freetype2 >= 2.5.0 found")
|
||||
|
||||
# fallback to curl-config (which is ugly for cross-compilation)
|
||||
if test -z "$CURL_LIBS" -a -z "$CURL_CFLAGS"; then
|
||||
@@ -119,6 +107,18 @@ fi
|
||||
# fallback to freetype-config (which is ugly for cross-compilation)
|
||||
if test -z "$FREETYPE_LIBS" -a -z "$FREETYPE_CFLAGS"; then
|
||||
TUXBOX_APPS_LIB_CONFIG(FREETYPE,freetype-config)
|
||||
CPPFLAGS+="$FREETYPE_CFLAGS"
|
||||
AC_MSG_CHECKING([whether FreeType version is 2.5.0 or higher])
|
||||
AC_TRY_CPP([
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
#if FREETYPE_MAJOR < 2 || (FREETYPE_MAJOR == 2 && FREETYPE_MINOR < 5)
|
||||
#error Freetype version too low.
|
||||
#endif
|
||||
],
|
||||
[AC_MSG_RESULT(yes)],
|
||||
[AC_MSG_ERROR([Need FreeType library version 2.5.0 or higher])
|
||||
])
|
||||
fi
|
||||
|
||||
TUXBOX_APPS_LIB_PKGCONFIG(PNG,libpng)
|
||||
|
Reference in New Issue
Block a user