1
0
mirror of https://github.com/jojo61/vdr-plugin-softhdcuvid.git synced 2023-10-10 13:37:41 +02:00

enable DPMS

This commit is contained in:
jojo61 2018-10-05 09:54:04 +02:00
parent 35af60f504
commit c1e5659d35

View File

@ -18,6 +18,9 @@ OSS ?= 1
# support OPENGLOSD
OPENGLOSD=1
# use DPMS
SCREENSAVER=1
OPENGL=1
# use ffmpeg libswresample
#SWRESAMPLE ?= $(shell pkg-config --exists libswresample && echo 1)
@ -160,11 +163,11 @@ _CFLAGS += $(shell pkg-config --cflags libavcodec)
LIBS += $(shell pkg-config --libs libavcodec)
#ifeq ($(SCREENSAVER),1)
#CONFIG += -DUSE_SCREENSAVER
#_CFLAGS += $(shell pkg-config --cflags xcb-screensaver xcb-dpms)
#LIBS += $(shell pkg-config --libs xcb-screensaver xcb-dpms)
#endif
ifeq ($(SCREENSAVER),1)
CONFIG += -DUSE_SCREENSAVER
_CFLAGS += $(shell pkg-config --cflags xcb-screensaver xcb-dpms)
LIBS += $(shell pkg-config --libs xcb-screensaver xcb-dpms)
endif
ifeq ($(SWRESAMPLE),1)
CONFIG += -DUSE_SWRESAMPLE
_CFLAGS += $(shell pkg-config --cflags libswresample)