enable DPMS
This commit is contained in:
parent
35af60f504
commit
c1e5659d35
13
Makefile
13
Makefile
|
@ -18,6 +18,9 @@ OSS ?= 1
|
||||||
# support OPENGLOSD
|
# support OPENGLOSD
|
||||||
OPENGLOSD=1
|
OPENGLOSD=1
|
||||||
|
|
||||||
|
# use DPMS
|
||||||
|
SCREENSAVER=1
|
||||||
|
|
||||||
OPENGL=1
|
OPENGL=1
|
||||||
# use ffmpeg libswresample
|
# use ffmpeg libswresample
|
||||||
#SWRESAMPLE ?= $(shell pkg-config --exists libswresample && echo 1)
|
#SWRESAMPLE ?= $(shell pkg-config --exists libswresample && echo 1)
|
||||||
|
@ -160,11 +163,11 @@ _CFLAGS += $(shell pkg-config --cflags libavcodec)
|
||||||
LIBS += $(shell pkg-config --libs libavcodec)
|
LIBS += $(shell pkg-config --libs libavcodec)
|
||||||
|
|
||||||
|
|
||||||
#ifeq ($(SCREENSAVER),1)
|
ifeq ($(SCREENSAVER),1)
|
||||||
#CONFIG += -DUSE_SCREENSAVER
|
CONFIG += -DUSE_SCREENSAVER
|
||||||
#_CFLAGS += $(shell pkg-config --cflags xcb-screensaver xcb-dpms)
|
_CFLAGS += $(shell pkg-config --cflags xcb-screensaver xcb-dpms)
|
||||||
#LIBS += $(shell pkg-config --libs xcb-screensaver xcb-dpms)
|
LIBS += $(shell pkg-config --libs xcb-screensaver xcb-dpms)
|
||||||
#endif
|
endif
|
||||||
ifeq ($(SWRESAMPLE),1)
|
ifeq ($(SWRESAMPLE),1)
|
||||||
CONFIG += -DUSE_SWRESAMPLE
|
CONFIG += -DUSE_SWRESAMPLE
|
||||||
_CFLAGS += $(shell pkg-config --cflags libswresample)
|
_CFLAGS += $(shell pkg-config --cflags libswresample)
|
||||||
|
|
Loading…
Reference in New Issue