mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-31 17:30:58 +02:00
Add a framebuffer implementation based on clutter instead of "raw"
OpenGL. The performance is slightly worse, but it might bring some
platform abstraction and other benefits for the future.
Origin commit data
------------------
Branch: master
Commit: dd6921140d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-10-30 (Sun, 30 Oct 2016)
------------------
This commit was generated by Migit
61 lines
1.0 KiB
Makefile
61 lines
1.0 KiB
Makefile
noinst_LTLIBRARIES = libgeneric.la
|
|
|
|
AM_CPPFLAGS = -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS
|
|
AM_CPPFLAGS += -Wfatal-errors
|
|
AM_CPPFLAGS += \
|
|
-I$(top_srcdir)/common \
|
|
-I$(top_srcdir)/include \
|
|
@AVUTIL_CFLAGS@ \
|
|
@CLUTTER_CFLAGS@
|
|
|
|
AM_CXXFLAGS = -fno-rtti -fno-exceptions -fno-strict-aliasing
|
|
|
|
AM_LDFLAGS = \
|
|
-lao \
|
|
-lOpenThreads \
|
|
@AVFORMAT_LIBS@ \
|
|
@AVUTIL_LIBS@ \
|
|
@AVCODEC_LIBS@ \
|
|
@SWRESAMPLE_LIBS@ \
|
|
@SWSCALE_LIBS@ \
|
|
@CLUTTER_LIBS@
|
|
|
|
if USE_OPENGL
|
|
AM_LDFLAGS += -lglut -lGL -lGLU -lGLEW -lao
|
|
endif
|
|
|
|
libgeneric_la_SOURCES = \
|
|
hardware_caps.c \
|
|
dmx.cpp \
|
|
video.cpp \
|
|
audio.cpp \
|
|
init.cpp \
|
|
record.cpp
|
|
|
|
if USE_CLUTTER
|
|
libgeneric_la_SOURCES += clutterfb.cpp
|
|
endif
|
|
if USE_OPENGL
|
|
libgeneric_la_SOURCES += glfb.cpp
|
|
endif
|
|
|
|
if ENABLE_GSTREAMER_01
|
|
libgeneric_la_SOURCES += \
|
|
playback_gst_01.cpp
|
|
AM_LDFLAGS += \
|
|
-lgstreamer-0.10 \
|
|
-lgstinterfaces-0.10
|
|
else
|
|
if ENABLE_GSTREAMER_10
|
|
libgeneric_la_SOURCES += \
|
|
playback_gst_10.cpp
|
|
AM_LDFLAGS += \
|
|
-lgstreamer-1.0 \
|
|
-lgsttag-1.0 \
|
|
-lgstmpegts-1.0
|
|
else
|
|
libgeneric_la_SOURCES += \
|
|
playback.cpp
|
|
endif
|
|
endif
|