diff options
author | Maniac <na@na.na> | 2015-07-06 14:33:31 +0200 |
---|---|---|
committer | Maniac <na@na.na> | 2015-07-06 14:33:31 +0200 |
commit | fee68b156a44418d8378e38cef40c747c320d7f6 (patch) | |
tree | 2999b2b156993e8890834ac58caa7c1c6d82f8f6 /Makefile | |
parent | 88ad1ac672818a3a984ce3c89b278873212ef47c (diff) | |
download | vdr-plugin-mpv-fee68b156a44418d8378e38cef40c747c320d7f6.tar.gz vdr-plugin-mpv-fee68b156a44418d8378e38cef40c747c320d7f6.tar.bz2 |
optical discs are now started using key red
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -15,11 +15,21 @@ PLUGIN = mpv # support refresh rate switching XRANDR ?= $(shell pkg-config --exists xrandr && echo 1) LIBMPV ?= $(shell pkg-config --exists mpv && echo 1) +LIBCDIO ?= $(shell pkg-config --exists libcdio && echo 1) +LIBMOUNT ?= $(shell pkg-config --exists mount && echo 1) ifneq ($(LIBMPV),1) $(error libmpv missing) endif +ifeq ($(LIBCDIO),1) +ifeq ($(LIBMOUNT),1) +CONFIG += -DUSE_DISC +LIBS += $(shell pkg-config --libs libcdio) +LIBS += $(shell pkg-config --libs mount) +endif +endif + ifeq ($(XRANDR),1) CONFIG += -DUSE_XRANDR LIBS += $(shell pkg-config --libs xrandr) @@ -74,7 +84,7 @@ DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -D_GNU_SOURCE $(CONFIG) \ ### The object files (add further files here): -OBJS = $(PLUGIN).o config.o control.o filebrowser.o menu_options.o osd.o player.o playmenu.o setup.o status.o +OBJS = $(PLUGIN).o config.o control.o filebrowser.o menu_options.o osd.o player.o setup.o status.o ### The main target: |