enabled libplacebo

This commit is contained in:
jojo61
2018-11-05 10:38:27 +01:00
parent 8a6ef8113d
commit 14b17bbdee
4 changed files with 72 additions and 37 deletions

View File

@@ -18,7 +18,10 @@ OSS ?= 1
# support OPENGLOSD
OPENGLOSD=1
# use DPMS
# use Libplacebo
LIBPLACEBO=0
# use DMPS
SCREENSAVER=1
OPENGL=1
@@ -68,7 +71,6 @@ TMPDIR ?= /tmp
export CFLAGS = $(call PKGCFG,cflags)
export CXXFLAGS = $(call PKGCFG,cxxflags)
ifeq ($(CFLAGS),)
$(warning CFLAGS not set)
endif
@@ -119,6 +121,9 @@ LIBS += $(shell pkg-config --libs glew)
_CFLAGS += $(shell pkg-config --cflags freetype2)
LIBS += $(shell pkg-config --libs freetype2)
endif
ifeq ($(LIBPLACEBO),1)
CONFIG += -DPLACEBO
endif
#
# Test that libswresample is available
@@ -190,6 +195,10 @@ _CFLAGS += -I./opengl -I./
LIBS += -L/usr/lib64/opengl/nvidia/lib
LIBS += -L/usr/local/cuda/lib64
ifeq ($(LIBPLACEBO),1)
LIBS += -lplacebo
endif
LIBS += -lGLEW -lGLX -ldl -lcuda -L/usr/local/cuda/targets/x86_64-linux/lib -lcudart -lnvcuvid
### Includes and Defines (add further entries here):