mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
* remove ilclient * use a decoder implementation similar to pidvbip instead, see https://github.com/linuxstb/pidvbip * video is decoded in hardware (videocore) * audio is decoded by libavcodec * add a AVDec wrapper class for both audio and video decoders * very raw, needs more polishing. But decodes audio and video :-) * only tested with h264
53 lines
1.2 KiB
Plaintext
53 lines
1.2 KiB
Plaintext
AC_INIT([libstb-hal], [0.1.1])
|
|
AM_INIT_AUTOMAKE
|
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
AC_GNU_SOURCE
|
|
LT_INIT
|
|
|
|
## ugly, disables shared library build (not wanted yet)
|
|
enable_shared=no
|
|
|
|
TUXBOX_APPS
|
|
TUXBOX_APPS_DIRECTORY
|
|
TUXBOX_APPS_PKGCONFIG
|
|
TUXBOX_BOXTYPE
|
|
|
|
AC_PROG_CC
|
|
AC_PROG_CXX
|
|
AC_DISABLE_STATIC
|
|
AC_SYS_LARGEFILE
|
|
AM_PROG_LIBTOOL
|
|
|
|
if test x"$BOXTYPE" = x"tripledragon"; then
|
|
TUXBOX_APPS_LIB_PKGCONFIG(DIRECTFB, directfb)
|
|
fi
|
|
|
|
if test x$BOXTYPE = xgeneric; then
|
|
if test x$BOXMODEL != xraspi; then
|
|
PKG_CHECK_MODULES([AVFORMAT], [libavformat >= 53.21.1])
|
|
PKG_CHECK_MODULES([AVCODEC], [libavcodec >= 54.28.0])
|
|
# don't know which version is exactly needed here...
|
|
PKG_CHECK_MODULES([SWSCALE], [libswscale])
|
|
PKG_CHECK_MODULES([SWRESAMPLE], [libswresample])
|
|
else
|
|
# raspbian has no current versions and only libav instead of ffmpeg... :-(
|
|
PKG_CHECK_MODULES([AVFORMAT], [libavformat])
|
|
PKG_CHECK_MODULES([AVCODEC], [libavcodec])
|
|
fi
|
|
# don't know which version is exactly needed here...
|
|
PKG_CHECK_MODULES([AVUTIL], [libavutil])
|
|
fi
|
|
AC_OUTPUT([
|
|
Makefile
|
|
common/Makefile
|
|
libeplayer3/Makefile
|
|
azbox/Makefile
|
|
generic-pc/Makefile
|
|
libtriple/Makefile
|
|
libspark/Makefile
|
|
raspi/Makefile
|
|
tools/Makefile
|
|
])
|
|
|